Commit 7683d3e5 authored by chenzhao's avatar chenzhao

修改任务一览右下角bug及人员赋码更新时间问题

parent 0d71826d
...@@ -290,7 +290,8 @@ ...@@ -290,7 +290,8 @@
IFNULL(b.project_name, '') as stationName, IFNULL(b.project_name, '') as stationName,
'' as unitName, '' as unitName,
IFNULL(a.qrcode_color, 'green') as qrCodeColor, IFNULL(a.qrcode_color, 'green') as qrCodeColor,
IFNULL(a.rec_date, a.qrcode_date) AS recDate, IFNULL(a.rec_date, '') AS recDate,
IFNULL(a.qrcode_date, '') AS qrcodeDate,
IFNULL(head_photo, '') AS headPhoto IFNULL(head_photo, '') AS headPhoto
FROM FROM
person_basic a person_basic a
......
...@@ -212,6 +212,7 @@ ...@@ -212,6 +212,7 @@
) warnNum LEFT join amos_mcb.mcb_warning_question_info question on question.NUM = warnNum.QUESTION_NUM ) warnNum LEFT join amos_mcb.mcb_warning_question_info question on question.NUM = warnNum.QUESTION_NUM
LEFT JOIN amos_mcb.mcb_warning_base_source_attribution source ON source.CODE = question.SOURCE_ATTRIBUTION LEFT JOIN amos_mcb.mcb_warning_base_source_attribution source ON source.CODE = question.SOURCE_ATTRIBUTION
<where> <where>
question.COMPLETION_STATUS != 1
<if test="projectOrgCodes != null and projectOrgCodes.size() > 0"> <if test="projectOrgCodes != null and projectOrgCodes.size() > 0">
AND question.SOURCE_ATTRIBUTION IN AND question.SOURCE_ATTRIBUTION IN
<foreach collection="projectOrgCodes" item="item" open="(" separator="," close=")"> <foreach collection="projectOrgCodes" item="item" open="(" separator="," close=")">
......
...@@ -329,6 +329,10 @@ public class PersonQrCodeController extends BaseController { ...@@ -329,6 +329,10 @@ public class PersonQrCodeController extends BaseController {
Map<String, Object> resultMap = new HashMap<>(); Map<String, Object> resultMap = new HashMap<>();
if ("V1".equals(column)) { if ("V1".equals(column)) {
resultMap = personBasicServiceImpl.getPersonDetailInfoByObjectId(objectId); resultMap = personBasicServiceImpl.getPersonDetailInfoByObjectId(objectId);
if (resultMap.get("recDate").equals("")){
resultMap.put("recDate",resultMap.get("qrcodeDate"));
}
} else if ("S1".equals(column)) { } else if ("S1".equals(column)) {
resultMap = sjglZsjZsbtzMapper.getEquipDetailInfoByObjectId(objectId); resultMap = sjglZsjZsbtzMapper.getEquipDetailInfoByObjectId(objectId);
} else if ("P1".equals(column)) { } else if ("P1".equals(column)) {
......
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