|
|
@ -60,8 +60,8 @@ public class BasicdataStorageServicesServiceImpl extends BaseServiceImpl<Basicda |
|
|
|
|
|
|
|
|
|
|
|
List<BasicdataStorageServicesEntity> basicdataStorageServicesEntities = baseMapper.selectList(Wrappers.<BasicdataStorageServicesEntity>query().lambda(). |
|
|
|
List<BasicdataStorageServicesEntity> basicdataStorageServicesEntities = baseMapper.selectList(Wrappers.<BasicdataStorageServicesEntity>query().lambda(). |
|
|
|
eq(BasicdataStorageServicesEntity::getShopId, basicdataStorageServices.getShopId()). |
|
|
|
eq(BasicdataStorageServicesEntity::getShopId, basicdataStorageServices.getShopId()). |
|
|
|
eq(BasicdataStorageServicesEntity::getForwardingUnit, basicdataStorageServices.getForwardingUnit()). |
|
|
|
eq(BasicdataStorageServicesEntity::getSendWarehouseId, basicdataStorageServices.getSendWarehouseId()). |
|
|
|
eq(BasicdataStorageServicesEntity::getWarehouseService, basicdataStorageServices.getWarehouseService()) |
|
|
|
eq(BasicdataStorageServicesEntity::getSendWarehouseId, basicdataStorageServices.getSendWarehouseId()) |
|
|
|
); |
|
|
|
); |
|
|
|
if(basicdataStorageServicesEntities.size() > 0){ |
|
|
|
if(basicdataStorageServicesEntities.size() > 0){ |
|
|
|
throw new RuntimeException("存在重复数据!已拒绝!!"); |
|
|
|
throw new RuntimeException("存在重复数据!已拒绝!!"); |
|
|
|