1、BOOL 判断

This commit is contained in:
大米 2024-03-06 14:54:51 +08:00
parent 4f599c67ce
commit c5cebc7108
1 changed files with 1 additions and 1 deletions

View File

@ -616,7 +616,7 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
public Boolean saveAllocationFactoryNew(AllocationFactoryParam params) {
VUtils.isTure(CollUtil.isEmpty(params.getData())).throwMessage("分配工厂数据为空");
//按分配的工厂分组
if(BooleanEnum.FALSE.equals(params.getSetSubNode()) ){
if( params.getSetSubNode().equals(1) ){
return saveAllocationFactory(params.getData());
}else {
params.getData().forEach(k->{