| | |
| | | import org.jeecg.modules.dnc.response.CommonGenericTree; |
| | | import org.jeecg.modules.dnc.ucenter.Department; |
| | | import org.jeecg.modules.dnc.ucenter.UserDepartExt; |
| | | import org.jeecg.modules.system.entity.MdcProduction; |
| | | import org.jeecg.modules.system.entity.SysUser; |
| | | |
| | | import java.util.Collection; |
| | |
| | | * @param paramId |
| | | * @return |
| | | */ |
| | | List<Department> getDepartPermsList(Integer nodeType, String paramId); |
| | | List<MdcProduction> getDepartPermsList(Integer nodeType, String paramId); |
| | | |
| | | /** |
| | | * 获取未分配的部门 |
| | |
| | | * @param paramId |
| | | * @return |
| | | */ |
| | | List<Department> getDepartNonPermsList(Integer nodeType, String paramId); |
| | | List<MdcProduction> getDepartNonPermsList(Integer nodeType, String paramId); |
| | | |
| | | /** |
| | | * 指派产品树节点的用户权限 |
| | |
| | | * @param departmentList |
| | | * @return |
| | | */ |
| | | boolean assignAddDepartment(ProductInfo productInfo, Collection<Department> departmentList); |
| | | boolean assignAddDepartment(ProductInfo productInfo, Collection<MdcProduction> departmentList); |
| | | |
| | | |
| | | /** |
| | |
| | | * @param departmentList |
| | | * @return |
| | | */ |
| | | boolean assignRemoveDepartment(ProductInfo productInfo, Collection<Department> departmentList); |
| | | boolean assignRemoveDepartment(ProductInfo productInfo, Collection<MdcProduction> departmentList); |
| | | |
| | | /** |
| | | * 获取节点的部门权限 |