diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataTripartiteMallServiceImpl.java b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataTripartiteMallServiceImpl.java index 07b9a3c3b..30edd9393 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataTripartiteMallServiceImpl.java +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataTripartiteMallServiceImpl.java @@ -284,7 +284,7 @@ public class BasicdataTripartiteMallServiceImpl extends BaseServiceImpl entities = this.list(Wrappers.query().lambda() .eq(BasicdataTripartiteMallEntity::getTripartiteMall, datum.getTripartiteMall()) - .eq(BasicdataTripartiteMallEntity::getTripartiteCoding, datum.getTripartiteCoding()) + .eq(!Objects.isNull(datum.getTripartiteCoding()),BasicdataTripartiteMallEntity::getTripartiteCoding,datum.getTripartiteCoding()) .eq(BasicdataTripartiteMallEntity::getBrandName, datum.getBrandName()) ); if (!entities.isEmpty()) {