Commit b8818df8 authored by suhuiguang's avatar suhuiguang

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

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