修改流程转外部用户户的联系人姓名和外部客户姓名的 bug

dev
IT-xiaoXiong 2021-11-18 18:12:43 +08:00
parent be19f870dc
commit 14dbce6c82
1 changed files with 6 additions and 1 deletions

View File

@ -179,12 +179,15 @@ public class CRM_Config extends ToolUtil {
}
}
this.writeErrorLog("configList "+configList.toString());
this.writeErrorLog("configList "+configMap.toString());
// 获取客户基本信息
this.configResult.put("CRM_CustomerInfo",this.getCRM_CustomerInfoSqlMapList(configList,configMap));
this.writeErrorLog("configList "+this.configResult.toString());
// 判断是否需要创建外部用户
if (this.mainResult.getIsOutUser() == 0) {
// 需要创建外部用户,获取外部用户字段映射信息
this.configResult.put("CRM_CustomerContacter",this.getCRM_CustomerContacterSqlMapList(configList,configMap));
this.configResult.put("hrmResource",this.getHrmResourceSqlMapList(configList,configMap));
}else if(this.mainResult.getIsOutUser() == 1){
// 不需要创建外部用户,但是需要创建联系人,获取联系人字段映射信息
@ -247,6 +250,8 @@ public class CRM_Config extends ToolUtil {
}
public List<Map<String,Object>> getSqlMapList(List<TableFieldRelation> configList, Set<String> set){
this.writeErrorLog("getSqlMapList: configList " + configList.toString());
this.writeErrorLog("getSqlMapList: set " + set.toString());
if(Objects.isNull(configList) || configList.size() == 0 || Objects.isNull(set) || set.size() == 0){
this.writeErrorLog("table mapping error,error args is configList = [" + configList + "] and set = [" + set + "]");
return null;