Commit d736948b authored by 麻笑宇's avatar 麻笑宇

Merge remote-tracking branch 'origin/develop_tzs_bugfix' into develop_tzs_bugfix

parents 3cfd068f 6aa7da3c
...@@ -109,8 +109,8 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN ...@@ -109,8 +109,8 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
private static final String PROCESS_INSTALL_NOTICE_KEY = "installNotice"; private static final String PROCESS_INSTALL_NOTICE_KEY = "installNotice";
private static final String TABLE_PAGE_ID = "1734141426742095873"; private static final String TABLE_PAGE_ID = "1734141426742095873";
private static final String CONSTRUCTION_TYPE = "SGLX"; public static final String CONSTRUCTION_TYPE = "SGLX";
private static final String CONSTRUCTION_TYPE_NAME = "安装"; public static final String CONSTRUCTION_TYPE_NAME = "安装";
@Autowired @Autowired
JgInstallationNoticeEqMapper jgInstallationNoticeEqMapper; JgInstallationNoticeEqMapper jgInstallationNoticeEqMapper;
......
...@@ -25,11 +25,12 @@ ...@@ -25,11 +25,12 @@
when 0 THEN '尚未巡检' when 0 THEN '尚未巡检'
when 1 THEN '按时完成' when 1 THEN '按时完成'
else '超时漏检' END) as statusName, else '超时漏检' END) as statusName,
pc.is_ok isOk, b.status isOk,
(case pc.is_ok (case b.status
when 0 THEN '未开始'
when 1 THEN '合格' when 1 THEN '合格'
when 2 THEN '不合格' when 2 THEN '不合格'
else '漏检' END) as isOkName when 3 THEN '漏检' END) as isOkName
FROM p_plan_task_detail b FROM p_plan_task_detail b
LEFT JOIN p_check pc ON pc.plan_task_detail_id = b.id LEFT JOIN p_check pc ON pc.plan_task_detail_id = b.id
LEFT JOIN p_plan_task a ON a.id = b.task_no LEFT JOIN p_plan_task a ON a.id = b.task_no
......
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