丽知:1、调拨出库单推送报错新增公司信息
This commit is contained in:
parent
6452cba461
commit
3fc7aca98e
|
@ -264,6 +264,11 @@ public class SKUPluginInitializer extends PluginBaseEntity {
|
|||
}
|
||||
return filterSkus;
|
||||
}
|
||||
// public static void main(String[] args) {
|
||||
// String brandCode="I'M MEME".replace("'", "\\'");
|
||||
// System.out.println(brandCode);
|
||||
//
|
||||
// }
|
||||
|
||||
/**
|
||||
* 推送
|
||||
|
@ -303,9 +308,9 @@ public class SKUPluginInitializer extends PluginBaseEntity {
|
|||
//invmnecode 助记码
|
||||
parentvo.setInvmnecode(sku.getCode().trim());
|
||||
//invname 存货名称
|
||||
parentvo.setInvname(sku.getName().replace("'", "\'"));
|
||||
parentvo.setInvname(sku.getName().replace("'", "\'\'"));
|
||||
//invshortname 存货简称
|
||||
parentvo.setInvshortname(sku.getName().replace("'", "\'"));
|
||||
parentvo.setInvshortname(sku.getName().replace("'", "\'\'"));
|
||||
//pk_invcl 分类,没有存货分类的时候,默认“YD001”,可能是虚拟组套
|
||||
if(null==sku.getCInvCCode()||"".equals(sku.getCInvCCode())){
|
||||
parentvo.setPk_invcl("YD001");
|
||||
|
@ -314,7 +319,7 @@ public class SKUPluginInitializer extends PluginBaseEntity {
|
|||
}
|
||||
|
||||
//def1 ofs品牌
|
||||
String brandCode = sku.getBrandCode().replace("'", "\'");//会有 I'M MEME
|
||||
String brandCode = sku.getBrandCode().replace("'", "\'\'");//会有 I'M MEME
|
||||
parentvo.setDef1(brandCode);
|
||||
|
||||
//pk_measdoc 主计量单位,ofs没有单位,默认个,20240830万万同意
|
||||
|
|
Loading…
Reference in New Issue