生产管理修改

liweidong
李涛 3 weeks ago
parent ced314dd8a
commit 2eed44b27f
  1. 6
      blade-service/blade-desk/src/main/java/org/springblade/desk/produce/mapper/PlateAroundMapper.xml

@ -122,15 +122,15 @@
<where>
pa.PA_TYPE = 1 AND pa.CUR_STATUS = 1
<if test="tsIds != null and tsIds.size() > 0">
AND (c.MAKE_TEAM in
AND (b.MAKE_TEAM in
<foreach collection="tsIds" item="tsId" open="(" separator="," close=")">
#{tsId}
</foreach>
or c.SUBSIDIARY_TEAM in
or b.SUBSIDIARY_TEAM in
<foreach collection="tsIds" item="tsId" open="(" separator="," close=")">
#{tsId}
</foreach>
or (c.MAKE_TEAM is null and c.OC_ID is null and d.dispatcher is not null and d.dispatcher = #{userId}))
or (b.MAKE_TEAM is null and b.OC_ID is null and c.dispatcher is not null and c.dispatcher = #{userId}))
</if>
and c.ID = #{id}
</where>

Loading…
Cancel
Save