丽知:ofs供应商同步修改

This commit is contained in:
zhengyf 2024-11-13 11:08:17 +08:00
parent b2a4188c1b
commit 324077a941
1 changed files with 13 additions and 9 deletions

View File

@ -299,6 +299,9 @@ public class SupplierPluginInitializer extends PluginBaseEntity {
def1 = String.join(",", def1_new);
}else {
String def1_old = bdCubasdocEntity.getDef1();
if(def1_old==null){
def1 = String.join(",", def1_new);
}else {
String[] def1_split_old = def1_old.split(",");
// 将数组转换为列表
List<String> def1_all = new ArrayList<>();
@ -311,6 +314,7 @@ public class SupplierPluginInitializer extends PluginBaseEntity {
}
def1 = String.join(",", def1_all);
}
}
CustdocEntityDto parentvo = new CustdocEntityDto();