|
|
@ -274,25 +274,35 @@ public class ResidentAndDisabledService implements IResidentAndDisabledService {
|
|
|
|
String scState = "";
|
|
|
|
String scState = "";
|
|
|
|
String scAnswer = "";
|
|
|
|
String scAnswer = "";
|
|
|
|
if("1".equals(msResult)){
|
|
|
|
if("1".equals(msResult)){
|
|
|
|
|
|
|
|
if("2".equals(dto.getDataGb())){
|
|
|
|
|
|
|
|
scState = CtgyConstants.Judge.RESULT_STATE_DISABLED_NON_IMPOSE.getCode();
|
|
|
|
|
|
|
|
scAnswer = CtgyConstants.Judge.RESULT_STATE_DISABLED_NON_IMPOSE.getDesc();
|
|
|
|
|
|
|
|
}else{
|
|
|
|
scState = CtgyConstants.Judge.RESULT_STATE_NON_IMPOSE.getCode();
|
|
|
|
scState = CtgyConstants.Judge.RESULT_STATE_NON_IMPOSE.getCode();
|
|
|
|
scAnswer = CtgyConstants.Judge.RESULT_STATE_NON_IMPOSE.getDesc();
|
|
|
|
scAnswer = CtgyConstants.Judge.RESULT_STATE_NON_IMPOSE.getDesc();
|
|
|
|
|
|
|
|
}
|
|
|
|
}else if("2".equals(msResult)){
|
|
|
|
}else if("2".equals(msResult)){
|
|
|
|
|
|
|
|
if("2".equals(dto.getDataGb())){
|
|
|
|
|
|
|
|
scState = CtgyConstants.Judge.RESULT_STATE_DISABLED_IMPOSE.getCode();
|
|
|
|
|
|
|
|
scAnswer = CtgyConstants.Judge.RESULT_STATE_DISABLED_IMPOSE.getDesc();
|
|
|
|
|
|
|
|
}else{
|
|
|
|
scState = CtgyConstants.Judge.RESULT_STATE_IMPOSE.getCode();
|
|
|
|
scState = CtgyConstants.Judge.RESULT_STATE_IMPOSE.getCode();
|
|
|
|
scAnswer = CtgyConstants.Judge.RESULT_STATE_IMPOSE.getDesc();
|
|
|
|
scAnswer = CtgyConstants.Judge.RESULT_STATE_IMPOSE.getDesc();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
residentAndDisabledDao.updateState(msMaincode, msSeq, scState, scAnswer);
|
|
|
|
residentAndDisabledDao.updateState(msMaincode, msSeq, scState, scAnswer);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//@Transactional(readOnly = true)
|
|
|
|
//@Transactional(readOnly = true)
|
|
|
|
public Map<String,Object> findDashboard(){
|
|
|
|
public Map<String,Object> findDashboard(MinUserinfoDto dto){
|
|
|
|
Map<String, Object> resultMap = new HashMap<>();
|
|
|
|
Map<String, Object> resultMap = new HashMap<>();
|
|
|
|
|
|
|
|
|
|
|
|
resultMap.put("pBoardList", publicBoardDao.findAll(new MinInfoBoard680Dto(), PageRequest.of(0, 7)));
|
|
|
|
resultMap.put("pBoardList", publicBoardDao.findAll(new MinInfoBoard680Dto(), PageRequest.of(0, 7)));
|
|
|
|
resultMap.put("parkJudgeList", parkingDao.findDashboardJudgeList());
|
|
|
|
resultMap.put("parkJudgeList", parkingDao.findDashboardJudgeList(dto));
|
|
|
|
resultMap.put("residentJudgeList", residentAndDisabledDao.findDashboardJudgeList(CtgyConstants.Judge.DATAGB_RESIDENT.getCode()));
|
|
|
|
resultMap.put("residentJudgeList", residentAndDisabledDao.findDashboardJudgeList(CtgyConstants.Judge.DATAGB_RESIDENT.getCode(), dto));
|
|
|
|
resultMap.put("disabledJudgeList", residentAndDisabledDao.findDashboardJudgeList(CtgyConstants.Judge.DATAGB_DISABLED.getCode()));
|
|
|
|
resultMap.put("disabledJudgeList", residentAndDisabledDao.findDashboardJudgeList(CtgyConstants.Judge.DATAGB_DISABLED.getCode(), dto));
|
|
|
|
|
|
|
|
|
|
|
|
return resultMap;
|
|
|
|
return resultMap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|