fix: 주정차 심사 반영중

main
minuk926 2 years ago
parent 6610489071
commit e8a3349faf

@ -207,7 +207,7 @@ public class ParkingDao extends BaseMpowerDaoSupport {
.setParameter("msuUserid", HeaderUtil.getUserId()) .setParameter("msuUserid", HeaderUtil.getUserId())
.getQueryString(); .getQueryString();
final String fieldStrs = "msMaincode, msSeq, msCarnum, msResult, msYear, msChasu, msSdate, msStartsi, msEdate, msCdate, " + final String fieldStrs = "msMaincode, msSeq, msCarnum, msResult, msYear, msChasu, msSdate, msStartsi, msEdate, msCdate, " +
"msClosesi, msDatgb, msuCode, msuResult, msuReason, msWdate, msPos, rcMaincode, msuUserid"; "msClosesi, msDatagb, msuCode, msuResult, msuReason, msWdate, msPos, rcMaincode, msuUserid";
return selectList(JudgeListDto.class, sql, fieldStrs); return selectList(JudgeListDto.class, sql, fieldStrs);
} }

@ -308,7 +308,7 @@ public class ResidentAndDisabledDao extends BaseMpowerDaoSupport {
.setParameter("msuUserid", HeaderUtil.getUserId()) .setParameter("msuUserid", HeaderUtil.getUserId())
.getQueryString(); .getQueryString();
final String fieldStrs = "msMaincode, msSeq, msCarnum, msResult, msYear, msChasu, msSdate, msStartsi, msEdate, msCdate, " + final String fieldStrs = "msMaincode, msSeq, msCarnum, msResult, msYear, msChasu, msSdate, msStartsi, msEdate, msCdate, " +
"msClosesi, msDatgb, msuCode, msuResult, msuReason, scWdate, scPos, msuUserid"; "msClosesi, msDatagb, msuCode, msuResult, msuReason, msWdate, msPos, msuUserid";
return selectList(JudgeListDto.class, sql, fieldStrs); return selectList(JudgeListDto.class, sql, fieldStrs);
} }

@ -610,14 +610,16 @@
, MSU.msu_code , MSU.msu_code
, DECODE(MSU.msu_result, '1', '1', '2', '2', '0') as msuResult , DECODE(MSU.msu_result, '1', '1', '2', '2', '0') as msuResult
, MSU.msu_reason , MSU.msu_reason
, MS.ms_wdate , GR.sc_wdate as msWdate
, MS.ms_pos , GR.sc_pos as msPos
, MSU.msu_userid , MSU.msu_userid
FROM min_simsa680_sc MS FROM min_simsa680_sc MS
, min_simsa_user680_sc MSU , min_simsa_user680_sc MSU
, gn_recall_sc GR
WHERE MS.ms_maincode = MSU.msu_maincode WHERE MS.ms_maincode = MSU.msu_maincode
AND MSU.msu_userid = #{msuUserid}
AND DECODE(MS.ms_result, '1', '1', '2', '2', '0') = '0' AND DECODE(MS.ms_result, '1', '1', '2', '2', '0') = '0'
AND MSU.msu_userid = #{msuUserid}
AND MS.ms_maincode = GR.sc_code
<if test="msDatagb != null and msDatagb != ''"> <if test="msDatagb != null and msDatagb != ''">
AND MS.ms_datagb = #{msDatagb} AND MS.ms_datagb = #{msDatagb}
</if> </if>

Loading…
Cancel
Save