排产修改-sjx

liweidong
liuqingkun 3 weeks ago
parent 9d09c561f8
commit 8eb1c2c635
  1. 2
      blade-service/blade-scheduling/src/main/java/org/springblade/scheduling/scheduling/mapper/WorkOrderMapper.xml

@ -119,7 +119,7 @@
LEFT JOIN MES_YIELD_ORDER g on g.id = a.yo_id
<where>
a.is_deleted = 0 and b.is_deleted = 0 and a.status in (1,2,3,5)
and b.plan_start_time is not null and b.plan_end_time is not null and g.work_center_id = 81
and b.plan_start_time is not null and b.plan_end_time is not null and g.work_center_id in (81,122,162)
<if test="startTime !=null and startTime != ''">
and to_char(b.plan_start_time,'YYYY-MM-DD') <![CDATA[ >= ]]> #{startTime}
</if>

Loading…
Cancel
Save