Commit 9dcdcc77 by 邓实川 Committed by chenzg

优化

parent f2824e9b
......@@ -1026,11 +1026,11 @@ public class CrmController {
.ge(StringUtils.isNotBlank(startCreateTime), CrmClientData::getCreateTime, startCreateTime)
.le(StringUtils.isNotBlank(endCreateTime), CrmClientData::getCreateTime, endCreateTime));
String name = "未知";
if (belonger == 0) {
if (belonger == 0)
name = "公海客户";
} else {
else if (belonger > 0)
name = getEmpName(orgCode, belonger);
}
map.put("name", name);
map.put("num", num);
return map;
......@@ -1057,7 +1057,7 @@ public class CrmController {
}
}
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);
} 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