功能修改

master
zpl 3 years ago
parent 16a67a8850
commit fe3fa5eb49

@ -660,6 +660,7 @@
WHERE
(ZG.USER_GROUP_BO IS NULL OR (ZG.USER_GROUP_BO IS NOT NULL AND UGM.USER_OR_GROUP_GBO = #{currentUser}))
AND RIK.SITE = #{site}
AND TASK_CREATE_DATE <= (SELECT TO_DATE(TO_CHAR(SYSDATE+1,'yyyy-mm-dd') || ' 00:00:00','yyyy-MM-dd hh24:mi-ss') -8/24 FROM DUAL)
<if test="taskNo != null and taskNo != ''">
AND RIK.TASK_NO = #{taskNo}
</if>
@ -687,7 +688,7 @@
<if test="workCenter != null and workCenter != ''">
AND WCM.WORK_CENTER_BO = #{workCenter}
</if>
ORDER BY RIK.TASK_NO ASC
ORDER BY RIK.TASK_CREATE_DATE DESC
</select>
<!--自定义sql条件查询根据检验计划handle及设备handle获取最新的创建任务时间-->

Loading…
Cancel
Save