feat: dashboard 적용

dev
minuk926 2 years ago
parent fcb79272ad
commit 9c072fc737

@ -351,7 +351,7 @@ public class ResidentAndDisabledService implements IResidentAndDisabledService {
@Transactional(readOnly = true) @Transactional(readOnly = true)
public Map<String,Object> findDashboard(){ public Map<String,Object> findDashboard(){
Map<String, Object> resultMap = new HashMap<>(); Map<String, Object> resultMap = new HashMap<>();
resultMap.put("pBoardList", pBoardService.findAll(MinInfoBoard680.builder().build(), PageRequest.of(0, 6))); resultMap.put("pBoardList", pBoardService.findAll(MinInfoBoard680.builder().build(), PageRequest.of(0, 7)));
resultMap.put("parkJudgeList", parkingMapper.selectDashboardJudgeList()); resultMap.put("parkJudgeList", parkingMapper.selectDashboardJudgeList());
resultMap.put("residentJudgeList", residentAndDisabledMapper.selectDashboardJudgeList(CtgyConstants.Judge.DATAGB_RESIDENT.getCode())); resultMap.put("residentJudgeList", residentAndDisabledMapper.selectDashboardJudgeList(CtgyConstants.Judge.DATAGB_RESIDENT.getCode()));
resultMap.put("disabledJudgeList", residentAndDisabledMapper.selectDashboardJudgeList(CtgyConstants.Judge.DATAGB_DISABLED.getCode())); resultMap.put("disabledJudgeList", residentAndDisabledMapper.selectDashboardJudgeList(CtgyConstants.Judge.DATAGB_DISABLED.getCode()));

Loading…
Cancel
Save