Browse Source

单证问题处理

yzc 2 years ago
parent
commit
5c835e4146

+ 1 - 1
hx-sale/src/main/java/com/fjhx/sale/service/pack/impl/PackShipmentServiceImpl.java

@@ -85,7 +85,7 @@ public class PackShipmentServiceImpl extends ServiceImpl<PackShipmentMapper, Pac
         //查询出货绑定主合同列表详情
         List<PackShipmentVo> packShipments = baseMapper.getList(Wrappers.query()
                 .like(ObjectUtil.isNotEmpty(dto.getKeyword()), " c.code", dto.getKeyword())
-                .notIn("ps.contract_id", documentsIds)
+                .notIn(ObjectUtil.isNotEmpty(documentsIds), "ps.contract_id", documentsIds)
         );
         return packShipments;
     }