This commit is contained in:
lvleigang 2025-03-28 15:22:49 +08:00
commit 910f81a931
2 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@ public class InventoryExtServiceImpl extends BaseService<InventoryExtEntity,Str
if (null != entity && StrUtil.isNotEmpty(entity.getcInvCode())){
InventoryExtEntity extEntity = new InventoryExtEntity();
extEntity.setCInvCode(entity.getCInvCode());
extEntity.setDataSourceCode(entity.getDataSourceCode());
List<InventoryExtEntity> query = inventoryextDao.query(extEntity);
if (CollectionUtils.isNotEmpty(query)){
if (query.size() > 1){

View File

@ -41,6 +41,7 @@ public class InventorySubServiceImpl extends BaseService<InventorySubEntity,Stri
if (null != entity && StrUtil.isNotEmpty(entity.getcInvSubCode())){
InventorySubEntity subEntity = new InventorySubEntity();
subEntity.setcInvSubCode(entity.getcInvSubCode());
subEntity.setDataSourceCode(entity.getDataSourceCode());
List<InventorySubEntity> query = inventorySubDao.query(subEntity);
if (CollectionUtils.isNotEmpty(query)){
if (query.size() > 1){