|
|
@ -129,12 +129,13 @@
|
|
|
|
, MS.ms_seq
|
|
|
|
, MS.ms_seq
|
|
|
|
, MS.ms_carnum
|
|
|
|
, MS.ms_carnum
|
|
|
|
, MU.name
|
|
|
|
, MU.name
|
|
|
|
|
|
|
|
, MS.ms_result
|
|
|
|
, (SELECT code_nm
|
|
|
|
, (SELECT code_nm
|
|
|
|
FROM tb_cmm_code_s
|
|
|
|
FROM tb_cmm_code_s
|
|
|
|
WHERE code_grp_id = 'TRAFFIC'
|
|
|
|
WHERE code_grp_id = 'TRAFFIC'
|
|
|
|
AND code_lcd = 'GANGNAM_SIMSA'
|
|
|
|
AND code_lcd = 'GANGNAM_SIMSA'
|
|
|
|
AND code_mcd = 'RESULT'
|
|
|
|
AND code_mcd = 'RESULT'
|
|
|
|
AND code_cd = MS.ms_result) as ms_result
|
|
|
|
AND code_cd = MS.ms_result) as ms_result_nm
|
|
|
|
, (SELECT code_nm
|
|
|
|
, (SELECT code_nm
|
|
|
|
FROM tb_cmm_code_s
|
|
|
|
FROM tb_cmm_code_s
|
|
|
|
WHERE code_grp_id = 'TRAFFIC'
|
|
|
|
WHERE code_grp_id = 'TRAFFIC'
|
|
|
@ -162,21 +163,21 @@
|
|
|
|
AND MSU.msu_team = #{msuTeam}
|
|
|
|
AND MSU.msu_team = #{msuTeam}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
AND MSU.msu_userid = MU.userid
|
|
|
|
AND MSU.msu_userid = MU.userid
|
|
|
|
ORDER BY MSU.msu_userid, MU.name
|
|
|
|
ORDER BY MSU.msu_userid, MU.name, MS.ms_seq, MS.ms_carnum
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
<select id="selectParkingJudgeResultList2" parameterType="map" resultType="camelCaseLinkedMap">
|
|
|
|
<select id="selectParkingJudgeResultList2" parameterType="map" resultType="camelCaseLinkedMap">
|
|
|
|
/* parking-mapper|selectParkingJudgeResultList|julim */
|
|
|
|
|
|
|
|
SELECT MS.ms_maincode
|
|
|
|
SELECT MS.ms_maincode
|
|
|
|
, MS.ms_seq
|
|
|
|
, MS.ms_seq
|
|
|
|
, MS.ms_carnum
|
|
|
|
, MS.ms_carnum
|
|
|
|
, MU.name
|
|
|
|
, MU.name
|
|
|
|
|
|
|
|
, MS.ms_result
|
|
|
|
, (SELECT code_nm
|
|
|
|
, (SELECT code_nm
|
|
|
|
FROM tb_cmm_code_s
|
|
|
|
FROM tb_cmm_code_s
|
|
|
|
WHERE code_grp_id = 'TRAFFIC'
|
|
|
|
WHERE code_grp_id = 'TRAFFIC'
|
|
|
|
AND code_lcd = 'GANGNAM_SIMSA'
|
|
|
|
AND code_lcd = 'GANGNAM_SIMSA'
|
|
|
|
AND code_mcd = 'RESULT'
|
|
|
|
AND code_mcd = 'RESULT'
|
|
|
|
AND code_cd = MS.ms_result) as ms_result
|
|
|
|
AND code_cd = MS.ms_result) as ms_result_nm
|
|
|
|
, (SELECT code_nm
|
|
|
|
, (SELECT code_nm
|
|
|
|
FROM tb_cmm_code_s
|
|
|
|
FROM tb_cmm_code_s
|
|
|
|
WHERE code_grp_id = 'TRAFFIC'
|
|
|
|
WHERE code_grp_id = 'TRAFFIC'
|
|
|
@ -198,4 +199,5 @@
|
|
|
|
AND MSU.msu_userid = MU.userid
|
|
|
|
AND MSU.msu_userid = MU.userid
|
|
|
|
ORDER BY MSU.msu_userid, MU.name
|
|
|
|
ORDER BY MSU.msu_userid, MU.name
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
-->
|
|
|
|
</mapper>
|
|
|
|
</mapper>
|