diff --git a/op-modules/op-mes/src/main/resources/mapper/mes/MesPrepareDetailMapper.xml b/op-modules/op-mes/src/main/resources/mapper/mes/MesPrepareDetailMapper.xml index 3d415db2..53d17b7b 100644 --- a/op-modules/op-mes/src/main/resources/mapper/mes/MesPrepareDetailMapper.xml +++ b/op-modules/op-mes/src/main/resources/mapper/mes/MesPrepareDetailMapper.xml @@ -100,7 +100,7 @@ where ow.product_date = #{productDateStr} and mpd.material_name not like '%白坯%' and mpd.material_name not like '%药液%' and mpd.material_code not like '0000000208%' - and mpd.recoil = #{recoil} and mp.del_flag = '0' and mpd.del_flag = '0' + and mpd.recoil = #{recoil} and mp.del_flag = '0' and mpd.del_flag = '0' and ow.del_flag = '0' GROUP BY mpd.material_code, mpd.material_name, mpd.unit,