Commit 2ecb096f authored by litengwei's avatar litengwei

机场巡检记录改造

parent 03061535
......@@ -1131,8 +1131,6 @@ public class PointServiceImpl implements IPointService {
if (departmentBos != null && departmentBos.size() > 0) {
for (int i = 0; i < departmentBos.size(); i++) {
point.put("departmentName", departmentBos.get(i).get("departmentName"));
}
}
......
......@@ -321,29 +321,32 @@
limit #{offset},#{pageSize};
</select>
<select id="getPointById" resultType="Map">
<select id="getPointById" resultType="Map">
SELECT
p.id,
p.route_name routeName,
p.point_no pointNo,
p.NAME pointName,
(CASE p.is_fixed
WHEN 1 THEN
'固定点'
ELSE
'移动点'
END) fixed,
p.charge_person_name userName,
p.charge_dept_id depid,
IFNULL(p.risk_source_id, '') as buildingId,
p.remark,
p.offline
p.id,
p.route_name routeName,
p.point_no pointNo,
p.name pointName,
p.address,
p.level,
p.status,
(CASE p.is_fixed
WHEN 1 THEN
'固定点'
ELSE
'移动点'
END) fixed,
p.charge_person_name userName,
p.charge_dept_id depid,
IFNULL(p.risk_source_id, '') as buildingId,
p.remark,
p.offline
FROM
p_point p
p_point p
<!-- LEFT JOIN s_user u ON u.id = p.charge_person_id
LEFT JOIN s_department d on u.department_id = d.id -->
where p.id = #{pointId}
</select>
where p.id = #{pointId}
</select>
<select id="getPointInputItem" resultType="Map">
SELECT
......
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