1、BOOL 判断
This commit is contained in:
parent
4f599c67ce
commit
c5cebc7108
|
|
@ -616,7 +616,7 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
|
||||||
public Boolean saveAllocationFactoryNew(AllocationFactoryParam params) {
|
public Boolean saveAllocationFactoryNew(AllocationFactoryParam params) {
|
||||||
VUtils.isTure(CollUtil.isEmpty(params.getData())).throwMessage("分配工厂数据为空");
|
VUtils.isTure(CollUtil.isEmpty(params.getData())).throwMessage("分配工厂数据为空");
|
||||||
//按分配的工厂分组
|
//按分配的工厂分组
|
||||||
if(BooleanEnum.FALSE.equals(params.getSetSubNode()) ){
|
if( params.getSetSubNode().equals(1) ){
|
||||||
return saveAllocationFactory(params.getData());
|
return saveAllocationFactory(params.getData());
|
||||||
}else {
|
}else {
|
||||||
params.getData().forEach(k->{
|
params.getData().forEach(k->{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue