This commit is contained in:
parent
cc7ef9e335
commit
20913fd684
|
|
@ -89,8 +89,8 @@ public class EBomEdit {
|
||||||
|
|
||||||
Integer rootIs =SpringUtil.getBean(BomNewEbomParentService.class).getBaseMapper().checkIsRoot(parent.getMaterialNo());
|
Integer rootIs =SpringUtil.getBean(BomNewEbomParentService.class).getBaseMapper().checkIsRoot(parent.getMaterialNo());
|
||||||
Integer userRootIs = SpringUtil.getBean(BomNewEbomParentService.class).getBaseMapper().checkIsUserRoot(parent.getMaterialNo(), parent.getCreatedBy());
|
Integer userRootIs = SpringUtil.getBean(BomNewEbomParentService.class).getBaseMapper().checkIsUserRoot(parent.getMaterialNo(), parent.getCreatedBy());
|
||||||
parent.setRootIs(rootIs);
|
parent.setRootIs(rootIs > 0 ? 0 : 1);
|
||||||
parent.setUserRootIs(userRootIs);
|
parent.setUserRootIs(userRootIs > 0 ? 0 : 1);
|
||||||
return parent;
|
return parent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue