|
@@ -255,12 +255,12 @@
|
|
|
</select>
|
|
|
|
|
|
<update id="updateByTaskBatchNo">
|
|
|
- update imcs_p_plan set draft_flag = '0',plan_status = '3',scheduling_status='3',produce_status='1'
|
|
|
+ update imcs_p_plan set draft_flag = '0',plan_status = '3',scheduling_status='1',produce_status='1'
|
|
|
where id in (select plan_id from imcs_t_task where task_batch_no = #{taskBatchNo})
|
|
|
</update>
|
|
|
|
|
|
<update id="updateByPlanIds">
|
|
|
- update imcs_p_plan set draft_flag = '0',plan_status = '3',scheduling_status='3',produce_status='1'
|
|
|
+ update imcs_p_plan set draft_flag = '0',plan_status = '3',scheduling_status='1',produce_status='1'
|
|
|
where id in (${planIds})
|
|
|
</update>
|
|
|
|