fix:样品库接口调整

This commit is contained in:
FCL
2025-11-26 09:38:43 +08:00
parent 2f71bc7fb1
commit 2c377a76ec

View File

@@ -74,7 +74,7 @@
<if test="param.warehouseCode != null and param.warehouseCode != ''"> <if test="param.warehouseCode != null and param.warehouseCode != ''">
and wrh.CD = #{param.warehouseCode} and wrh.CD = #{param.warehouseCode}
</if> </if>
<if test="param.hideDispatchData != null and param.hideDispatchData == '1'"> <if test="param.hideDispatchData != null and param.hideDispatchData == '1'.toString()">
and not exists( and not exists(
select 1 from T_BSN_SMP_DST_DTL d left join T_BSN_SMP_DST m on d.PRN_ID = m.ID select 1 from T_BSN_SMP_DST_DTL d left join T_BSN_SMP_DST m on d.PRN_ID = m.ID
where d.BSN_SB_SMP_ID = smp.ID where d.BSN_SB_SMP_ID = smp.ID