fix: 거주자/장애인 심의대상 등록 fix

dev
minuk926 3 years ago
parent 9b4ec3377b
commit dd33745a75

@ -39,6 +39,8 @@ import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import static java.util.stream.Collectors.toMap;
@Service @Service
@RequiredArgsConstructor @RequiredArgsConstructor
@Slf4j @Slf4j
@ -201,6 +203,13 @@ public class ResidentAndDisabledService implements IResidentAndDisabledService {
paramMap.put("msSeq", m.get("msSeq")); paramMap.put("msSeq", m.get("msSeq"));
paramMap.put("msCarnum", m.get("msCarnum")); paramMap.put("msCarnum", m.get("msCarnum"));
m.put("simsa", mapper.selectJudgeResultByCarnum(paramMap)); m.put("simsa", mapper.selectJudgeResultByCarnum(paramMap));
// Map<String,Object> usersMap = mapper.selectJudgeResultByCarnum(paramMap)
// .stream()
// .reduce((preMap, curMap) -> {
// preMap.putAll(curMap);
// return preMap;
// }).orElse(null);
// m.putAll(usersMap);
}).collect(Collectors.toList()); }).collect(Collectors.toList());
resultMap.put("totUserList", totJudgeUserList); resultMap.put("totUserList", totJudgeUserList);

@ -78,6 +78,7 @@
AND MSU.msu_team = #{msuTeam} AND MSU.msu_team = #{msuTeam}
AND MSU.msu_userid = MU.userid AND MSU.msu_userid = MU.userid
GROUP BY MSU.msu_userid, MU.name GROUP BY MSU.msu_userid, MU.name
ORDER BY MSU.msu_userid, MU.name
</select> </select>
<select id="selectJudgeTargetByCarnum" parameterType="com.xit.biz.ctgy.dto.JudgeListDto" resultType="camelCaseLinkedMap"> <select id="selectJudgeTargetByCarnum" parameterType="com.xit.biz.ctgy.dto.JudgeListDto" resultType="camelCaseLinkedMap">
@ -126,6 +127,6 @@
AND MSS.ms_carnum = #{msCarnum} AND MSS.ms_carnum = #{msCarnum}
AND MSU.msu_team = #{msuTeam} AND MSU.msu_team = #{msuTeam}
AND MSU.msu_userid = MU.userid AND MSU.msu_userid = MU.userid
ORDER BY MSU.msu_userid, MU.userid ORDER BY MSU.msu_userid, MU.name
</select> </select>
</mapper> </mapper>
Loading…
Cancel
Save