丽知:成套件插件优化
This commit is contained in:
parent
90b6ec01ba
commit
2b7d33441c
|
@ -255,16 +255,17 @@ public class KitPluginInitializer extends PluginBaseEntity {
|
||||||
String response="";
|
String response="";
|
||||||
String format=ofsKit.getHeader().getLastUpdated();
|
String format=ofsKit.getHeader().getLastUpdated();
|
||||||
|
|
||||||
//套件编码
|
|
||||||
String setKkuCode = ofsKit.getHeader().getSkuCode();
|
|
||||||
//套件 存货基本档案
|
|
||||||
BdInvbasdocEntity bdInvbasdocSet = queryU8CEntityUtil.queryBdInvbasdocByCode(setKkuCode);
|
|
||||||
if (bdInvbasdocSet == null) {
|
|
||||||
Assert.state(false,"套件编码:{},没有查询到U8C存货基本档案,请维护。",setKkuCode);
|
|
||||||
}
|
|
||||||
|
|
||||||
List<SetpartVO> setpartVOS=new ArrayList<>();
|
List<SetpartVO> setpartVOS=new ArrayList<>();
|
||||||
try {
|
try {
|
||||||
|
|
||||||
|
//套件编码
|
||||||
|
String setKkuCode = ofsKit.getHeader().getSkuCode();
|
||||||
|
//套件 存货基本档案
|
||||||
|
BdInvbasdocEntity bdInvbasdocSet = queryU8CEntityUtil.queryBdInvbasdocByCode(setKkuCode);
|
||||||
|
if (bdInvbasdocSet == null) {
|
||||||
|
Assert.state(false,"套件编码:{},没有查询到U8C存货基本档案,请维护。",setKkuCode);
|
||||||
|
}
|
||||||
|
|
||||||
//ofsKit表体
|
//ofsKit表体
|
||||||
for (OfsKitOrderSearchResponse.OfsKit.KitDetail detail : ofsKit.getDetails()) {
|
for (OfsKitOrderSearchResponse.OfsKit.KitDetail detail : ofsKit.getDetails()) {
|
||||||
//配件
|
//配件
|
||||||
|
|
Loading…
Reference in New Issue