丽知:SKU主档同步:分类,没有存货分类的时候,默认“YD001”,可能是虚拟组套
This commit is contained in:
parent
4b0a11ae18
commit
6bd57fb3fc
|
@ -306,8 +306,12 @@ public class SKUPluginInitializer extends PluginBaseEntity {
|
||||||
parentvo.setInvname(sku.getName());
|
parentvo.setInvname(sku.getName());
|
||||||
//invshortname 存货简称
|
//invshortname 存货简称
|
||||||
parentvo.setInvshortname(sku.getName());
|
parentvo.setInvshortname(sku.getName());
|
||||||
//pk_invcl 分类
|
//pk_invcl 分类,没有存货分类的时候,默认“YD001”,可能是虚拟组套
|
||||||
parentvo.setPk_invcl(sku.getCInvCCode());
|
if(null==sku.getCInvCCode()||"".equals(sku.getCInvCCode())){
|
||||||
|
parentvo.setPk_invcl("YD001");
|
||||||
|
}else {
|
||||||
|
parentvo.setPk_invcl(sku.getCInvCCode());
|
||||||
|
}
|
||||||
|
|
||||||
//def1 ofs品牌
|
//def1 ofs品牌
|
||||||
parentvo.setDef1(sku.getBrandCode());
|
parentvo.setDef1(sku.getBrandCode());
|
||||||
|
|
Loading…
Reference in New Issue