헤더 조정

internalApi
박성영 1 month ago
parent af390557fe
commit a0d7717f75

@ -3,19 +3,9 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="go.kr.project.carInspectionPenalty.registration.mapper.CarFfnlgTrgtMapper">
<!-- 과태료 대상 목록 총 개수 조회 -->
<select id="selectListTotalCount" parameterType="CarFfnlgTrgtVO" resultType="int">
SELECT COUNT(*)
FROM tb_car_ffnlg_trgt t
LEFT JOIN tb_user u ON t.RGTR = u.USER_ID
LEFT JOIN (
SELECT CD_ID, CD_NM
FROM tb_cd_detail
WHERE CD_GROUP_ID = 'TASK_PRCS_STTS_CD'
AND USE_YN = 'Y'
) cd ON t.TASK_PRCS_STTS_CD = cd.CD_ID
WHERE t.DEL_DT IS NULL
<!-- 공통 검색 조건 -->
<sql id="searchCondition">
<if test='schRcptYmdStart != null and schRcptYmdStart != ""'>
AND t.RCPT_YMD &gt;= #{schRcptYmdStart}
</if>
@ -37,6 +27,21 @@
<if test='schInspYmdEnd != null and schInspYmdEnd != ""'>
AND t.INSP_YMD &lt;= #{schInspYmdEnd}
</if>
</sql>
<!-- 과태료 대상 목록 총 개수 조회 -->
<select id="selectListTotalCount" parameterType="CarFfnlgTrgtVO" resultType="int">
SELECT COUNT(*)
FROM tb_car_ffnlg_trgt t
LEFT JOIN tb_user u ON t.RGTR = u.USER_ID
LEFT JOIN (
SELECT CD_ID, CD_NM
FROM tb_cd_detail
WHERE CD_GROUP_ID = 'TASK_PRCS_STTS_CD'
AND USE_YN = 'Y'
) cd ON t.TASK_PRCS_STTS_CD = cd.CD_ID
WHERE t.DEL_DT IS NULL
<include refid="searchCondition"/>
</select>
<!-- 과태료 대상 목록 조회 -->
@ -80,27 +85,7 @@
AND USE_YN = 'Y'
) cd ON t.TASK_PRCS_STTS_CD = cd.CD_ID
WHERE t.DEL_DT IS NULL
<if test='schRcptYmdStart != null and schRcptYmdStart != ""'>
AND t.RCPT_YMD &gt;= #{schRcptYmdStart}
</if>
<if test='schRcptYmdEnd != null and schRcptYmdEnd != ""'>
AND t.RCPT_YMD &lt;= #{schRcptYmdEnd}
</if>
<if test='schVhclno != null and schVhclno != ""'>
AND t.VHCLNO LIKE CONCAT('%', #{schVhclno}, '%')
</if>
<if test='schOwnrNm != null and schOwnrNm != ""'>
AND t.OWNR_NM LIKE CONCAT('%', #{schOwnrNm}, '%')
</if>
<if test='schTaskPrcsSttsCd != null and schTaskPrcsSttsCd != ""'>
AND t.TASK_PRCS_STTS_CD = #{schTaskPrcsSttsCd}
</if>
<if test='schInspYmdStart != null and schInspYmdStart != ""'>
AND t.INSP_YMD &gt;= #{schInspYmdStart}
</if>
<if test='schInspYmdEnd != null and schInspYmdEnd != ""'>
AND t.INSP_YMD &lt;= #{schInspYmdEnd}
</if>
<include refid="searchCondition"/>
ORDER BY t.REG_DT DESC
<if test='pagingYn == "Y"'>
limit #{startIndex}, #{perPage} /* 서버사이드 페이징 처리 */

@ -224,7 +224,7 @@
return e.value ? moment(e.value, 'YYYYMMDD').format('YYYY-MM-DD') : '';
}
},
{ header: '매매상품', name: 'trdGds', align: 'center', width: 100, hidden: true },
{ header: '매매상품', name: 'trdGds', align: 'center', width: 100 },
{ header: '처리상태코드', name: 'taskPrcsSttsCd', align: 'center', width: 100, hidden: true },
{ header: '처리상태', name: 'taskPrcsSttsCdNm', align: 'center', width: 100 },
{ header: '처리일자', name: 'taskPrcsYmd', align: 'center', width: 100,

Loading…
Cancel
Save