Commit ac08b9f3 by 邓实川

优化

parent 7feb4fe7
...@@ -1026,11 +1026,11 @@ public class CrmController { ...@@ -1026,11 +1026,11 @@ public class CrmController {
.ge(StringUtils.isNotBlank(startCreateTime), CrmClientData::getCreateTime, startCreateTime) .ge(StringUtils.isNotBlank(startCreateTime), CrmClientData::getCreateTime, startCreateTime)
.le(StringUtils.isNotBlank(endCreateTime), CrmClientData::getCreateTime, endCreateTime)); .le(StringUtils.isNotBlank(endCreateTime), CrmClientData::getCreateTime, endCreateTime));
String name = "未知"; String name = "未知";
if (belonger == 0) { if (belonger == 0)
name = "公海客户"; name = "公海客户";
} else { else if (belonger > 0)
name = getEmpName(orgCode, belonger); name = getEmpName(orgCode, belonger);
}
map.put("name", name); map.put("name", name);
map.put("num", num); map.put("num", num);
return map; return map;
...@@ -1057,7 +1057,7 @@ public class CrmController { ...@@ -1057,7 +1057,7 @@ public class CrmController {
} }
} }
Map<String, Object> map = selectMap(orgCode, 0, status, startCreateTime, endCreateTime); Map<String, Object> map = selectMap(orgCode, 0, status, startCreateTime, endCreateTime);
if ((Integer) map.get("num") > 0) if ((Integer) map.get("num") > 0)
list.add(map); list.add(map);
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment