|
@@ -377,7 +377,7 @@ ${ew.customSqlSegment}
|
|
|
left join sy_shipping_details_item b
|
|
|
on a.id=b.shipping_details_id
|
|
|
left join sy_declaration_elements c on b.elements_id=c.id
|
|
|
- where (b.push_srm_state=0 or b.push_srm_state is null) and a.id in
|
|
|
+ where (b.push_srm_state=0 or b.push_srm_state is null) and b.del_flag=0 and a.del_flag=0 and a.id in
|
|
|
<foreach collection="id" item="item" open="(" separator="," close=")">
|
|
|
#{item}
|
|
|
</foreach>
|