退料申请表数据问题修改

This commit is contained in:
liang.chao 2024-03-13 18:20:45 +08:00
parent de31f4e4f7
commit 9b5df3009b
1 changed files with 2 additions and 2 deletions

View File

@ -291,7 +291,7 @@
WHERE WHERE
bai.id = #{id} bai.id = #{id}
</update> </update>
<update id="examineListByUser"> <select id="examineListByUser">
SELECT SELECT
bai.id, bai.id,
bai.status, bai.status,
@ -321,7 +321,7 @@
bad.type_id is not null and tt.create_by = #{createBy} bad.type_id is not null and tt.create_by = #{createBy}
GROUP BY bai.id, us.user_name, bai.phone, bpl.lot_name, bui.unit_name, bagi.plan_start_time GROUP BY bai.id, us.user_name, bai.phone, bpl.lot_name, bui.unit_name, bagi.plan_start_time
ORDER BY bai.create_time desc ORDER BY bai.create_time desc
</update> </select>
<update id="updateBackApply"> <update id="updateBackApply">
UPDATE tm_task tt UPDATE tm_task tt
LEFT JOIN back_apply_info bai ON bai.task_id = tt.task_id LEFT JOIN back_apply_info bai ON bai.task_id = tt.task_id