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 userRootIs = SpringUtil.getBean(BomNewEbomParentService.class).getBaseMapper().checkIsUserRoot(parent.getMaterialNo(), parent.getCreatedBy());
|
||||
parent.setRootIs(rootIs);
|
||||
parent.setUserRootIs(userRootIs);
|
||||
parent.setRootIs(rootIs > 0 ? 0 : 1);
|
||||
parent.setUserRootIs(userRootIs > 0 ? 0 : 1);
|
||||
return parent;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue