|
@@ -519,7 +519,7 @@
|
|
|
on RM.MATERIAL_ID = DB.MATERIAL_ID
|
|
|
left join RMS_PORT RP
|
|
|
on RP.PORT_ID = WOR.HARBOR_ID
|
|
|
- where RP.PORT_NAME='万州港'
|
|
|
+ where RP.PORT_NAME='万州港' AND TLT.DELETED=0
|
|
|
<if test="con!=null">
|
|
|
and (instr(RM.MATERIAL_NAME , #{con}) > 0 or instr( TLT.RESULT_WAGON_NO, #{con}) > 0 or
|
|
|
instr(DB.RESULT_FOREIGN_SHIP_NAME,#{con}) > 0 or instr( RP.PORT_NAME,#{con}) > 0)
|