Commit b8818df8 authored by suhuiguang's avatar suhuiguang

1.修改测试发现的bug关联bug

parent 5eb2bdad
...@@ -215,17 +215,18 @@ ...@@ -215,17 +215,18 @@
<select id="getJobDetailInfoByObjectId" resultType="java.util.Map"> <select id="getJobDetailInfoByObjectId" resultType="java.util.Map">
SELECT SELECT
IFNULL(`JOB_DESCRIPTION`, '') as `name`, IFNULL(a.`JOB_DESCRIPTION`, '') as `name`,
case case
when QRCODE_COLOR = 'red' then '重大' when a.QRCODE_COLOR = 'red' then '重大'
when QRCODE_COLOR = 'yellow' then '超时' when a.QRCODE_COLOR = 'yellow' then '超时'
else '正常' end as `status`, else '正常' end as `status`,
IFNULL(QRCODE_COLOR, 'green') as qrCodeColor, IFNULL(a.QRCODE_COLOR, 'green') as qrCodeColor,
IFNULL(ZFZR, '') as person, b.REAL_NAME as person,
'' as phone, b.MOBILE as phone,
IFNULL(CREATE_TIME, '') as `recDate` IFNULL(a.CREATE_TIME, '') as `recDate`
FROM FROM
fdgl_job_main fdgl_job_main a
where DBID = #{objectId} left join privilege_agency_user b on a.ZFZR = b.SEQUENCE_NBR
where a.DBID = #{objectId}
</select> </select>
</mapper> </mapper>
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