查询条件设置数据源编码
This commit is contained in:
parent
3609b2eef9
commit
e3aa2dcf73
|
@ -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){
|
||||
|
|
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue