@@ -1223,7 +1223,7 @@
and db.BATCH_ID not in (
select DISTINCT BATCH_ID
from BMSSHIP_FEE bf
- where FEE_TYPE=3)
+ where FEE_TYPE=3 and bf.DELETED=0)
<if test="index!=null">
and (INSTR(db.RESULT_FOREIGN_SHIP_NAME,#{index}) > 0 or INSTR(rm.MATERIAL_NAME,#{index}) > 0)
</if>