Merge remote-tracking branch 'origin/feature/DM/nflg-bom' into feature/DM/nflg-bom
# Conflicts: # nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/BomNewEbomParentService.java
This commit is contained in:
commit
647e375b6b
|
|
@ -1185,12 +1185,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
|||
|
||||
List<Long> rowIds = dto.getRowIdList();
|
||||
|
||||
List<BomNewEbomParentEntity> bomNewEbomParentEntityList = this.lambdaQuery()
|
||||
.in(BomNewEbomParentEntity::getRowId, rowIds)
|
||||
.and(wrapper -> wrapper.eq(BomNewEbomParentEntity::getRootIs, 1)
|
||||
.or(w -> w.eq(BomNewEbomParentEntity::getCreatedBy, SessionUtil.getUserCode())
|
||||
.and(w1 -> w1.eq(BomNewEbomParentEntity::getUserRootIs, 1))))
|
||||
.list();
|
||||
List<BomNewEbomParentEntity> bomNewEbomParentEntityList = this.lambdaQuery().in(BomNewEbomParentEntity::getUserRootIs, rowIds).eq(BomNewEbomParentEntity::getUserRootIs, 1).list();
|
||||
|
||||
if (CollUtil.isEmpty(bomNewEbomParentEntityList)) {
|
||||
// return ResultVO.error("下级BOM无法进行复核");
|
||||
|
|
|
|||
Loading…
Reference in New Issue