|
|
@ -128,7 +128,7 @@ AND C.${by} LIKE CONCAT('%', #{term}, '%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
|
|
|
<include refid="utility.orderBy" />
|
|
|
|
<include refid="utility.sortBy" />
|
|
|
|
<include refid="utility.paging-suffix"/>
|
|
|
|
<include refid="utility.paging-suffix"/>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
@ -155,7 +155,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
|
|
|
|
AND C.TASK_SE_CD = #{taskSeCd}
|
|
|
|
AND C.TASK_SE_CD = #{taskSeCd}
|
|
|
|
AND C.RGTR = #{currentUserId}
|
|
|
|
AND C.RGTR = #{currentUserId}
|
|
|
|
AND SUBSTR(C.REG_DT,1,8) = <include refid="utility.today" />
|
|
|
|
AND SUBSTR(C.REG_DT,1,8) = <include refid="utility.today" />
|
|
|
|
<include refid="utility.orderBy" />
|
|
|
|
<include refid="utility.sortBy" />
|
|
|
|
<include refid="utility.paging-suffix"/>
|
|
|
|
<include refid="utility.paging-suffix"/>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
@ -229,7 +229,7 @@ AND C.CRDN_STTS_CD = #{crdnSttsCd}
|
|
|
|
<if test="schDateTo != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schDateTo} </if>
|
|
|
|
<if test="schDateTo != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schDateTo} </if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<include refid="utility.orderBy" />
|
|
|
|
<include refid="utility.sortBy" />
|
|
|
|
<include refid="utility.paging-suffix"/>
|
|
|
|
<include refid="utility.paging-suffix"/>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
@ -306,7 +306,7 @@ HAVING COUNT(*) <![CDATA[ >= ]]>
|
|
|
|
</choose>
|
|
|
|
</choose>
|
|
|
|
<if test="schCrdnCntTo != null"> AND COUNT(*) <![CDATA[ <= ]]> #{schCrdnCntTo} </if>
|
|
|
|
<if test="schCrdnCntTo != null"> AND COUNT(*) <![CDATA[ <= ]]> #{schCrdnCntTo} </if>
|
|
|
|
|
|
|
|
|
|
|
|
<include refid="utility.orderBy" />
|
|
|
|
<include refid="utility.sortBy" />
|
|
|
|
<include refid="utility.paging-suffix"/>
|
|
|
|
<include refid="utility.paging-suffix"/>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
@ -330,7 +330,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
|
|
|
|
WHERE C.DEL_YN = 'N'
|
|
|
|
WHERE C.DEL_YN = 'N'
|
|
|
|
AND C.TASK_SE_CD = #{taskSeCd}
|
|
|
|
AND C.TASK_SE_CD = #{taskSeCd}
|
|
|
|
AND C.CRDN_ID IN (<foreach collection="crdnIDs" item="CRDN_ID" separator=",">#{CRDN_ID}</foreach>)
|
|
|
|
AND C.CRDN_ID IN (<foreach collection="crdnIDs" item="CRDN_ID" separator=",">#{CRDN_ID}</foreach>)
|
|
|
|
<include refid="utility.orderBy" />
|
|
|
|
<include refid="utility.sortBy" />
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectTagInformationUndefinedDataList" parameterType="map" resultType="dataobject">
|
|
|
|
<select id="selectTagInformationUndefinedDataList" parameterType="map" resultType="dataobject">
|
|
|
@ -382,7 +382,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
|
|
|
|
<if test="schCrdnYmdFrom != null">AND C.CRDN_YMD <![CDATA[ >= ]]> #{schCrdnYmdFrom} </if>
|
|
|
|
<if test="schCrdnYmdFrom != null">AND C.CRDN_YMD <![CDATA[ >= ]]> #{schCrdnYmdFrom} </if>
|
|
|
|
<if test="schCrdnYmdTo != null">AND C.CRDN_YMD <![CDATA[ <= ]]> #{schCrdnYmdTo} </if>
|
|
|
|
<if test="schCrdnYmdTo != null">AND C.CRDN_YMD <![CDATA[ <= ]]> #{schCrdnYmdTo} </if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<include refid="utility.orderBy" />
|
|
|
|
<include refid="utility.sortBy" />
|
|
|
|
<include refid="utility.paging-suffix"/>
|
|
|
|
<include refid="utility.paging-suffix"/>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
@ -433,7 +433,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
|
|
|
|
<if test="schRductYmdFrom != null">AND SUBSTR(RD.REG_DT,1,8) <![CDATA[ >= ]]> #{schRductYmdFrom} </if>
|
|
|
|
<if test="schRductYmdFrom != null">AND SUBSTR(RD.REG_DT,1,8) <![CDATA[ >= ]]> #{schRductYmdFrom} </if>
|
|
|
|
<if test="schRductYmdTo != null">AND SUBSTR(RD.REG_DT,1,8) <![CDATA[ <= ]]> #{schRductYmdTo} </if>
|
|
|
|
<if test="schRductYmdTo != null">AND SUBSTR(RD.REG_DT,1,8) <![CDATA[ <= ]]> #{schRductYmdTo} </if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<include refid="utility.orderBy" />
|
|
|
|
<include refid="utility.sortBy" />
|
|
|
|
<include refid="utility.paging-suffix"/>
|
|
|
|
<include refid="utility.paging-suffix"/>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|