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