U8C 制单人 admin

This commit is contained in:
476474485@qq.com 2025-03-19 15:40:37 +08:00
parent 154949a1ec
commit 6617e503c2
1 changed files with 33 additions and 2 deletions

View File

@ -337,9 +337,9 @@ public class WsCustomerSynchronizationEventServiceImpl extends BaseService<WsCus
bank.put("pk_currtype",pk_currtype);
banks.add(bank);
JSONObject parentvo = new JSONObject();
//创建人 TODO 修改为取编码
//创建人 U8C 制单人 admin
// parentvo.put("creator",formBean.getString("field0019"));
parentvo.put("creator","20200124");
parentvo.put("creator","admin");
//客商名称
parentvo.put("custname",formBean.getString("field0006"));
@ -383,6 +383,37 @@ public class WsCustomerSynchronizationEventServiceImpl extends BaseService<WsCus
//销售方式
parentvo.put("def1",def1);
// 运输 自定义项8 001 002
String def8 = formBean.getString("field0048");
switch (def8){
case "-8661769604040273924":
def8 = "001";
break;
case "-5350125814390239390":
def8 = "002";
break;
default:
def8 = null;
break;
}
parentvo.put("def8",def8);
//货代 自定义项7 001 002
String def7 = formBean.getString("field0050");
switch (def7){
case "-8661769604040273924":
def7 = "001";
break;
case "-5350125814390239390":
def7 = "002";
break;
default:
def7 = null;
break;
}
parentvo.put("def7",def7);
//邮箱
parentvo.put("email",formBean.getString("field0052"));
//联系人1