|
|
@ -365,13 +365,13 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
|
|
|
|
, C.FFNLG_AMT <!-- 잔액 -->
|
|
|
|
, C.FFNLG_AMT <!-- 잔액 -->
|
|
|
|
, C.ATCH_FILE_CNT <!-- 사진건수 -->
|
|
|
|
, C.ATCH_FILE_CNT <!-- 사진건수 -->
|
|
|
|
, C.CRDN_SN <!-- 단속 일련번호 -->
|
|
|
|
, C.CRDN_SN <!-- 단속 일련번호 -->
|
|
|
|
, C.CRDN_STTS_CD <!-- 단속 상태 코드 -->
|
|
|
|
|
|
|
|
FROM TB_CRDN C
|
|
|
|
FROM TB_CRDN C
|
|
|
|
LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.CRDN_ID = CC.CRDN_ID)
|
|
|
|
LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.CRDN_ID = CC.CRDN_ID)
|
|
|
|
LEFT OUTER JOIN TB_TEAM_INFO TI ON (C.TEAM_ID = TI.TEAM_ID)
|
|
|
|
LEFT OUTER JOIN TB_TEAM_INFO TI ON (C.TEAM_ID = TI.TEAM_ID)
|
|
|
|
WHERE C.DEL_YN = 'N'
|
|
|
|
WHERE C.DEL_YN = 'N'
|
|
|
|
AND C.TASK_SE_CD = 'DPV'
|
|
|
|
AND C.TASK_SE_CD = 'DPV'
|
|
|
|
AND C.PARKNG_PSBLTY_RSLT_CD = '0'
|
|
|
|
AND C.PARKNG_PSBLTY_RSLT_CD = '0'
|
|
|
|
|
|
|
|
AND C.CRDN_STTS_CD = '21'
|
|
|
|
<if test="by != null and by != '' and term != null">
|
|
|
|
<if test="by != null and by != '' and term != null">
|
|
|
|
<choose>
|
|
|
|
<choose>
|
|
|
|
<when test="by == 'crdnInptSeCd'">
|
|
|
|
<when test="by == 'crdnInptSeCd'">
|
|
|
@ -401,9 +401,6 @@ AND C.ATCH_FILE_CNT = #{term}
|
|
|
|
</when>
|
|
|
|
</when>
|
|
|
|
<when test="by == 'crdnSn'">
|
|
|
|
<when test="by == 'crdnSn'">
|
|
|
|
AND C.CRDN_SN = #{term}
|
|
|
|
AND C.CRDN_SN = #{term}
|
|
|
|
</when>
|
|
|
|
|
|
|
|
<when test="by == 'crdnSttsCd'">
|
|
|
|
|
|
|
|
AND FN_GET_CODE_NM('FIM010', C.CRDN_STTS_CD) LIKE CONCAT('%', #{term}, '%')
|
|
|
|
|
|
|
|
</when>
|
|
|
|
</when>
|
|
|
|
<otherwise>
|
|
|
|
<otherwise>
|
|
|
|
</otherwise>
|
|
|
|
</otherwise>
|
|
|
@ -421,7 +418,7 @@ AND FN_GET_CODE_NM('FIM010', C.CRDN_STTS_CD) LIKE CONCAT('%', #{term}, '%')
|
|
|
|
<update id="updateTagInformation" parameterType="map">
|
|
|
|
<update id="updateTagInformation" parameterType="map">
|
|
|
|
/* 표지정보확인 수정(crdn06Mapper.updateTagInformation) */
|
|
|
|
/* 표지정보확인 수정(crdn06Mapper.updateTagInformation) */
|
|
|
|
UPDATE TB_CRDN
|
|
|
|
UPDATE TB_CRDN
|
|
|
|
SET PARKNG_PSBLTY_RSLT_CD = '2'
|
|
|
|
SET PARKNG_PSBLTY_RSLT_CD = '1'
|
|
|
|
, MDFCN_DT = <include refid="utility.now" /> /* 수정일시 */
|
|
|
|
, MDFCN_DT = <include refid="utility.now" /> /* 수정일시 */
|
|
|
|
, MDFR = #{currentUser.id} /* 수정자 */
|
|
|
|
, MDFR = #{currentUser.id} /* 수정자 */
|
|
|
|
WHERE CRDN_ID = #{crdn.crdnId} /* 단속 ID */
|
|
|
|
WHERE CRDN_ID = #{crdn.crdnId} /* 단속 ID */
|
|
|
|