1、BOOL 判断

This commit is contained in:
大米 2024-03-06 14:56:03 +08:00
parent f1b63faffc
commit b0e36ecb7d
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( params.getSetSubNode().equals(1) ){
if( params.getSetSubNode().equals(0) ){
return saveAllocationFactory(params.getData());
}else {
params.getData().forEach(k->{