修改流程转外部用户户的联系人姓名和外部客户姓名的 bug
parent
be19f870dc
commit
14dbce6c82
|
@ -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.configResult.put("CRM_CustomerInfo",this.getCRM_CustomerInfoSqlMapList(configList,configMap));
|
||||||
|
this.writeErrorLog("configList: "+this.configResult.toString());
|
||||||
// 判断是否需要创建外部用户
|
// 判断是否需要创建外部用户
|
||||||
if (this.mainResult.getIsOutUser() == 0) {
|
if (this.mainResult.getIsOutUser() == 0) {
|
||||||
// 需要创建外部用户,获取外部用户字段映射信息
|
// 需要创建外部用户,获取外部用户字段映射信息
|
||||||
|
this.configResult.put("CRM_CustomerContacter",this.getCRM_CustomerContacterSqlMapList(configList,configMap));
|
||||||
this.configResult.put("hrmResource",this.getHrmResourceSqlMapList(configList,configMap));
|
this.configResult.put("hrmResource",this.getHrmResourceSqlMapList(configList,configMap));
|
||||||
}else if(this.mainResult.getIsOutUser() == 1){
|
}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){
|
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){
|
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 + "]");
|
this.writeErrorLog("table mapping error,error args is configList = [" + configList + "] and set = [" + set + "]");
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue