소스 검색

推送srm预装箱单bug调整

fenghaifu 1 주 전
부모
커밋
54d8f03e3d

+ 1 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/documents/shippingDetails/mapper/xml/SyShippingDetailsMapper.xml

@@ -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>