Commit 33922893 authored by litengwei's avatar litengwei

机场巡检记录改造

parent 2ecb096f
...@@ -1126,15 +1126,15 @@ public class PointServiceImpl implements IPointService { ...@@ -1126,15 +1126,15 @@ public class PointServiceImpl implements IPointService {
Map<String, Object> resp = new HashMap<String, Object>(); Map<String, Object> resp = new HashMap<String, Object>();
Map<String, Object> point = pointMapper.getPointById(id); Map<String, Object> point = pointMapper.getPointById(id);
if (StringUtil.isNotEmpty(point.get("depid"))) { // if (StringUtil.isNotEmpty(point.get("depid"))) {
List<LinkedHashMap> departmentBos = remoteSecurityService.listDepartmentByDeptIds(toke, product, appKey, point.get("depid") + ""); // List<LinkedHashMap> departmentBos = remoteSecurityService.listDepartmentByDeptIds(toke, product, appKey, point.get("depid") + "");
if (departmentBos != null && departmentBos.size() > 0) { // if (departmentBos != null && departmentBos.size() > 0) {
for (int i = 0; i < departmentBos.size(); i++) { // for (int i = 0; i < departmentBos.size(); i++) {
point.put("departmentName", departmentBos.get(i).get("departmentName")); // point.put("departmentName", departmentBos.get(i).get("departmentName"));
} // }
} // }
//
} // }
// deptName = checkPointBo.getExecuteDeptId(); // deptName = checkPointBo.getExecuteDeptId();
if (StringUtil.isNotEmpty(point.get("userName"))) { if (StringUtil.isNotEmpty(point.get("userName"))) {
......
...@@ -338,6 +338,7 @@ ...@@ -338,6 +338,7 @@
END) fixed, END) fixed,
p.charge_person_name userName, p.charge_person_name userName,
p.charge_dept_id depid, p.charge_dept_id depid,
p.biz_org_name departmentName,
IFNULL(p.risk_source_id, '') as buildingId, IFNULL(p.risk_source_id, '') as buildingId,
p.remark, p.remark,
p.offline p.offline
......
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