Commit 4f7225d0 authored by 廖旭伟's avatar 廖旭伟

绩效申诉list增加窗口负责人字典

parent d9de01e7
......@@ -18,6 +18,8 @@ import com.mortals.xhx.module.perform.model.PerformRulesQuery;
import com.mortals.xhx.module.perform.model.vo.AppealInfo;
import com.mortals.xhx.module.perform.model.vo.AppealSummaryQuery;
import com.mortals.xhx.module.perform.service.PerformRulesService;
import com.mortals.xhx.module.window.model.WindowOwnerQuery;
import com.mortals.xhx.module.window.service.WindowOwnerService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.ObjectUtils;
......@@ -70,6 +72,8 @@ public class PerformAttendAppealController extends BaseCRUDJsonBodyMappingContro
private PerformRulesService rulesService;
@Autowired
private DeptService deptService;
@Autowired
private WindowOwnerService windowOwnerService;
public PerformAttendAppealController() {
......@@ -93,6 +97,7 @@ public class PerformAttendAppealController extends BaseCRUDJsonBodyMappingContro
this.addDict(model, "irregularType", IrregularTypeEnum.getEnumMap());
this.addDict(model, "irregularOtherType", IrregularOtherTypeEnum.getEnumMap());
this.addDict(model, "deptId", deptService.find(new DeptQuery()).stream().collect(Collectors.toMap(x -> x.getId().toString(), y -> y.getDeptName())));
this.addDict(model, "createUserId", windowOwnerService.find(new WindowOwnerQuery()).stream().collect(toMap(x -> x.getStaffId().toString(), y -> y.getStaffName(), (o, n) -> n)));
super.init(model, context);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment