|
@@ -86,6 +86,7 @@ public class SysDeptSubController {
|
|
|
.in(WmDaDrugEnt::getDeptId, deptRelations.stream().map(SysDeptRelation::getAncestor).collect(Collectors.toSet())));
|
|
|
drugEnts.forEach(drugEnt -> {
|
|
|
SysDeptSub newDeptSub = new SysDeptSub();
|
|
|
+ newDeptSub.setSubId(Integer.valueOf(drugEnt.getDeptId()));
|
|
|
newDeptSub.setDeptId(Integer.valueOf(drugEnt.getDeptId()));
|
|
|
newDeptSub.setSubjectLocation(SubjectLocation.MAH_SETTLE);
|
|
|
newDeptSub.setSubjectType(String.valueOf(SubjectLocation.MAH_SETTLE.getGigType().getCode()));
|