Commit 191549f6 authored by wdy's avatar wdy

场景变更任务待办已办

parent 9e5a517b
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<select id="findPendingListByUserId" resultType="com.ruoyi.web.response.ReviewSceneChangeTaskResponse"> <select id="findPendingListByUserId" resultType="com.ruoyi.web.response.ReviewSceneChangeTaskResponse">
SELECT sct.*, sctu.decision FROM t_review_scene_change_task sct SELECT sct.*, sctu.decision FROM t_review_scene_change_task sct
LEFT JOIN t_review_scene_change_task_user_relation sctu ON sct.id = sctu.task_id LEFT JOIN t_review_scene_change_task_user_relation sctu ON sct.id = sctu.task_id
WHERE sctu.user_id = #{userId} and sctu.decision IS NULL WHERE sctu.user_id = #{userId} and sctu.decision IS NULL and sctu.role_id = 103
and sct.innovation_base_result = 'PASS' and sct.innovation_base_result = 'PASS'
<if test="request.operationSort != null and request.operationSort != ''"> <if test="request.operationSort != null and request.operationSort != ''">
and sct.operation_sort = #{request.operationSort} and sct.operation_sort = #{request.operationSort}
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
<select id="findFinishListByUserId" resultType="com.ruoyi.web.response.ReviewSceneChangeTaskResponse"> <select id="findFinishListByUserId" resultType="com.ruoyi.web.response.ReviewSceneChangeTaskResponse">
SELECT sct.*, sctu.decision FROM t_review_scene_change_task sct SELECT sct.*, sctu.decision FROM t_review_scene_change_task sct
LEFT JOIN t_review_scene_change_task_user_relation sctu ON sct.id = sctu.task_id LEFT JOIN t_review_scene_change_task_user_relation sctu ON sct.id = sctu.task_id
WHERE sctu.user_id = #{userId} and sctu.decision IS NOT NULL WHERE sctu.user_id = #{userId} and sctu.decision IS NOT NULL and sctu.role_id = 103
and sct.innovation_base_result = 'PASS' and sct.innovation_base_result = 'PASS'
<if test="request.operationSort != null and request.operationSort != ''"> <if test="request.operationSort != null and request.operationSort != ''">
and sct.operation_sort = #{request.operationSort} and sct.operation_sort = #{request.operationSort}
......
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