utility.xml 참조 경로 수정

main
이범준 2 months ago
parent d81327f6e4
commit 8ddd005e2f

@ -10,7 +10,7 @@
</resultMap>
<sql id="selectGroups">
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
SELECT A.GRP_ID
, A.GRP_NM
, A.DSCRP
@ -24,7 +24,7 @@ AND GRP_ID IN (<foreach collection="groupIDs" item="groupID" separator=",">#{gro
AND ${by} LIKE CONCAT('%', #{term}, '%')
</if>
</where>
<include refid="utility.paging-suffix" />
<include refid="utility-jar.paging-suffix" />
</sql>
<select id="getGroupList" parameterType="map" resultType="dataobject">
@ -48,7 +48,7 @@ INSERT INTO TB_ACTION_GRP (
#{id}
, #{name}
, #{description}
,<include refid="utility.now" />
,<include refid="utility-jar.now" />
)
</insert>
@ -68,21 +68,21 @@ DELETE FROM TB_ACTION_GRP
<select id="getActionList" parameterType="map" resultType="dataobject">
/* 그룹별 기능 가져오기(actionGroupMapper.getActionList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
SELECT GRP_ID
, ACTION
, REG_DT
, RGTR
FROM TB_GRP_ACTION
<if test="groupIDs != null">WHERE GRP_ID IN (<foreach collection="groupIDs" item="groupID" separator=",">#{groupID}</foreach>)</if>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<insert id="addActions" parameterType="map">
/* 그룹별 기능 추가(actionGroupMapper.addActions) */
INSERT INTO TB_GRP_ACTION (GRP_ID, ACTION, REG_DT, RGTR)
SELECT GRP_ID, ACTION,<include refid="utility.now" />, #{currentUser.id}
SELECT GRP_ID, ACTION,<include refid="utility-jar.now" />, #{currentUser.id}
FROM (<foreach collection="actions" item="action" separator="UNION">
SELECT #{groupID} GRP_ID, #{action} ACTION FROM DUAL</foreach>
) A

@ -13,7 +13,7 @@
</resultMap>
<sql id="selectAuthorities">
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
SELECT *
FROM (
SELECT 0 AS AUTH_TYPE
@ -22,7 +22,7 @@ SELECT *
, '시스템 관리자' AS DSCRP
, 'all' AS INF_SCP
, 'all' AS USER_INF_SCP
, <include refid="utility.now"/> AS REG_DT
, <include refid="utility-jar.now"/> AS REG_DT
FROM DUAL
UNION
SELECT 1 AS AUTH_TYPE
@ -31,7 +31,7 @@ SELECT *
, '모든 사용자' AS DSCRP
, 'none' AS INF_SCP
, 'none' AS USER_INF_SCP
, <include refid="utility.now"/> AS REG_DT
, <include refid="utility-jar.now"/> AS REG_DT
FROM DUAL
UNION
SELECT 1 AS AUTH_TYPE
@ -40,7 +40,7 @@ SELECT *
, '로그인한 사용자' AS DSCRP
, 'self' AS INF_SCP
, 'self' AS USER_INF_SCP
, <include refid="utility.now"/> AS REG_DT
, <include refid="utility-jar.now"/> AS REG_DT
FROM DUAL
UNION
SELECT 2 AS AUTH_TYPE
@ -60,8 +60,8 @@ AND AUTH_ID IN (<foreach collection="authIDs" item="authID" separator=",">#{auth
AND ${by} LIKE CONCAT('%', #{term}, '%')
</if>
</where>
<include refid="utility.orderBy"/>
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy"/>
<include refid="utility-jar.paging-suffix" />
</sql>
<select id="getAuthorityList" parameterType="map" resultType="dataobject">
@ -89,7 +89,7 @@ INSERT INTO TB_AUTHORITY (
, #{description}
, #{infoScope}
, #{userInfoScope}
,<include refid="utility.now" />
,<include refid="utility-jar.now" />
)
</insert>
@ -111,7 +111,7 @@ DELETE FROM TB_AUTHORITY
<select id="getActionGroupList" parameterType="map" resultType="dataobject">
/* 권한-기능그룹 가져오기(authorityMapper.getActionGroups) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
SELECT A.AUTH_ID
, A.GRP_ID
, A.REG_DT
@ -119,13 +119,13 @@ SELECT A.AUTH_ID
FROM TB_AUTH_ACTION A
<if test="authIDs != null">WHERE AUTH_ID IN (<foreach collection="authIDs" item="authID" separator=",">#{authID}</foreach>)</if>
ORDER BY AUTH_ID, GRP_ID
<include refid="utility.paging-suffix" />
<include refid="utility-jar.paging-suffix" />
</select>
<insert id="addActionGroups" parameterType="map">
/* 권한-기능그룹 추가(authorityMapper.addActionGroups) */
INSERT INTO TB_AUTH_ACTION (AUTH_ID, GRP_ID, REG_DT)
SELECT AUTH_ID, GRP_ID,<include refid="utility.now" />
SELECT AUTH_ID, GRP_ID,<include refid="utility-jar.now" />
FROM (<foreach collection="groupIDs" item="groupID" separator=" UNION">
SELECT #{authID} AUTH_ID, #{groupID} GRP_ID FROM DUAL</foreach>
) A
@ -159,7 +159,7 @@ SELECT A.AUTH_ID
</select>
<sql id="selectAuthUser">
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
SELECT A.AUTH_ID
, A.USER_ID
, A.REG_DT
@ -178,8 +178,8 @@ SELECT A.AUTH_ID
<if test="userIDs != null">AND A.USER_ID IN (<foreach collection="userIDs" item="userID" separator=",">#{userID}</foreach>)</if>
AND A.USER_ID = B.USER_ID
</where>
<include refid="utility.orderBy"/>
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy"/>
<include refid="utility-jar.paging-suffix" />
</sql>
<select id="getUserList" parameterType="map" resultType="dataobject">
@ -195,7 +195,7 @@ SELECT A.AUTH_ID
<insert id="addUsers" parameterType="map">
/* 권한-사용자 추가(authorityMapper.addUsers) */
INSERT INTO TB_AUTH_USER (AUTH_ID, USER_ID, REG_DT)
SELECT AUTH_ID, USER_ID,<include refid="utility.now" />
SELECT AUTH_ID, USER_ID,<include refid="utility-jar.now" />
FROM (<foreach collection="userIDs" item="userID" separator="UNION">
SELECT #{authID} AUTH_ID, #{userID} USER_ID FROM DUAL</foreach>
) A

@ -42,7 +42,7 @@
</resultMap>
<sql id="selectCategories">
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
SELECT CTGR_ID
, CTGR_NM
, DSCRP
@ -56,8 +56,8 @@ SELECT CTGR_ID
<if test="!includeAll"> AND USE_YN = 'Y'</if>
<if test="categoryIDs != null"> AND CTGR_ID IN (<foreach collection="categoryIDs" item="categoryID" separator=",">#{categoryID}</foreach>)</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</sql>
<select id="getCategoryList" parameterType="map" resultType="dataobject">
@ -85,9 +85,9 @@ INSERT INTO TB_CODE_CTGR (
#{category.id}
, #{category.name}
, #{category.description}
,<include refid="utility.now" />
,<include refid="utility-jar.now" />
, #{currentUser.id}
,<include refid="utility.now" />
,<include refid="utility-jar.now" />
, #{currentUser.id}
, 'Y'
)</insert>
@ -97,7 +97,7 @@ INSERT INTO TB_CODE_CTGR (
UPDATE TB_CODE_CTGR SET
CTGR_NM = #{category.name}
, DSCRP = #{category.description}
, MDFCN_DT =<include refid="utility.now" />
, MDFCN_DT =<include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
WHERE CTGR_ID = #{category.id}
</update>
@ -105,14 +105,14 @@ WHERE CTGR_ID = #{category.id}
<delete id="removeCategories" parameterType="map">
/* 코드 카테고리 제거(codeMapper.removeCategories) */
UPDATE TB_CODE_CTGR SET
MDFCN_DT =<include refid="utility.now" />
MDFCN_DT =<include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
, USE_YN = 'N'
<if test='categoryIDs != null'>WHERE CTGR_ID IN (<foreach collection="categoryIDs" item="categoryID" separator=",">#{categoryID}</foreach>)</if>
</delete>
<sql id="selectGroups">
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
SELECT GRP_ID
, CTGR_ID
, GRP_NM
@ -126,8 +126,8 @@ SELECT GRP_ID
<where><if test="!includeAll"> AND USE_YN = 'Y'</if>
<if test="categoryIDs != null"> AND CTGR_ID IN (<foreach collection="categoryIDs" item="categoryID" separator=",">#{categoryID}</foreach>)</if>
<if test="groupIDs != null"> AND GRP_ID IN (<foreach collection="groupIDs" item="groupID" separator=",">#{groupID}</foreach>)</if></where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" /></sql>
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" /></sql>
<select id="getGroupList" parameterType="dataobject" resultType="dataobject">
/* 코드그룹 목록 조회(codeMapper.getGroupList) */
@ -156,9 +156,9 @@ INSERT INTO TB_CODE_GRP (
, #{group.name}
, #{group.categoryID}
, #{group.description}
,<include refid="utility.now" />
,<include refid="utility-jar.now" />
, #{currentUser.id}
,<include refid="utility.now" />
,<include refid="utility-jar.now" />
, #{currentUser.id}
, 'Y'
)</insert>
@ -169,7 +169,7 @@ UPDATE TB_CODE_GRP SET
GRP_NM = #{group.name}
, CTGR_ID = #{group.categoryID}
, DSCRP = #{group.description}
, MDFCN_DT =<include refid="utility.now" />
, MDFCN_DT =<include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
WHERE GRP_ID = #{group.id}
</update>
@ -178,7 +178,7 @@ UPDATE TB_CODE_GRP SET
/*코드그룹 제거(codeMapper.removeGroups) */
UPDATE TB_CODE_GRP SET
USE_YN = 'N'
, MDFCN_DT =<include refid="utility.now" />
, MDFCN_DT =<include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
<where>
<if test="categoryIDs != null">CTGR_ID IN (<foreach collection="categoryIDs" item="categoryID" separator=",">#{categoryID}</foreach>)</if>
@ -187,7 +187,7 @@ UPDATE TB_CODE_GRP SET
</update>
<sql id="selectCodes">
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
SELECT GRP_ID
, CODE
, CODE_VAL
@ -207,8 +207,8 @@ SELECT GRP_ID
<if test='groupIDs != null'> AND GRP_ID IN (<foreach collection="groupIDs" item="groupID" separator=",">#{groupID}</foreach>)</if>
<if test='codes != null'> AND CODE IN (<foreach collection="codes" item="code" separator=",">#{code}</foreach>)</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</sql>
<select id="getCodeList" parameterType="map" resultType="dataobject">
@ -246,9 +246,9 @@ INSERT INTO TB_CMN_CODE (
, #{code.etc2}
, #{code.etc3}
, #{code.sortOrder}
,<include refid="utility.now" />
,<include refid="utility-jar.now" />
, #{currentUser.id}
,<include refid="utility.now" />
,<include refid="utility-jar.now" />
, #{currentUser.id}
, 'Y'
)
@ -262,7 +262,7 @@ UPDATE TB_CMN_CODE SET
, ETC_1 = #{code.etc1}
, ETC_2 = #{code.etc2}
, ETC_3 = #{code.etc3}
, MDFCN_DT =<include refid="utility.now" />
, MDFCN_DT =<include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
WHERE GRP_ID = #{code.groupID}
AND CODE = #{code.code}
@ -275,7 +275,7 @@ UPDATE TB_CMN_CODE SET
WHEN #{code} THEN #{index}</foreach>
ELSE SRT_ORD
END
, MDFCN_DT =<include refid="utility.now" />
, MDFCN_DT =<include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
WHERE GRP_ID = #{groupID}
AND CODE IN (<foreach collection="codes" item="code" separator=",">#{code}</foreach>)
@ -284,7 +284,7 @@ UPDATE TB_CMN_CODE SET
<update id="removeCodes" parameterType="map">
/* 코드 제거(codeMapper.removeCodes) */
UPDATE TB_CMN_CODE SET
MDFCN_DT =<include refid="utility.now" />
MDFCN_DT =<include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
, USE_YN = 'N'
<where>

@ -35,7 +35,7 @@
FROM TB_DEPT</sql>
<select id="selectDepartmentList" parameterType="map" resultType="dataobject">/* 부서 정보 목록 조회(departmentMapper.selectDepartmentList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
<where>
<if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
@ -46,14 +46,14 @@
<if test="deptIDs != null"> AND DEPT_CD IN (<foreach collection="deptIDs" item="deptID" separator=",">#{deptID}</foreach>)</if>
<if test="!includeAll"> AND USE_YN = 'Y'</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" /></select>
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" /></select>
<select id="selectDepartments" parameterType="map" resultMap="deptRow">/* 부서 정보 객체 가져오기(departmentMapper.selectDepartments) */
<include refid="select" />
WHERE SGG_CD = #{sggID}
<if test="deptIDs != null">AND DEPT_CD IN (<foreach collection="deptIDs" item="deptID" separator=",">#{deptID}</foreach>)</if>
<include refid="utility.orderBy" /></select>
<include refid="utility-jar.orderBy" /></select>
<sql id="sggDepts">
SELECT A.SGG_CD
@ -127,7 +127,7 @@ UPDATE TB_DEPT
<update id="delete" parameterType="map">/* 부서 정보 삭제(departmentMapper.deleteDepartment) */
UPDATE TB_DEPT
SET USE_YN = 'N'
, MDFCN_DT =<include refid="utility.now" />
, MDFCN_DT =<include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
<where><if test="sggIDs != null"> AND SGG_CD IN (<foreach collection="sggIDs" item="sggID" separator=",">#{sggID}</foreach>)</if>
<if test="deptIDs != null"> AND DEPT_CD IN (<foreach collection="deptIDs" item="deptID" separator=",">#{deptID}</foreach>)</if></where></update>

@ -58,7 +58,7 @@ SELECT A.FILE_ID
ORDER BY FILE_ID
</if>
<if test="fileIDs == null">
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
SELECT A.FILE_ID
, A.INF_TYPE
, A.INF_KEY
@ -79,8 +79,8 @@ SELECT A.FILE_ID
<if test="infoKeys != null"> AND INF_KEY IN (<foreach collection="infoKeys" item="infoKey" separator=",">#{infoKey}</foreach>)</if>
AND USE_YN = 'Y'
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</if>
</sql>
@ -106,7 +106,7 @@ SELECT NEW_ID
, CONCAT(DIR, NEW_ID, '.', #{file.extension}) PATH
FROM (
SELECT NVL(MAX(FILE_ID) + 1, CONCAT(THIS_DAY, '00001')) NEW_ID
FROM (<include refid="utility.selectThisDay" />) B
FROM (<include refid="utility-jar.selectThisDay" />) B
LEFT OUTER JOIN TB_FILE A ON FILE_ID LIKE CONCAT(THIS_DAY, '%')
) T1
, (
@ -140,7 +140,7 @@ INSERT INTO TB_FILE (
, #{file.downloadCount}
, #{file.sortOrder}
, #{currentUser.id}
,<include refid="utility.now" />
,<include refid="utility-jar.now" />
, 'Y'
)
</insert>

@ -71,7 +71,7 @@ INSERT INTO TB_MENU (
, #{menu.imageName}
, #{menu.imageConf}
, #{menu.sortOrder}
,<include refid="utility.now" />
,<include refid="utility-jar.now" />
, #{currentUser.id}
)
</insert>

@ -15,7 +15,7 @@
<select id="getPolicyList" parameterType="map" resultType="dataobject">
/* 로그인 정책 목록 조회(policyMapper.getPolicyList) */
<include refid="utility.paging-prefix"/>
<include refid="utility-jar.paging-prefix"/>
SELECT A.USER_ID
, A.USER_NM
, B.IP_ADRS
@ -26,8 +26,8 @@ SELECT A.USER_ID
FROM TB_USER A
LEFT OUTER JOIN TB_LOGIN_POLICY B ON (A.USER_ID = B.USER_ID)
<if test="term != null">WHERE A.${by} LIKE CONCAT('%', #{term}, '%')</if>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix"/>
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix"/>
</select>
<select id="getPolicies" parameterType="map" resultMap="policyRow">
@ -61,9 +61,9 @@ INSERT INTO TB_LOGIN_POLICY (
, #{policy.ipAddress}
, #{policy.duplicateYN}
, #{policy.limitYN}
,<include refid="utility.now" />
,<include refid="utility-jar.now" />
, #{currentUser.id}
,<include refid="utility.now" />
,<include refid="utility-jar.now" />
, #{currentUser.id}
)
</insert>
@ -75,7 +75,7 @@ UPDATE TB_LOGIN_POLICY SET
, DPLCT_YN = #{policy.duplicateYN}
, LIMIT_YN = #{policy.limitYN}
, MDFR = #{currentUser.id}
, MDFCN_DT =<include refid="utility.now" />
, MDFCN_DT =<include refid="utility-jar.now" />
WHERE USER_ID = #{policy.userID}
</update>

@ -43,7 +43,7 @@
FROM TB_SGG</sql>
<select id="selectSigunguList" parameterType="map" resultType="dataobject">/* 시군구 목록 조회(sigunguMapper.selectSigunguList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
<where>
<if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
@ -52,8 +52,8 @@
<if test="sggIDs != null"> AND SGG_CD IN (<foreach collection="sggIDs" item="sggID" separator=",">#{sggID}</foreach>)</if>
<if test="instCodes != null"> AND INST_CD IN (<foreach collection="instCodes" item="instCode" separator=",">#{instCode}</foreach>)</if>
<if test="!includeAll">AND USE_YN = 'Y'</if></where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" /></select>
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" /></select>
<select id="selectSigungus" parameterType="map" resultMap="sggRow">/* 시군구 객체 가져오기(sigunguMapper.selectSigungus) */
<include refid="select" />
@ -120,7 +120,7 @@ UPDATE TB_SGG
<update id="delete" parameterType="map">/* 시군구 삭제(sigunguMapper.delete) */
UPDATE TB_SGG
SET USE_YN = 'N'
, MDFCN_DT =<include refid="utility.now" />
, MDFCN_DT =<include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
WHERE SGG_CD IN (<foreach collection="sggIDs" item="sggID" separator=",">#{sggID}</foreach>)</update>

@ -18,7 +18,7 @@
<select id="getLogs" parameterType="map" resultType="dataobject">
/* 시스템 로그 조회(loggingMapper.getLogs) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
SELECT LOG_ID
, A.LOG_TYPE
, CASE MTD_NM WHEN 'onLogin' THEN '로그인'
@ -56,8 +56,8 @@ SELECT LOG_ID
<if test="userName != null"> AND USER_NM LIKE CONCAT('%', #{userName}, '%')</if>
AND A.LOG_TYPE = C.LOG_TYPE
</where>
<include refid="utility.sortBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.sortBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<insert id="insertLog" parameterType="cokr.xit.base.syslog.ServiceLog">/* 시스템 로그 등록(loggingMapper.insertLog) */
@ -75,7 +75,7 @@ INSERT INTO TB_SYS_LOG (
, IP_ADDR <!-- IP 주소 -->
, REG_DT <!-- 등록 일시 -->
) VALUES (
CONCAT(<include refid="utility.today" />, LPAD(NEXTVAL(SQ_SYS_LOG), 16, '0')) <!-- 로그 ID -->
CONCAT(<include refid="utility-jar.today" />, LPAD(NEXTVAL(SQ_SYS_LOG), 16, '0')) <!-- 로그 ID -->
, #{type} <!-- 로그 유형 -->
, #{url} <!-- URL -->
, #{className} <!-- 클래스 이름 -->
@ -86,7 +86,7 @@ INSERT INTO TB_SYS_LOG (
, #{personalInfo} <!-- 개인 정보 -->
, #{userId} <!-- 사용자 ID -->
, #{ipAddress} <!-- IP 주소 -->
,<include refid="utility.now" />
,<include refid="utility-jar.now" />
)
</insert>

@ -37,7 +37,7 @@
</resultMap>
<sql id="selectUsers">
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
SELECT A.USER_ID
, UPPER(A.USER_ACNT) AS USER_ACNT
, A.USER_NM
@ -100,8 +100,8 @@ SELECT A.USER_ID
AND CNTN_SE_CD = #{type}
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</sql>
<select id="getUserList" parameterType="map" resultType="dataobject">
@ -219,9 +219,9 @@ INSERT INTO TB_USER (
, 'N'
, 0
, NULL
,<include refid="utility.now" />
,<include refid="utility-jar.now" />
, #{createdBy}
,<include refid="utility.now" />
,<include refid="utility-jar.now" />
, #{createdBy}
, 'Y'
, #{status}
@ -249,7 +249,7 @@ UPDATE TB_USER
, CRTFC_DN = #{certificateDn}
, STTS = #{status}
<if test='"D" == status'>, USE_YN = 'N'</if>
, MDFCN_DT =<include refid="utility.now" />
, MDFCN_DT =<include refid="utility-jar.now" />
, MDFR = #{modifiedBy}
WHERE USER_ID = #{id}</update>
@ -259,7 +259,7 @@ UPDATE TB_USER SET
PASSWD = CASE USER_ID<foreach collection="userPasswords" item="userPassword" separator=" ">
WHEN #{userPassword.userID} THEN #{userPassword.password}</foreach>
ELSE PASSWD END
, MDFCN_DT =<include refid="utility.now" />
, MDFCN_DT =<include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
WHERE USER_ID IN (<foreach collection="userIDs" item="userID" separator=",">#{userID}</foreach>)
</update>
@ -269,11 +269,11 @@ UPDATE TB_USER SET
UPDATE TB_USER SET
<if test='lock == true'> LOCK_YN = 'Y'
, LOCK_CNT = LOCK_CNT + 1
, LOCK_DT =<include refid="utility.now" /></if>
, LOCK_DT =<include refid="utility-jar.now" /></if>
<if test='lock == false'> LOCK_YN = 'N'
, LOCK_CNT = 0
, LOCK_DT = NULL</if>
, MDFCN_DT =<include refid="utility.now" />
, MDFCN_DT =<include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
WHERE USER_ID IN (<foreach collection="userIDs" item="userID" separator=",">#{userID}</foreach>)
</update>
@ -283,7 +283,7 @@ UPDATE TB_USER SET
UPDATE TB_USER SET
STTS = #{status}
<if test='"D" == status'>, USE_YN = 'N'</if>
, MDFCN_DT =<include refid="utility.now" />
, MDFCN_DT =<include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
WHERE USER_ID IN (<foreach collection="userIDs" item="userID" separator=",">#{userID}</foreach>)
AND STTS != #{status}

@ -1,46 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="utility">
<!-- For Maria DB -->
<sql id="paging-prefix"><if test="fetchSize != null and fetchSize &gt; 0">
SELECT QROWS.* FROM (
SELECT ROW_NUMBER() OVER(<include refid="utility.sortBy" />) ROW_NUM
, COUNT(*) OVER() TOT_CNT, QBODY.*
FROM (</if></sql>
<sql id="paging-suffix"><if test="fetchSize != null and fetchSize &gt; 0"> ) QBODY
) QROWS
WHERE ROW_NUM BETWEEN ((#{pageNum} - 1) * #{fetchSize}) + 1 AND (#{pageNum} * #{fetchSize})</if></sql>
<select id="foundRows" resultType="dataobject">/* 전체 결과수 가져오기(utility.foundRows) */
SELECT FOUND_ROWS() TOT_CNT</select>
<sql id="sortBy"><if test="orderBy != null and orderBy != ''">ORDER BY ${orderBy}</if></sql>
<sql id="orderBy"><if test="fetchSize == null or fetchSize &lt; 1"><include refid="utility.sortBy" /></if></sql>
<sql id="now">
<if test="_databaseId == 'mariadb'">DATE_FORMAT(CURRENT_TIMESTAMP, '%Y%m%d%H%i%s')</if>
<if test="_databaseId == 'oracle'">TO_CHAR(CURRENT_TIMESTAMP, 'YYYYMMDDHH24MISS')</if>
</sql>
<sql id="selectNow">SELECT<include refid="utility.now" />NOW FROM DUAL</sql>
<sql id="today">
<if test="_databaseId == 'mariadb'">DATE_FORMAT(CURRENT_DATE, '%Y%m%d')</if>
<if test="_databaseId == 'oracle'">TO_CHAR(CURRENT_DATE, 'YYYYMMDD')</if>
</sql>
<sql id="selectToday">SELECT<include refid="utility.today" />TODAY FROM DUAL</sql>
<sql id="thisDay">NVL(#{thisDay},<include refid="utility.today" />)</sql>
<sql id="selectThisDay">SELECT<include refid="utility.thisDay" />THIS_DAY FROM DUAL</sql>
<sql id="currentYear">
<if test="_databaseId == 'mariadb'">DATE_FORMAT(CURRENT_DATE, '%Y')</if>
<if test="_databaseId == 'oracle'">TO_CHAR(CURRENT_DATE, 'YYYY')</if>
</sql>
</mapper>

@ -35,12 +35,12 @@
</sql>
<select id="selectCrdnPayerHstryList" parameterType="map" resultType="dataobject">/* 단속 납부자 이력 목록 조회(crdnPayerHstryMapper.selectCrdnPayerHstryList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
<where>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectCrdnPayerHstrys" parameterType="map" resultType="dataobject">/* 단속 납부자 이력 객체 가져오기(crdnPayerHstryMapper.selectCrdnPayerHstrys) */
@ -53,7 +53,7 @@
AND CPH.RTPYR_ID = #{rtpyrId} /* 납부자 ID */
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<insert id="insertCrdnPayerHstry" parameterType="map">/* 단속 납부자 이력 등록(crdnPayerHstryMapper.insertCrdnPayerHstry) */

@ -45,7 +45,7 @@
</sql>
<select id="selectCrdnSttsHstryList" parameterType="map" resultType="dataobject">/* 단속 상태 이력 목록 조회(crdnSttsHstryMapper.selectCrdnSttsHstryList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
<where>
<if test="sggCd != null">
@ -65,8 +65,8 @@
<if test="schDateTo != null">AND SUBSTR(CSH.REG_DT,1,8) <![CDATA[ <= ]]> #{schDateTo} </if>
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectCrdnSttsHstrys" parameterType="map" resultType="dataobject">/* 단속 상태 이력 객체 가져오기(crdnSttsHstryMapper.selectCrdnSttsHstrys) */
@ -85,7 +85,7 @@
AND CSH.USE_YN = #{useYn}
</if>
</where>
<include refid="utility.sortBy" />
<include refid="utility-jar.sortBy" />
</select>
<insert id="insertCrdnSttsHstry" parameterType="cokr.xit.fims.cmmn.CrdnSttsHstry">/* 단속 상태 이력 등록(crdnSttsHstryMapper.insertCrdnSttsHstry) */
@ -120,9 +120,9 @@
, #{taskDtlId} <!-- 업무 상세 ID -->
, #{etcCn} <!-- 기타 내용 -->
, #{useYn} <!-- 사용 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{modifiedBy} <!-- 수정자 -->
)
</insert>
@ -130,7 +130,7 @@
<update id="updateCrdnSttsHstry" parameterType="cokr.xit.fims.cmmn.CrdnSttsHstry">/* 단속 상태 이력 수정(crdnSttsHstryMapper.updateCrdnSttsHstry) */
UPDATE TB_CRDN_STTS_HSTRY
SET USE_YN = #{useYn} <!-- 사용 여부 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE STTS_HSTRY_ID = #{sttsHstryId} <!-- 상태 이력 ID -->
</update>
@ -138,7 +138,7 @@
<update id="deleteCrdnSttsHstry" parameterType="cokr.xit.fims.cmmn.CrdnSttsHstry">/* 단속 상태 이력 삭제(crdnSttsHstryMapper.deleteCrdnSttsHstry) */
UPDATE TB_CRDN_STTS_HSTRY
SET USE_YN = 'N' <!-- 사용 여부 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE USE_YN = 'Y' <!-- 사용 여부 -->
<if test="sttsHstryId != null">
@ -157,10 +157,10 @@
, CRDN_STTS_CHG_DT = #{crdnSttsChgDt} <!-- 단속 상태 변경 일시 -->
</when>
<otherwise>
, CRDN_STTS_CHG_DT = <include refid="utility.now" /> <!-- 단속 상태 변경 일시 -->
, CRDN_STTS_CHG_DT = <include refid="utility-jar.now" /> <!-- 단속 상태 변경 일시 -->
</otherwise>
</choose>
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE CRDN_ID = #{crdnId} <!-- 단속 ID -->
</update>

@ -40,9 +40,9 @@ INSERT
, #{closDt}
, #{errorCode}
, #{errorMssage}
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{register}
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{updusr}
)
</insert>
@ -95,9 +95,9 @@ INSERT
, #{mobilePageCn}
, #{useInsttIdntfcId}
, #{externalDocumentUuid}
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{register}
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{updusr}
)
</insert>

@ -59,7 +59,7 @@ INSERT
</if>
, #{otptPhotoCnt}
, 'Y'
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{createdBy}
)
</insert>
@ -73,7 +73,7 @@ UPDATE TB_OTPT_BSC_STNG
, BCRN_IMG_FILE_NM = #{bcrnImgFileNm}
</if>
, OTPT_PHOTO_CNT = #{otptPhotoCnt}
, MDFCN_DT = <include refid="utility.now" />
, MDFCN_DT = <include refid="utility-jar.now" />
, MDFR = #{modifiedBy}
WHERE OTPT_BSC_ID = #{otptBscId}
AND USE_YN = 'Y'
@ -157,7 +157,7 @@ INSERT
, #{fontStyle}
, #{otptArtclSeq}
, 'Y'
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{createdBy}
)
</insert>
@ -177,7 +177,7 @@ UPDATE TB_OTPT_FORM_STNG
, FONT_COLR = #{fontColr}
, FONT_STYLE = #{fontStyle}
, OTPT_ARTCL_SEQ = #{otptArtclSeq}
, MDFCN_DT = <include refid="utility.now" />
, MDFCN_DT = <include refid="utility-jar.now" />
, MDFR = #{modifiedBy}
WHERE OTPT_FORM_ID = #{otptFormId}
AND USE_YN = 'Y'
@ -187,7 +187,7 @@ UPDATE TB_OTPT_FORM_STNG
/* 출력 설정 삭제(otptStngMapper.deleteArtclStng) */
UPDATE TB_OTPT_FORM_STNG
SET USE_YN = 'N'
, MDFCN_DT = <include refid="utility.now" />
, MDFCN_DT = <include refid="utility-jar.now" />
, MDFR = #{modifiedBy}
WHERE SGG_CD = #{sggCd}
AND TASK_SE_CD = #{taskSeCd}

@ -55,7 +55,7 @@ INSERT
, #{paddingDirection}
, #{formatting}
, 'Y'
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{createdBy}
)
</insert>
@ -68,7 +68,7 @@ UPDATE TB_OUTSOURCING_FORM_STNG
, ARTCL_SZ = #{artclSz}
, PADDING_DIRECTION = #{paddingDirection}
, FORMATTING = #{formatting}
, MDFCN_DT = <include refid="utility.now" />
, MDFCN_DT = <include refid="utility-jar.now" />
, MDFR = #{modifiedBy}
WHERE OUTSOURCING_FORM_ID = #{outsourcingFormId}
AND USE_YN = 'Y'
@ -78,7 +78,7 @@ UPDATE TB_OUTSOURCING_FORM_STNG
/* 외주요청파일서식 설정 삭제(outsourcingStngMapper.deleteArtclStng) */
UPDATE TB_OUTSOURCING_FORM_STNG
SET USE_YN = 'N'
, MDFCN_DT = <include refid="utility.now" />
, MDFCN_DT = <include refid="utility-jar.now" />
, MDFR = #{modifiedBy}
WHERE SGG_CD = #{sggCd}
AND TASK_SE_CD = #{taskSeCd}

@ -79,7 +79,7 @@ SELECT SGG_CD <!-- 시군구 코드 -->
/* 교부 계좌번호 변경 (stngMapper.updateDtbnActno) */
UPDATE TB_DEPT
SET MDFR = #{mdfr}
, MDFCN_DT = <include refid="utility.now" />
, MDFCN_DT = <include refid="utility-jar.now" />
, DTBN_BANK_NM = #{dtbnBankNm}
, DTBN_ACTNO = #{dtbnActno}
WHERE DEPT_CD = #{deptCd}
@ -107,7 +107,7 @@ INSERT
, #{userId}
, #{taskSeCd}
, 'Y'
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{rgtr}
)
</insert>
@ -116,7 +116,7 @@ INSERT
/* 사용자 기본 업무 변경 (stngMapper.updateDefaultTask) */
UPDATE TB_TASK_MTCHG
SET MDFR = #{mdfr}
, MDFCN_DT = <include refid="utility.now" />
, MDFCN_DT = <include refid="utility-jar.now" />
, TASK_SE_CD = #{taskSeCd}
WHERE TASK_MTCHG_ID = #{taskMtchgId}
</update>

@ -5,7 +5,7 @@
<select id="selectCrackdownList" parameterType="map" resultType="dataobject">
/* 단속자료 목록 조회(crdnListMapper.selectCrackdownList) */
<include refid="utility.paging-prefix"/>
<include refid="utility-jar.paging-prefix"/>
SELECT C.CRDN_ID <!-- 단속 ID -->
, C.SGG_CD <!-- 시군구 코드 -->
, (SELECT SGG_NM FROM TB_SGG WHERE SGG_CD = C.SGG_CD) AS SGG_NM
@ -187,13 +187,13 @@ AND CA.TOWNG_YN = #{towngYn}
</otherwise>
</choose>
</if>
<include refid="utility.sortBy" />
<include refid="utility.paging-suffix"/>
<include refid="utility-jar.sortBy" />
<include refid="utility-jar.paging-suffix"/>
</select>
<select id="selectTodayCrackdownList" parameterType="map" resultType="dataobject">
/* 금일 단속자료 목록 조회(crdnListMapper.selectTodayCrackdownList) */
<include refid="utility.paging-prefix"/>
<include refid="utility-jar.paging-prefix"/>
SELECT C.CRDN_ID <!-- 단속 ID -->
, C.SGG_CD <!-- 시군구 코드 -->
, C.TASK_SE_CD <!-- 업무 구분 코드 -->
@ -217,15 +217,15 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
AND C.SGG_CD = #{sggCd}
AND C.TASK_SE_CD = #{taskSeCd}
AND C.RGTR = #{currentUserId}
AND SUBSTR(C.REG_DT,1,8) = <include refid="utility.today" />
<include refid="utility.sortBy" />
<include refid="utility.paging-suffix"/>
AND SUBSTR(C.REG_DT,1,8) = <include refid="utility-jar.today" />
<include refid="utility-jar.sortBy" />
<include refid="utility-jar.paging-suffix"/>
</select>
<select id="selectPhotoInspectionDataList" parameterType="map" resultType="dataobject">
/* 단속사진 검사 자료 목록 조회(crdnListMapper.selectPhotoInspectionDataList) */
<include refid="utility.paging-prefix"/>
<include refid="utility-jar.paging-prefix"/>
SELECT C.CRDN_ID <!-- 단속 ID -->
, C.SGG_CD <!-- 시군구 코드 -->
, C.TASK_SE_CD <!-- 업무 구분 코드 -->
@ -316,13 +316,13 @@ AND C.CRDN_STTS_CD = #{crdnSttsCd}
<if test="schDateTo != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schDateTo} </if>
</if>
</if>
<include refid="utility.sortBy" />
<include refid="utility.paging-suffix"/>
<include refid="utility-jar.sortBy" />
<include refid="utility-jar.paging-suffix"/>
</select>
<select id="selectSameVehicleMainList" parameterType="map" resultType="dataobject">
/* 동일 차량 단속 그룹 목록 조회(crdnListMapper.selectSameVehicleMainList) */
<include refid="utility.paging-prefix"/>
<include refid="utility-jar.paging-prefix"/>
SELECT GROUP_CONCAT(C.CRDN_ID) AS CRDN_ID_LIST <!-- 단속 ID -->
, C.VHRNO <!-- 차량번호 -->
<choose>
@ -394,8 +394,8 @@ HAVING COUNT(*) <![CDATA[ >= ]]>
</choose>
<if test="schCrdnCntTo != null"> AND COUNT(*) <![CDATA[ <= ]]> #{schCrdnCntTo} </if>
<include refid="utility.sortBy" />
<include refid="utility.paging-suffix"/>
<include refid="utility-jar.sortBy" />
<include refid="utility-jar.paging-suffix"/>
</select>
<select id="selectSameVehicleSubList" parameterType="map" resultType="dataobject">
@ -423,12 +423,12 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
AND C.SGG_CD = #{sggCd}
AND C.TASK_SE_CD = #{taskSeCd}
AND C.CRDN_ID IN (<foreach collection="crdnIds" item="CRDN_ID" separator=",">#{CRDN_ID}</foreach>)
<include refid="utility.sortBy" />
<include refid="utility-jar.sortBy" />
</select>
<select id="selectTagInformationUndefinedDataList" parameterType="map" resultType="dataobject">
/* 표지정보 미확인 자료 목록 조회(crdnListMapper.selectTagInformationUndefinedDataList) */
<include refid="utility.paging-prefix"/>
<include refid="utility-jar.paging-prefix"/>
SELECT C.CRDN_ID <!-- 단속 ID -->
, C.SGG_CD <!-- 시군구 코드 -->
, C.TASK_SE_CD <!-- 업무 구분 코드 -->
@ -478,8 +478,8 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
<if test="schCrdnYmdFrom != null">AND C.CRDN_YMD <![CDATA[ >= ]]> #{schCrdnYmdFrom} </if>
<if test="schCrdnYmdTo != null">AND C.CRDN_YMD <![CDATA[ <= ]]> #{schCrdnYmdTo} </if>
</if>
<include refid="utility.sortBy" />
<include refid="utility.paging-suffix"/>
<include refid="utility-jar.sortBy" />
<include refid="utility-jar.paging-suffix"/>
</select>
<select id="countCrdn" parameterType="map" resultType="int">

@ -49,7 +49,7 @@ SELECT STDG_CD
<select id="selectLinkFileLayoutMetadataList" parameterType="cokr.xit.fims.crdn.CrdnQuery" resultType="dataObject">
/* 연계파일 레이아웃 목록 조회(crdnStngMapper.selectLinkFileLayoutMetadataList) */
<include refid="utility.paging-prefix"/>
<include refid="utility-jar.paging-prefix"/>
SELECT A.FILE_LAYOUT_ID
, GET_CODE_NM('FIM054', A.TASK_SE_CD) AS TASK_SE_NM
, (SELECT DEPT_NM FROM TB_DEPT WHERE DEPT_CD = A.DEPT_CD) AS DEPT_NM
@ -69,8 +69,8 @@ SELECT A.FILE_LAYOUT_ID
WHERE A.USE_YN = 'Y'
AND A.TASK_SE_CD = #{taskSeCd}
AND A.SGG_CD = #{sggCd}
<include refid="utility.sortBy" />
<include refid="utility.paging-suffix"/>
<include refid="utility-jar.sortBy" />
<include refid="utility-jar.paging-suffix"/>
</select>
<select id="selectLinkFileLayoutMetadataInfo" parameterType="string" resultType="dataObject">
@ -164,9 +164,9 @@ INSERT
, #{layoutDescriptor.increaseItemInFileGroup}
, #{layoutDescriptor.increaseTypeInFileGroup}
, 'Y'
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{currentUser.id}
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{currentUser.id}
)
</insert>
@ -216,7 +216,7 @@ UPDATE TB_CRDN_FILE_LAYOUT
, SAME_ITEMS = #{layoutDescriptor.sameItemsInFileGroup}
, INCREASE_ITEM = #{layoutDescriptor.increaseItemInFileGroup}
, INCREASE_TYPE = #{layoutDescriptor.increaseTypeInFileGroup}
, MDFCN_DT = <include refid="utility.now" />
, MDFCN_DT = <include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
WHERE FILE_LAYOUT_ID = #{layoutDescriptor.fileLayoutId}
</update>
@ -238,7 +238,7 @@ UPDATE TB_FTP
/* 연계파일 레이아웃 삭제(crdnStngMapper.deleteCrdnFileLayout) */
UPDATE TB_CRDN_FILE_LAYOUT
SET USE_YN = 'N'
, MDFCN_DT = <include refid="utility.now" />
, MDFCN_DT = <include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
WHERE FILE_LAYOUT_ID = #{fileLayoutId}
</update>

@ -46,7 +46,7 @@ SELECT A.TEAM_ID
/* 단속팀 정보 삭제(crdnTeamMapper.deleteTeamInfo) */
UPDATE TB_TEAM
SET USE_YN = 'N'
, MDFCN_DT = <include refid="utility.now" />
, MDFCN_DT = <include refid="utility-jar.now" />
, MDFR = #{removedBy}
WHERE TEAM_ID = #{teamId}
</update>
@ -89,9 +89,9 @@ INSERT
, #{teamer4}
, #{etcCn}
, 'Y'
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{createdBy}
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{modifiedBy}
)
</insert>
@ -100,7 +100,7 @@ INSERT
/* 단속팀 정보 수정(crdnTeamMapper.updateTeamInfo) */
UPDATE TB_TEAM
SET ETC_CN = #{etcCn}
, MDFCN_DT = <include refid="utility.now" />
, MDFCN_DT = <include refid="utility-jar.now" />
, MDFR = #{modifiedBy}
WHERE TEAM_ID = #{teamId}
</update>

@ -5,8 +5,8 @@
<update id="updateCrdnStatus" parameterType="cokr.xit.fims.crdn.Crdn">/* 단속 상태 수정(crdnUpdtMapper.updateCrdnStatus) */
UPDATE TB_CRDN
SET CRDN_STTS_CD = #{crdnSttsCd} /* 단속 상태 */
, CRDN_STTS_CHG_DT = <include refid="utility.now" /> /* 단속 상태 변경 일시 */
, MDFCN_DT = <include refid="utility.now" /> /* 수정일시 */
, CRDN_STTS_CHG_DT = <include refid="utility-jar.now" /> /* 단속 상태 변경 일시 */
, MDFCN_DT = <include refid="utility-jar.now" /> /* 수정일시 */
, MDFR = #{modifiedBy} /* 수정자 */
WHERE CRDN_ID = #{crdnId} /* 단속 ID */
AND DEL_YN = 'N' /* 삭제 여부 */
@ -15,7 +15,7 @@
<update id="updateCrdn" parameterType="cokr.xit.fims.crdn.Crdn">
/* 단속정보 수정(crdnUpdtMapper.updateCrdn) */
UPDATE TB_CRDN
SET MDFCN_DT = <include refid="utility.now" /> /* 수정일시 */
SET MDFCN_DT = <include refid="utility-jar.now" /> /* 수정일시 */
, MDFR = #{modifiedBy} /* 수정자 */
, ATCH_FILE_CNT = ATCH_FILE_CNT + (#{changeFileCnt})
, RTPYR_ID = #{rtpyrId} <!-- 납부자 ID -->
@ -42,7 +42,7 @@
, ADVNTCE_AMT = #{advntceAmt} <!-- 사전통지 금액 -->
<if test="crdnSttsCd != ''">
, CRDN_STTS_CD = #{crdnSttsCd} <!-- 단속 상태 코드 -->
, CRDN_STTS_CHG_DT = <include refid="utility.now" /> <!-- 단속 상태 변경 일시 -->
, CRDN_STTS_CHG_DT = <include refid="utility-jar.now" /> <!-- 단속 상태 변경 일시 -->
</if>
WHERE CRDN_ID = #{crdnId} /* 단속 ID */
</update>
@ -50,7 +50,7 @@
<update id="updateCrdnAddition" parameterType="cokr.xit.fims.crdn.Crdn">
/* 단속 부가정보 수정(crdnUpdtMapper.updateCrdnAddition) */
UPDATE TB_CRDN_ADI
SET MDFCN_DT = <include refid="utility.now" /> /* 수정일시 */
SET MDFCN_DT = <include refid="utility-jar.now" /> /* 수정일시 */
, MDFR = #{modifiedBy} /* 수정자 */
<if test="taskSeCd == 'PVS'">
, OVTM_YN = #{ovtmYn} <!-- 시간외 여부 -->
@ -87,7 +87,7 @@
/* 표지정보확인 수정(crdnUpdtMapper.updateTagInfo) */
UPDATE TB_CRDN_ADI
SET PRK_PSBLTY_RSLT_CD = '1'
, MDFCN_DT = <include refid="utility.now" /> /* 수정일시 */
, MDFCN_DT = <include refid="utility-jar.now" /> /* 수정일시 */
, MDFR = #{modifiedBy} /* 수정자 */
WHERE CRDN_ID = #{crdnId} /* 단속 ID */
</update>
@ -96,7 +96,7 @@
/* 시간초과 여부 수정(crdnUpdtMapper.overTimeInfo) */
UPDATE TB_CRDN_ADI
SET OVTM_YN = #{ovtmYn}
, MDFCN_DT = <include refid="utility.now" /> /* 수정일시 */
, MDFCN_DT = <include refid="utility-jar.now" /> /* 수정일시 */
, MDFR = #{modifiedBy} /* 수정자 */
WHERE CRDN_ID = #{crdnId} /* 단속 ID */
</update>
@ -104,7 +104,7 @@
<update id="updateCrdnAmt" parameterType="cokr.xit.fims.crdn.Crdn">
/* 단속 금액 수정(crdnUpdtMapper.updateCrdnAmt) */
UPDATE TB_CRDN
SET MDFCN_DT = <include refid="utility.now" /> /* 수정일시 */
SET MDFCN_DT = <include refid="utility-jar.now" /> /* 수정일시 */
, MDFR = #{modifiedBy} /* 수정자 */
, FFNLG_CRDN_AMT = #{ffnlgCrdnAmt}
, FFNLG_AMT = #{ffnlgAmt}
@ -115,7 +115,7 @@
<update id="updateEtcCn" parameterType="cokr.xit.fims.crdn.Crdn">
/* 단속 기타사항 수정(crdnUpdtMapper.updateEtcCn) */
UPDATE TB_CRDN
SET MDFCN_DT = <include refid="utility.now" /> /* 수정일시 */
SET MDFCN_DT = <include refid="utility-jar.now" /> /* 수정일시 */
, MDFR = #{modifiedBy} /* 수정자 */
, ETC_CN = #{etcCn}
WHERE CRDN_ID = #{crdnId} /* 단속 ID */
@ -142,7 +142,7 @@
, FFNLG_AMT = #{ffnlgAmt} <!-- 과태료 금액 -->
, ADVNTCE_AMT = #{advntceAmt} <!-- 사전통지 금액 -->
, ETC_CN = #{etcCn} <!-- 기타 내용 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE CRDN_ID = #{crdnId} <!-- 단속 ID -->
AND DEL_YN = 'N' <!-- 삭제 여부 -->
@ -151,7 +151,7 @@
<update id="deleteCrdn" parameterType="map">/* 단속 정보 삭제(crdnUpdtMapper.deleteCrdn) */
UPDATE TB_CRDN
SET DEL_YN = 'Y'
, DEL_DT = <include refid="utility.now" /> <!-- 삭제일시 -->
, DEL_DT = <include refid="utility-jar.now" /> <!-- 삭제일시 -->
, DLTR = #{removedBy} <!-- 삭제자 -->
, DEL_RSN = #{delRsn} <!-- 삭제 사유 -->
WHERE CRDN_ID IN (
@ -163,7 +163,7 @@
<update id="deleteCrdnAdi" parameterType="map">/* 단속 부가 정보 삭제(crdnUpdtMapper.deleteCrdnAdi) */
UPDATE TB_CRDN_ADI
SET DEL_YN = 'Y'
, DEL_DT = <include refid="utility.now" /> <!-- 삭제일시 -->
, DEL_DT = <include refid="utility-jar.now" /> <!-- 삭제일시 -->
, DLTR = #{removedBy} <!-- 삭제자 -->
, DEL_RSN = #{delRsn} <!-- 삭제 사유 -->
WHERE CRDN_ID IN (
@ -175,7 +175,7 @@
<update id="deleteCrdnPayer" parameterType="map">/* 단속 납부자 ID 삭제(crdnUpdtMapper.deleteCrdnPayer) */
UPDATE TB_CRDN
SET RTPYR_ID = NULL <!-- 납부자 ID -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE CRDN_ID = #{crdnId} <!-- 단속 ID -->
AND RTPYR_ID = #{rtpyrId} <!-- 납부자 ID -->
@ -186,9 +186,9 @@
/* 세외수입 단속 연계 여부 변경(crdnUpdtMapper.updateNxrpCrdnLinkYn) */
UPDATE TB_CRDN
SET NXRP_CRDN_LINK_YN = 'Y' <!-- 세외수입 단속 연계 여부 -->
, NXRP_CRDN_LINK_DT = <include refid="utility.now" /> <!-- 세외수입 단속 연계 일시 -->
, NXRP_CRDN_LINK_DT = <include refid="utility-jar.now" /> <!-- 세외수입 단속 연계 일시 -->
, NXRP_CRDN_LINK_USER_ID = #{modifiedBy} <!-- 세외수입 단속 연계 사용자 ID -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE CRDN_ID = #{crdnId} <!-- 단속 ID -->
AND DEL_YN = 'N' <!-- 삭제 여부 -->
@ -198,7 +198,7 @@
UPDATE TB_CRDN
SET ADVNTCE_BGNG_YMD = #{advntceBgngYmd} <!-- 사전통지 시작 일자 -->
, ADVNTCE_DUDT_YMD = #{advntceDudtYmd} <!-- 사전통지 납기 일자 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE CRDN_ID = #{crdnId} <!-- 단속 ID -->
AND DEL_YN = 'N' <!-- 삭제 여부 -->

@ -4,7 +4,7 @@
<select id="selectExemptionVehicleList" parameterType="cokr.xit.fims.crdn.CrdnQuery" resultType="dataobject">
/* 면제차량 목록 조회(exmptnVhclMapper.selectExemptionVehicleList) */
<include refid="utility.paging-prefix"/>
<include refid="utility-jar.paging-prefix"/>
SELECT A.EXMPTN_VHCL_ID
, A.VHRNO
, A.EXMPTN_RSN
@ -32,8 +32,8 @@ SELECT A.EXMPTN_VHCL_ID
AND A.EXMPTN_BGNG_YMD <![CDATA[ <= ]]> #{crdnYmd}
AND A.EXMPTN_END_YMD <![CDATA[ >= ]]> #{crdnYmd}
</if>
<include refid="utility.sortBy" />
<include refid="utility.paging-suffix"/>
<include refid="utility-jar.sortBy" />
<include refid="utility-jar.paging-suffix"/>
</select>
<select id="selectExemptionVehicleInfo" parameterType="string" resultType="dataobject">
@ -83,9 +83,9 @@ INSERT INTO TB_EXMPTN_VHCL (
, #{exmptnBgngYmd} <!-- 면제 시작 일자-->
, #{exmptnEndYmd} <!-- 면제 종료 일자 -->
, 'N' <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{modifiedBy} <!-- 수정자 -->
)
</insert>
@ -98,7 +98,7 @@ UPDATE TB_EXMPTN_VHCL
, OWNR_NM = #{ownrNm} <!-- 소유자명 -->
, EXMPTN_BGNG_YMD = #{exmptnBgngYmd} <!-- 면제 시작 일자 -->
, EXMPTN_END_YMD = #{exmptnEndYmd} <!-- 면제 종료 일자 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE EXMPTN_VHCL_ID = #{exmptnVhclId}
</update>
@ -108,7 +108,7 @@ UPDATE TB_EXMPTN_VHCL
UPDATE TB_EXMPTN_VHCL
SET DEL_YN = 'Y'
, DEL_RSN = #{delRsn} <!-- 삭제 사유 -->
, DEL_DT = <include refid="utility.now" /> <!-- 삭제 일시 -->
, DEL_DT = <include refid="utility-jar.now" /> <!-- 삭제 일시 -->
, DLTR = #{removedBy} <!-- 삭제자 -->
WHERE EXMPTN_VHCL_ID = #{exmptnVhclId}
</update>

@ -139,9 +139,9 @@ VALUES (
, #{taskSeCd}
, #{headerCn}
, #{footerCn}
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{modifiedBy}
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{modifiedBy}
)
</insert>
@ -151,7 +151,7 @@ VALUES (
UPDATE TB_CVLCPT_BSC_WORDS
SET HEADER_CN = #{headerCn}
, FOOTER_CN = #{footerCn}
, MDFCN_DT = <include refid="utility.now" />
, MDFCN_DT = <include refid="utility-jar.now" />
, MDFR = #{modifiedBy}
WHERE SGG_CD = #{sggCd}
AND TASK_SE_CD = #{taskSeCd}
@ -194,9 +194,9 @@ VALUES (
, #{prcsSmry}
, #{prcsRsltCn}
, 'Y'
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{modifiedBy}
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{modifiedBy}
)
</insert>
@ -205,7 +205,7 @@ VALUES (
/* 본문 문구 설정 변경(answerWordsMapper.updateAnswerBodyWordsInfo) */
UPDATE TB_CVLCPT_ANS_WORDS
SET PRCS_RSLT_CN = #{prcsRsltCn}
, MDFCN_DT = <include refid="utility.now" />
, MDFCN_DT = <include refid="utility-jar.now" />
, MDFR = #{modifiedBy}
WHERE ANS_WORDS_ID = #{ansWordsId}
</update>
@ -214,7 +214,7 @@ UPDATE TB_CVLCPT_ANS_WORDS
/* 본문 문구 설정 삭제(answerWordsMapper.deleteCvlcptAnswerWordsInfo) */
UPDATE TB_CVLCPT_ANS_WORDS
SET USE_YN = 'N'
, MDFCN_DT = <include refid="utility.now" />
, MDFCN_DT = <include refid="utility-jar.now" />
, MDFR = #{modifiedBy}
WHERE ANS_WORDS_ID = #{ansWordsId}
</update>

@ -69,7 +69,7 @@ INSERT INTO TB_CRDN_CVLCPT (
<select id="selectCivilComplaintList" parameterType="map" resultType="dataobject">
/* 민원자료 목록 조회(crdnCvlcptMapper.selectCivilComplaintList) */
<include refid="utility.paging-prefix"/>
<include refid="utility-jar.paging-prefix"/>
SELECT C.CRDN_ID <!-- 단속 ID -->
, C.SGG_CD <!-- 시군구 코드 -->
, C.TASK_SE_CD <!-- 업무 구분 코드 -->
@ -216,13 +216,13 @@ AND (SELECT VLTN_ARTCL FROM TB_VLTN WHERE VLTN_ID = C.VLTN_ID) LIKE CONCAT('%',
</otherwise>
</choose>
</if>
<include refid="utility.sortBy" />
<include refid="utility.paging-suffix"/>
<include refid="utility-jar.sortBy" />
<include refid="utility-jar.paging-suffix"/>
</select>
<select id="selectCivilComplaintReceiptDataList" parameterType="map" resultType="dataobject">
/* 민원접수자료 목록 조회(crdnCvlcptMapper.selectCivilComplaintReceiptDataList) */
<include refid="utility.paging-prefix"/>
<include refid="utility-jar.paging-prefix"/>
SELECT C.CRDN_ID <!-- 단속 ID -->
, CC.CVLCPT_LINK_ID
, C.SGG_CD <!-- 시군구 코드 -->
@ -299,8 +299,8 @@ AND (SELECT VLTN_ARTCL FROM TB_VLTN WHERE VLTN_ID = C.VLTN_ID) LIKE CONCAT('%',
</otherwise>
</choose>
</if>
<include refid="utility.sortBy" />
<include refid="utility.paging-suffix"/>
<include refid="utility-jar.sortBy" />
<include refid="utility-jar.paging-suffix"/>
</select>
<select id="selectCivilComplaintOriginalInfo" parameterType="map" resultType="dataobject">
@ -371,11 +371,11 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
<update id="updateCvlcptProcessSection" parameterType="map">
/* 초기자료 민원 처리구분 수정(crdnCvlcptMapper.updateCvlcptProcessSection) */
UPDATE TB_CRDN_CVLCPT
SET MDFCN_DT = <include refid="utility.now" /> /* 수정일시 */
SET MDFCN_DT = <include refid="utility-jar.now" /> /* 수정일시 */
, MDFR = #{currentUser.id} /* 수정자 */
, CVLCPT_PRCS_PIC = #{currentUser.id} /* 민원 처리 담당자 */
, CVLCPT_PRCS_PIC_NM = (SELECT USER_NM FROM TB_USER WHERE USER_ID=#{currentUser.id})
, CVLCPT_PRCS_CMPTN_DT = <include refid="utility.now" />
, CVLCPT_PRCS_CMPTN_DT = <include refid="utility-jar.now" />
, CVLCPT_PRCS_CD = #{crdnCvlcpt.cvlcptPrcsCd} /* 민원처리코드 */
, CVLCPT_TRSM_CD = #{crdnCvlcpt.cvlcptTrsmCd} /* 민원전송코드 */
, CVLCPT_PRCS_SMRY = #{crdnCvlcpt.cvlcptPrcsSmry} /* 민원처리요약 */
@ -388,11 +388,11 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
<update id="updateCvlcptProcessSectionForSendBack" parameterType="cokr.xit.fims.cvlc.CrdnCvlcpt">
/* 반송 민원 처리구분 수정(crdnCvlcptMapper.updateCvlcptProcessSectionForSendBack) */
UPDATE TB_CRDN_CVLCPT
SET MDFCN_DT = <include refid="utility.now" /> /* 수정일시 */
SET MDFCN_DT = <include refid="utility-jar.now" /> /* 수정일시 */
, MDFR = #{modifiedBy} /* 수정자 */
, CVLCPT_PRCS_PIC = #{modifiedBy} /* 민원 처리 담당자 */
, CVLCPT_PRCS_PIC_NM = (SELECT USER_NM FROM TB_USER WHERE USER_ID=#{modifiedBy})
, CVLCPT_PRCS_CMPTN_DT = <include refid="utility.now" />
, CVLCPT_PRCS_CMPTN_DT = <include refid="utility-jar.now" />
, CVLCPT_PRCS_CD = '01' /* 민원처리코드 */
, CVLCPT_TRSM_CD = '04' /* 민원전송코드 */
, CVLCPT_PRCS_SMRY = '' /* 민원처리요약 */
@ -406,7 +406,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
UPDATE TB_CRDN_CVLCPT
SET CVLCPT_PRCS_SMRY = NULL /* 민원 처리 요약 */
, CVLCPT_PRCS_RSLT_CN = NULL /* 민원 처리 결과 내용 */
, MDFCN_DT = <include refid="utility.now" /> /* 수정 일시 */
, MDFCN_DT = <include refid="utility-jar.now" /> /* 수정 일시 */
, MDFR = #{modifiedBy} /* 수정자 */
WHERE CVLCPT_LINK_ID = #{cvlcptLinkId} /* 민원 연계 ID */
AND DEL_YN = 'N'
@ -414,7 +414,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
<select id="selectCivilComplaintAnswerTargetDataList" parameterType="map" resultType="dataobject">
/* 민원답변대상자료 목록 조회(crdnCvlcptMapper.selectCivilComplaintAnswerTargetDataList) */
<include refid="utility.paging-prefix"/>
<include refid="utility-jar.paging-prefix"/>
SELECT C.CRDN_ID <!-- 단속 ID -->
, C.SGG_CD <!-- 시군구 코드 -->
, C.TASK_SE_CD <!-- 업무 구분 코드 -->
@ -499,8 +499,8 @@ AND (SELECT VLTN_ARTCL FROM TB_VLTN WHERE VLTN_ID = C.VLTN_ID) LIKE CONCAT('%',
</otherwise>
</choose>
</if>
<include refid="utility.sortBy" />
<include refid="utility.paging-suffix"/>
<include refid="utility-jar.sortBy" />
<include refid="utility-jar.paging-suffix"/>
</select>
@ -520,7 +520,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
/* 답변 내용 변경(crdnCvlcptMapper.updateAnswerContent) */
UPDATE TB_CRDN_CVLCPT
SET CVLCPT_PRCS_RSLT_CN = #{cvlcptPrcsRsltCn}
, MDFCN_DT = <include refid="utility.now" /> /* 수정일시 */
, MDFCN_DT = <include refid="utility-jar.now" /> /* 수정일시 */
, MDFR = #{modifiedBy} /* 수정자 */
WHERE CVLCPT_LINK_ID = #{cvlcptLinkId}
</update>
@ -550,10 +550,10 @@ UPDATE TB_CRDN_CVLCPT
<if test="cvlcptPrcsRsltCn != null and cvlcptPrcsRsltCn != ''">
, CVLCPT_PRCS_RSLT_CN = #{cvlcptPrcsRsltCn} /* 민원 처리 결과 내용 */
</if>
, CVLCPT_PRCS_CMPTN_DT = <include refid="utility.now" />
, CVLCPT_PRCS_CMPTN_DT = <include refid="utility-jar.now" />
, CVLCPT_PRCS_PIC_NM = (SELECT USER_NM FROM TB_USER WHERE USER_ID=#{modifiedBy})
, CVLCPT_PRCS_PIC = #{modifiedBy}
, MDFCN_DT = <include refid="utility.now" /> /* 수정일시 */
, MDFCN_DT = <include refid="utility-jar.now" /> /* 수정일시 */
, MDFR = #{modifiedBy} /* 수정자 */
WHERE CVLCPT_LINK_ID = #{cvlcptLinkId}
</update>
@ -594,7 +594,7 @@ SELECT CC.CVLCPT_LINK_ID /* 민원 연계 ID */
<update id="updateCrdn" parameterType="map">
/* 단속정보 수정(crdnCvlcptMapper.updateCrdn) */
UPDATE TB_CRDN
SET MDFCN_DT = <include refid="utility.now" /> /* 수정일시 */
SET MDFCN_DT = <include refid="utility-jar.now" /> /* 수정일시 */
, MDFR = #{currentUser.id} /* 수정자 */
, RTPYR_ID = #{crdn.rtpyrId} /* 납부자 ID */
, ADDR_SN = #{crdn.addrSn} /* 주소 일련번호 */
@ -620,7 +620,7 @@ SELECT CC.CVLCPT_LINK_ID /* 민원 연계 ID */
</if>
<if test='changeStatusYn == "Y"'>
, CRDN_STTS_CD = #{crdn.crdnSttsCd} /* 단속 상태 코드 */
, CRDN_STTS_CHG_DT = <include refid="utility.now" /> /* 단속 상태 변경 일시 */
, CRDN_STTS_CHG_DT = <include refid="utility-jar.now" /> /* 단속 상태 변경 일시 */
</if>
WHERE CRDN_ID = #{crdn.crdnId} /* 단속 ID */
</update>
@ -628,7 +628,7 @@ SELECT CC.CVLCPT_LINK_ID /* 민원 연계 ID */
<update id="updateCrdnAddition" parameterType="map">
/* 단속 부가정보 수정(crdnCvlcptMapper.updateCrdnAddition) */
UPDATE TB_CRDN_ADI
SET MDFCN_DT = <include refid="utility.now" /> /* 수정일시 */
SET MDFCN_DT = <include refid="utility-jar.now" /> /* 수정일시 */
, MDFR = #{currentUser.id} /* 수정자 */
<if test="taskSeCd == 'PVS'">
, OVTM_YN = #{crdn.ovtmYn} <!-- 시간외 여부 -->
@ -714,9 +714,9 @@ SELECT #{newCrdnId}
, '01'
, 'N'
, 'N'
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
, SGG_CD
, TASK_SE_CD
@ -792,9 +792,9 @@ SELECT #{newCrdnId}
, OVTM_YN
, OVTM_PRTTN_YN
, DEL_YN
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
FROM TB_CRDN_ADI
WHERE CRDN_ID = #{crdnId}

@ -4,7 +4,7 @@
<select id="selectDmndDataList" parameterType="cokr.xit.fims.crdn.CrdnQuery" resultType="dataobject">
/* 새올요청자료 목록 조회(saCvlcptIndviDmndMapper.selectDmndDataList) */
<include refid="utility.paging-prefix"/>
<include refid="utility-jar.paging-prefix"/>
SELECT SA.INDIV_ID <!-- 개별 ID -->
, SA.DMND_YMD <!-- 요청일자 -->
, SA.RCPT_YMD <!-- 접수 일자 -->
@ -25,8 +25,8 @@ SELECT SA.INDIV_ID <!-- 개별 ID -->
<if test="schDmndYmdFrom != null">AND SA.DMND_YMD <![CDATA[ >= ]]> #{schDmndYmdFrom} </if>
<if test="schDmndYmdTo != null">AND SA.DMND_YMD <![CDATA[ <= ]]> #{schDmndYmdTo} </if>
</if>
<include refid="utility.sortBy" />
<include refid="utility.paging-suffix"/>
<include refid="utility-jar.sortBy" />
<include refid="utility-jar.paging-suffix"/>
</select>
<insert id="insertDmndDataInfo" parameterType="cokr.xit.fims.cvlc.CrdnCvlcpt">
@ -59,12 +59,12 @@ INSERT
, #{taskSeCd}
, REPLACE(#{rcptYmd},'-','')
, LPAD(#{pstNo}, 6, '0')
, <include refid="utility.today" />
, <include refid="utility-jar.today" />
, '0'
, 'N'
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{modifiedBy}
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{modifiedBy}
)
</insert>
@ -73,7 +73,7 @@ INSERT
/* 새올요청자료 삭제(saCvlcptIndviDmndMapper.deleteDmndDataInfo) */
UPDATE TB_SA_CVLCPT_INDIV_DMND
SET DEL_YN = 'Y'
, DEL_DT = <include refid="utility.now" /> /* 삭제일시 */
, DEL_DT = <include refid="utility-jar.now" /> /* 삭제일시 */
, DLTR = #{removedBy} /* 삭제자 */
WHERE INDIV_ID IN (
<foreach collection="indivIds" item="indivId" separator=",">#{indivId}</foreach>

@ -61,9 +61,9 @@ VALUES (
, #{mailTtlNm}
, #{mailCn}
, 'Y'
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{modifiedBy}
, <include refid="utility.now" />
, <include refid="utility-jar.now" />
, #{modifiedBy}
)
</insert>
@ -73,7 +73,7 @@ VALUES (
UPDATE TB_CVLCPT_ANS_WORDS
SET MAIL_TTL_NM = #{mailTtlNm}
, MAIL_CN = #{mailCn}
, MDFCN_DT = <include refid="utility.now" />
, MDFCN_DT = <include refid="utility-jar.now" />
, MDFR = #{modifiedBy}
WHERE ANS_WORDS_ID = #{ansWordsId}
</update>

@ -49,7 +49,7 @@
</sql>
<select id="selectEpostDlvrRsltList" parameterType="map" resultType="dataobject">/* 전자우편 배달 결과 목록 조회(epostDlvrRsltMapper.selectEpostDlvrRsltList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
<where>
<if test="conKey != null">
@ -59,8 +59,8 @@
AND REGINO = #{regino} /* 등기번호 */
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectEpostDlvrRslts" parameterType="map" resultType="dataobject">/* 전자우편 배달 결과 객체 가져오기(epostDlvrRsltMapper.selectEpostDlvrRslts) */
@ -73,7 +73,7 @@
AND REGINO = #{regino} /* 등기번호 */
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<insert id="insertEpostDlvrRslt" parameterType="map">/* 전자우편 배달 결과 등록(epostDlvrRsltMapper.insertEpostDlvrRslt) */
@ -109,9 +109,9 @@ INSERT INTO TB_EPOST_DLVR_RSLT (
, #{epostDlvrRslt.subrecprsnnm} <!-- 수령인명 -->
, #{epostDlvrRslt.relrecprsncd} <!-- 수령인관계코드 -->
, #{epostDlvrRslt.relrecprsncdnm} <!-- 수령인관계명 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
)
</insert>
@ -130,7 +130,7 @@ UPDATE TB_EPOST_DLVR_RSLT SET
, SUBRECPRSNNM = #{epostDlvrRslt.subrecprsnnm} <!-- 수령인명 -->
, RELRECPRSNCD = #{epostDlvrRslt.relrecprsncd} <!-- 수령인관계코드 -->
, RELRECPRSNCDNM = #{epostDlvrRslt.relrecprsncdnm} <!-- 수령인관계명 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{currentUser.id} <!-- 수정자 -->
WHERE DLVR_RSLT_ID = #{epostDlvrRslt.dlvrRsltId}
</update>
@ -138,7 +138,7 @@ UPDATE TB_EPOST_DLVR_RSLT SET
<update id="deleteEpostDlvrRslt" parameterType="map">/* 전자우편 배달 결과 삭제(epostDlvrRsltMapper.deleteEpostDlvrRslt) */
UPDATE TB_EPOST_DLVR_RSLT SET
USE_YN = 'N'
, MDFCN_DT =<include refid="utility.now" />
, MDFCN_DT =<include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
WHERE DLVR_RSLT_ID = #{epostDlvrRslt.dlvrRsltId}
</update>

@ -44,7 +44,7 @@
</sql>
<select id="selectEpostGdntcList" parameterType="map" resultType="dataobject">/* 전자우편 안내문 목록 조회(epostGdntcMapper.selectEpostGdntcList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
WHERE EG.SGG_CD = #{sggCd} <!-- 시군구 코드 -->
AND EG.TASK_SE_CD = #{taskSeCd} <!-- 업무 구분 코드 -->
@ -104,8 +104,8 @@
</otherwise>
</choose>
</if>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectEpostGdntcs" parameterType="map" resultType="dataobject">/* 전자우편 안내문 객체 가져오기(epostGdntcMapper.selectEpostGdntcs) */
@ -123,7 +123,7 @@
AND EG.USE_YN = #{useYn} <!-- 사용 여부 -->
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<insert id="insertEpostGdntc" parameterType="cokr.xit.fims.epst.EpostGdntc">/* 전자우편 안내문 등록(epostGdntcMapper.insertEpostGdntc) */
@ -156,9 +156,9 @@
, #{wordsCn} <!-- 문구 내용 -->
, #{lastUseDt} <!-- 최종 사용 일시 -->
, 'Y' <!-- 사용 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{modifiedBy} <!-- 수정자 -->
)
</insert>
@ -168,7 +168,7 @@
SET SNDNG_SE_CD = #{sndngSeCd} <!-- 발송 구분 코드 -->
, TTL_NM = #{ttlNm} <!-- 제목 명 -->
, WORDS_CN = #{wordsCn} <!-- 문구 내용 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE GDNTC_ID = #{gdntcId} <!-- 안내문 ID -->
AND USE_YN = 'Y' <!-- 사용 여부 -->
@ -177,7 +177,7 @@
<update id="deleteEpostGdntc" parameterType="cokr.xit.fims.epst.EpostGdntc">/* 전자우편 안내문 삭제(epostGdntcMapper.deleteEpostGdntc) */
UPDATE TB_EPOST_GDNTC
SET USE_YN = 'N' <!-- 사용 여부 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
<choose>
<when test="gdntcIds != null">

@ -161,7 +161,7 @@
</sql>
<select id="selectEpostRcptDtlList" parameterType="map" resultType="dataobject">/* 전자우편 접수 상세 목록 조회(epostRcptDtlMapper.selectEpostRcptDtlList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
<where>
<if test="conKey != null">
@ -205,8 +205,8 @@
</otherwise>
</choose>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectEpostRcptDtls" parameterType="map" resultMap="epostRcptDtlRow">/* 전자우편 접수 상세 객체 가져오기(epostRcptDtlMapper.selectEpostRcptDtls) */
@ -219,7 +219,7 @@
AND ERD.DEL_YN = #{delYn} <!-- 삭제 여부 -->
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<select id="selectEpostSenderDetailSeq" parameterType="String">/* 전자우편 접수 상세 등기번호 조회(epostRcptRegMapper.selectEpostSenderDetailSeq) */
@ -370,9 +370,9 @@
, #{epostRcptDtl.makeRsltCd} <!-- 제작 결과 코드 -->
, #{epostRcptDtl.dlvrRsltId} <!-- 배달 결과 ID -->
, 'N' <!-- 삭제 여부 -->
, <include refid="utility.now" /> /* 등록 일시 */
, <include refid="utility-jar.now" /> /* 등록 일시 */
, #{epostRcptDtl.createdBy} /* 등록자 */
, <include refid="utility.now" /> /* 수정 일시 */
, <include refid="utility-jar.now" /> /* 수정 일시 */
, #{epostRcptDtl.modifiedBy} /* 수정자 */
)
</insert>
@ -443,7 +443,7 @@
, DTL_VAR_DATA5 = #{epostRcptDtl.dtlVarData5} <!-- 추가 데이터5 -->
, MAKE_RSLT_CD = #{epostRcptDtl.makeRsltCd} <!-- 제작 결과 코드 -->
, DLVR_RSLT_ID = #{epostRcptDtl.dlvrRsltId} <!-- 배달 결과 ID -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{currentUser.id} <!-- 수정자 -->
WHERE CON_KEY = #{epostRcptDtl.conKey}
AND RGST_NMBR = #{epostRcptDtl.rgstNmbr}
@ -453,7 +453,7 @@
<update id="deleteEpostRcptDtl" parameterType="map">/* 전자우편 접수 상세 삭제(epostRcptDtlMapper.deleteEpostRcptDtl) */
UPDATE TB_EPOST_RCPT_DTL
SET DEL_YN = 'Y' /* 삭제 여부 */
, DEL_DT = <include refid="utility.now" /> /* 삭제 일시 */
, DEL_DT = <include refid="utility-jar.now" /> /* 삭제 일시 */
, DLTR = #{epostRcptDtl.removedBy} /* 삭제자 */
WHERE CON_KEY = #{epostRcptDtl.conKey}
AND RGST_NMBR = #{epostRcptDtl.rgstNmbr}

@ -124,7 +124,7 @@
</sql>
<select id="selectEpostRcptRegList" parameterType="map" resultType="dataobject">/* 전자우편 접수 등록 목록 조회(epostRcptRegMapper.selectEpostRcptRegList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="selectEpostRcptReg" />
WHERE ERR.CON_ORG = #{conOrg} <!-- 외부기관구분코드 -->
<if test="relorsectCd != null">
@ -205,8 +205,8 @@
</otherwise>
</choose>
</if>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectEpostRcptRegs" parameterType="map" resultType="dataobject">/* 전자우편 접수 등록 객체 가져오기(epostRcptRegMapper.selectEpostRcptRegs) */
@ -225,11 +225,11 @@
AND ERR.DEL_YN = #{delYn} <!-- 삭제 여부 -->
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<select id="selectEpostRcptRegDtlList" parameterType="map" resultType="dataobject">/* 전자우편 발송 상태 정보들을 가져오기(epostRcptRegMapper.selectEpostRcptRegDtlList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
SELECT ERR.CON_KEY <!-- 외부연계식별키 -->
, ERR.CON_ORG <!-- 외부기관구분코드 -->
, ERD.RGST_NMBR <!-- 등기 번호 -->
@ -258,8 +258,8 @@
LEFT OUTER JOIN TB_EPOST_DLVR_RSLT EDR ON (ERD.DLVR_RSLT_ID = EDR.DLVR_RSLT_ID)
WHERE ERR.CON_KEY = #{conKey}
AND ERR.DEL_YN = 'N'
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectEpostSenderRegSeq" parameterType="String" resultType="String">/* 전자우편 접수 CON_KEY 조회(epostRcptRegMapper.selectEpostSenderRegSeq) */
@ -415,9 +415,9 @@
, #{jobCd} <!-- 작업 코드 -->
, #{postPrcsSttsCd} <!-- 우편 처리 상태 -->
, 'N' <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{modifiedBy} <!-- 수정자 -->
)
</insert>
@ -467,7 +467,7 @@
, REG_VAR_DATA5 = #{regVarData5} <!-- 추가 데이터5 -->
, JOB_CD = #{jobCd} <!-- 작업 코드 -->
, POST_PRCS_STTS_CD = #{postPrcsSttsCd} <!-- 우편 처리 상태 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE CON_KEY = #{conKey}
AND DEL_YN = 'N'
@ -476,7 +476,7 @@
<update id="deleteEpostRcptReg" parameterType="cokr.xit.fims.epst.EpostRcptReg">/* 전자우편 접수 등록 삭제(epostRcptRegMapper.deleteEpostRcptReg) */
UPDATE TB_EPOST_RCPT_REG
SET DEL_YN = 'Y' <!-- 삭제 여부 -->
, DEL_DT = <include refid="utility.now" /> <!-- 삭제 일시 -->
, DEL_DT = <include refid="utility-jar.now" /> <!-- 삭제 일시 -->
, DLTR = #{modifiedBy} <!-- 삭제자 -->
<choose>
<when test="epostRcptReg.conKeys != null">
@ -494,7 +494,7 @@
<update id="updatePostPrcsSttsCd" parameterType="cokr.xit.fims.epst.EpostRcptReg">/* 전자우편 접수 등록 정보의 우편 처리 상태 코드를 수정(epostRcptRegMapper.updatePostPrcsSttsCd) */
UPDATE TB_EPOST_RCPT_REG
SET POST_PRCS_STTS_CD= #{postPrcsSttsCd} <!-- 우편 처리 상태 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE CON_KEY = #{conKey}
AND DEL_YN = 'N'

@ -50,7 +50,7 @@
</sql>
<select id="selectEpostRcptRsltList" parameterType="map" resultType="dataobject">/* 전자우편 접수 결과 목록 조회(epostRcptRsltMapper.selectEpostRcptRsltList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
WHERE ERR.CON_ORG = #{conOrg} /* 외부기관구분코드 */
AND ERR.RELORSECT_CD = #{relorsectCd} /* 결제부서코드 */
@ -122,8 +122,8 @@
</otherwise>
</choose>
</if>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectEpostRcptRslts" parameterType="map" resultType="dataobject">/* 전자우편 접수 결과 객체 가져오기(epostRcptRsltMapper.selectEpostRcptRslts) */
@ -142,7 +142,7 @@
AND ERR.RELETCDATA = #{reletcdata} /* 발송인별추가데이터 */
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<select id="selectEpostRcptRsltSum" parameterType="map" resultType="dataobject">/* 전자우편 접수 결과 합계 조회(epostRcptRsltMapper.selectEpostRcptRsltSum) */
@ -260,9 +260,9 @@
, #{epostRcptRslt.usefeeAmt} /* 제작수수료 */
, #{epostRcptRslt.totpostPrc} /* 우편요금 */
, #{epostRcptRslt.jobCd} /* 작업 코드 */
, <include refid="utility.now" /> /* 등록 일시 */
, <include refid="utility-jar.now" /> /* 등록 일시 */
, #{epostRcptRslt.createdBy} /* 등록자 */
, <include refid="utility.now" /> /* 수정 일시 */
, <include refid="utility-jar.now" /> /* 수정 일시 */
, #{epostRcptRslt.modifiedBy} /* 수정자 */
)
</insert>
@ -281,7 +281,7 @@
, USEFEE_AMT = #{epostRcptRslt.usefeeAmt} /* 제작수수료 */
, TOTPOST_PRC = #{epostRcptRslt.totpostPrc} /* 우편요금 */
, JOB_CD = #{epostRcptRslt.jobCd} /* 작업 코드 */
, MDFCN_DT = <include refid="utility.now" />
, MDFCN_DT = <include refid="utility-jar.now" />
, MDFR = #{epostRcptRslt.modifiedBy}
WHERE RCPT_RSLT_ID = #{epostRcptRslt.rcptRsltId}
</update>
@ -289,7 +289,7 @@
<update id="deleteEpostRcptRslt" parameterType="map">/* 전자우편 접수 결과 삭제(epostRcptRsltMapper.deleteEpostRcptRslt) */
UPDATE TB_EPOST_RCPT_RSLT
SET USE_YN = 'N'
, MDFCN_DT = <include refid="utility.now" />
, MDFCN_DT = <include refid="utility-jar.now" />
, MDFR = #{epostRcptRslt.modifiedBy}
WHERE RCPT_RSLT_ID = #{epostRcptRslt.rcptRsltId}
</update>

@ -78,7 +78,7 @@
</sql>
<select id="selectCrdnReRegList" parameterType="map" resultType="dataobject">/* 단속 재등록 목록 조회(crdnReRegMapper.selectCrdnReRegList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
<where>
AND CRR.CRDN_REG_SE_CD = '03' <!-- 단속 등록 구분 코드 - FIM026 -->
@ -176,8 +176,8 @@
</choose>
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectCrdnReRegs" parameterType="map" resultType="dataobject">/* 단속 재등록 객체 가져오기(crdnReRegMapper.selectCrdnReRegs) */
@ -199,7 +199,7 @@
AND C.DEL_YN = #{delYn} <!-- 삭제 여부 -->
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<insert id="insertCrdnReReg" parameterType="cokr.xit.fims.excl.CrdnReReg">/* 단속 재등록 등록(crdnReRegMapper.insertCrdnReReg) */
@ -227,11 +227,11 @@
#{reRegId} <!-- 재등록 ID -->
, #{bfrCrdnId} <!-- 이전 단속 ID -->
, #{crdnId} <!-- 단속 ID -->
, <include refid="utility.today" /> <!-- 재 등록 일자 -->
, <include refid="utility-jar.today" /> <!-- 재 등록 일자 -->
, #{crdnRegSeCd} <!-- 단속 등록 구분 코드 -->
, #{etcCn} <!-- 기타 내용 -->
, 'N' <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
)
</insert>
@ -239,7 +239,7 @@
<update id="deleteCrdnReReg" parameterType="cokr.xit.fims.excl.CrdnReReg">/* 단속 재등록 삭제(crdnReRegMapper.deleteCrdnReReg) */
UPDATE TB_CRDN_RE_REG
SET DEL_YN = 'Y'
, DEL_DT = <include refid="utility.now" /> <!-- 삭제 일시 -->
, DEL_DT = <include refid="utility-jar.now" /> <!-- 삭제 일시 -->
, DLTR = #{modifiedBy} <!-- 삭제자 -->
, DEL_RSN = #{delRsn} <!-- 삭제 사유 -->
WHERE RE_REG_ID = #{reRegId} <!-- 재등록 ID -->

@ -87,7 +87,7 @@
</sql>
<select id="selectLevyExclList" parameterType="map" resultType="dataobject">/* 부과제외 대장 목록 조회(levyExclMapper.selectLevyExclList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="selectList" />
<where>
<if test="schLevyExclYmdFrom != null">
@ -201,8 +201,8 @@
</choose>
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<sql id="select">
@ -253,7 +253,7 @@
AND C.DEL_YN = 'N' <!-- 단속 삭제 여부 -->
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<insert id="insertLevyExcl" parameterType="cokr.xit.fims.excl.LevyExcl">/* 부과제외 대장 등록(levyExclMapper.insertLevyExcl) */
@ -287,9 +287,9 @@
, #{levyExclRsnCd} <!-- 부과 제외 사유 코드 -->
, #{etcCn} <!-- 기타 내용 -->
, 'N' <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{modifiedBy} <!-- 수정자 -->
)
</insert>
@ -299,7 +299,7 @@
SET LEVY_EXCL_YMD = #{levyExclYmd} <!-- 부과 제외 일자 -->
, LEVY_EXCL_RSN_CD = #{levyExclRsnCd} <!-- 부과 제외 사유 코드 -->
, ETC_CN = #{etcCn} <!-- 기타 내용 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE LEVY_EXCL_ID = #{levyExclId} <!-- 부과 제외 ID -->
AND DEL_YN = 'N'
@ -308,7 +308,7 @@
<update id="deleteLevyExcl" parameterType="cokr.xit.fims.excl.LevyExcl">/* 부과제외 대장 삭제(levyExclMapper.deleteLevyExcl) */
UPDATE TB_LEVY_EXCL
SET DEL_YN = 'Y'
, DEL_DT = <include refid="utility.now" /> <!-- 삭제 일시 -->
, DEL_DT = <include refid="utility-jar.now" /> <!-- 삭제 일시 -->
, DLTR = #{modifiedBy} <!-- 삭제자 -->
, DEL_RSN = #{delRsn} <!-- 삭제 사유 -->
WHERE LEVY_EXCL_ID = #{levyExclId} <!-- 부과 제외 ID -->
@ -318,7 +318,7 @@
<update id="updatePrkPsbltyRsltCd" parameterType="cokr.xit.fims.crdn.Crdn">/* 단속 대장 주차가능결과코드를 수정(levyExclMapper.updatePrkPsbltyRsltCd) */
UPDATE TB_CRDN_ADI
SET PRK_PSBLTY_RSLT_CD = #{prkPsbltyRsltCd} <!-- 주차 가능 결과 코드 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE CRDN_ID = #{crdnId} <!-- 단속 ID -->
AND DEL_YN = 'N'

@ -56,19 +56,19 @@
</sql>
<select id="selectOpnnDlbrMbrList" parameterType="map" resultType="dataobject">/* 의견제출 심의 회원 목록 조회(opnnDlbrMbrMapper.selectOpnnDlbrMbrList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
WHERE SGG_CD = #{sggCd}
AND TASK_SE_CD = #{taskSeCd}
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectOpnnDlbrMbrs" parameterType="map" resultType="dataobject">/* 의견제출 심의 회원 객체 가져오기(opnnDlbrMbrMapper.selectOpnnDlbrMbrs) */
<include refid="select" />
WHERE SGG_CD = #{sggCd}
AND TASK_SE_CD = #{taskSeCd}
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<select id="selectOpnnDlbrMbrInfo" parameterType="map" resultType="dataobject">/* 의견제출 심의 회원 정보 가져오기(opnnDlbrMbrMapper.selectOpnnDlbrMbrInfo) */
@ -149,9 +149,9 @@
, #{dlbrMbrNm6} <!-- 심의 회원 명6 -->
, #{dlbrMbrJbgd7} <!-- 심의 회원 직급7 -->
, #{dlbrMbrNm7} <!-- 심의 회원 명7 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{modifiedBy} <!-- 수정자 -->
)
</insert>
@ -172,7 +172,7 @@
, DLBR_MBR_NM6 = #{dlbrMbrNm6} <!-- 심의 회원 명6 -->
, DLBR_MBR_JBGD7 = #{dlbrMbrJbgd7} <!-- 심의 회원 직급7 -->
, DLBR_MBR_NM7 = #{dlbrMbrNm7} <!-- 심의 회원 명7 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE MNG_ID = #{mngId}
</update>

@ -125,7 +125,7 @@
</sql>
<select id="selectOpnnSbmsnList" parameterType="map" resultType="dataobject">/* 의견제출 대장 목록 조회(opnnSbmsnMapper.selectOpnnSbmsnList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="selectList" />
<where>
<if test="schRcptYmdFrom != null">
@ -243,8 +243,8 @@
AND C.TASK_SE_CD = #{taskSeCd} <!-- 업무 구분 코드 -->
AND C.DEL_YN = 'N' <!-- 단속 삭제 여부 -->
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<sql id="select">
@ -337,7 +337,7 @@
AND C.DEL_YN = 'N' <!-- 단속 삭제 여부 -->
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<select id="selectOpnnSbmsnDlbrDecsns" parameterType="map" resultType="dataobject">/* 의견제출 심의 의결서 가져오기(opnnSbmsnMapper.selectOpnnSbmsnDlbrDecsns) */
@ -400,7 +400,7 @@
<foreach collection="opnnIds" item="opnnId" separator=","> #{opnnId} </foreach>
)
AND OS.DEL_YN = 'N'
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<insert id="insertOpnnSbmsn" parameterType="cokr.xit.fims.excl.OpnnSbmsn">/* 의견제출 대장 등록(opnnSbmsnMapper.insertOpnnSbmsn) */
@ -473,9 +473,9 @@
, #{ansTm} <!-- 답변 일시 -->
, #{opnnSbmsnSttsCd} <!-- 의견 제출 상태 코드 -->
, 'N' <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{modifiedBy} <!-- 수정자 -->
)
</insert>
@ -498,7 +498,7 @@
, OPNN_SBMSN_SE_CD = #{opnnSbmsnSeCd} <!-- 의견 제출 구분 코드 -->
, OPNN_SBMSN_GIST = #{opnnSbmsnGist} <!-- 의견 제출 요지 -->
, PIC_RVW_OPNN = #{picRvwOpnn} <!-- 담당자 검토 의견 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE OPNN_ID = #{opnnId} <!-- 의견 ID -->
AND DEL_YN = 'N'
@ -514,7 +514,7 @@
, ANS_YMD = #{ansYmd} <!-- 답변 일자 -->
, ANS_TM = #{ansTm} <!-- 답변 시각 -->
, ANS_CN = #{ansCn} <!-- 답변 내용 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE OPNN_ID = #{opnnId} <!-- 의견 ID -->
AND DEL_YN = 'N'
@ -523,7 +523,7 @@
<update id="deleteOpnnSbmsn" parameterType="cokr.xit.fims.excl.OpnnSbmsn">/* 의견제출 대장 삭제(opnnSbmsnMapper.deleteOpnnSbmsn) */
UPDATE TB_OPNN_SBMSN
SET DEL_YN = 'Y'
, DEL_DT = <include refid="utility.now" /> <!-- 삭제 일시 -->
, DEL_DT = <include refid="utility-jar.now" /> <!-- 삭제 일시 -->
, DLTR = #{modifiedBy} <!-- 삭제자 -->
, DEL_RSN = #{delRsn} <!-- 삭제 사유 -->
WHERE OPNN_ID = #{opnnId} <!-- 의견 ID -->
@ -533,7 +533,7 @@
<update id="updateCrdnOpnnSbmsnYn" parameterType="cokr.xit.fims.crdn.Crdn">/* 단속 대장 의견제출여부 수정(opnnSbmsnMapper.updateCrdnOpnnSbmsnYn) */
UPDATE TB_CRDN
SET OPNN_SBMSN_YN= #{opnnSbmsnYn} <!-- 의견 제출 여부 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE CRDN_ID = #{crdnId} <!-- 단속 ID -->
AND DEL_YN = 'N'

@ -289,11 +289,11 @@
</sql>
<select id="selectRdctLevyTrgtList" parameterType="map" resultType="dataobject">/* 감경부과 대상 목록 조회(levyMapper.selectRdctLevyTrgtList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="selectTrgtList" />
<include refid="fromTrgtList" />
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectRdctLevyTrgtIds" parameterType="map" resultType="dataobject">/* 감경부과 대상 목록 조회(levyMapper.selectRdctLevyTrgtIds) */
@ -301,7 +301,7 @@
, C.SGG_CD <!-- 시군구 코드 -->
, C.TASK_SE_CD <!-- 업무 구분 코드 -->
<include refid="fromTrgtList" />
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<sql id="select">
@ -443,7 +443,7 @@
</sql>
<select id="selectLevyList" parameterType="map" resultType="dataobject">/* 부과 대장 목록 조회(levyMapper.selectLevyList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
<where>
<if test="schFyr != null">
@ -579,8 +579,8 @@
</choose>
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectLevys" parameterType="map" resultType="dataobject">/* 부과 대장 객체 가져오기(levyMapper.selectLevys) */
@ -602,7 +602,7 @@
AND C.DEL_YN = 'N' <!-- 삭제 여부 -->
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<select id="selectMaxLevyNo" parameterType="map" resultType="String">/* 고지번호 가져오기(levyMapper.selectMaxLevyNo) */
@ -855,9 +855,9 @@
, #{vrActno20} <!-- 가상 계좌번호20 -->
, #{nxrpLevyKey} <!-- 세외수입 부과 키 -->
, 'N' <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{modifiedBy} <!-- 수정자 -->
)
</insert>
@ -949,7 +949,7 @@
, BANK_NM20 = #{bankNm20} <!-- 은행 명 20 -->
, VR_ACTNO20 = #{vrActno20} <!-- 가상 계좌번호 20 -->
, NXRP_LEVY_KEY = #{nxrpLevyKey} <!-- 세외수입 부과 키 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE LEVY_ID = #{levyId} <!-- 부과 ID -->
AND DEL_YN = 'N'
@ -969,7 +969,7 @@
<if test="sumAmt != null">
, SUM_AMT = #{sumAmt} <!-- 합계 금액 -->
</if>
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE LEVY_ID = #{levyId} <!-- 부과 ID -->
AND DEL_YN = 'N'
@ -983,7 +983,7 @@
, DUDT_AFTR_AMT = #{dudtAftrAmt} <!-- 납기 후 금액 -->
, RCVMT_YMD = #{rcvmtYmd} <!-- 수납 일자 -->
, PAY_MTHD_SE_CD = #{payMthdSeCd} <!-- 납부 방법 구분 코드 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE LEVY_ID = #{levyId} <!-- 부과 ID -->
AND DEL_YN = 'N'
@ -995,7 +995,7 @@
, RDAMT_ADAMT = #{rdamtAdamt} <!-- 감액 가산금 -->
, SUM_AMT = #{sumAmt} <!-- 합계 금액 -->
, DUDT_AFTR_AMT = #{dudtAftrAmt} <!-- 납기 후 금액 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE LEVY_ID = #{levyId} <!-- 부과 ID -->
AND DEL_YN = 'N'
@ -1004,7 +1004,7 @@
<update id="deleteLevy" parameterType="cokr.xit.fims.levy.Levy">/* 부과 대장 삭제(levyMapper.deleteLevy) */
UPDATE TB_LEVY
SET DEL_YN = 'Y'
, DEL_DT = <include refid="utility.now" /> <!-- 삭제 일시 -->
, DEL_DT = <include refid="utility-jar.now" /> <!-- 삭제 일시 -->
, DLTR = #{modifiedBy} <!-- 삭제자 -->
, DEL_RSN = #{delRsn} <!-- 삭제 사유 -->
WHERE LEVY_ID = #{levyId} <!-- 부과 ID -->

@ -91,7 +91,7 @@
</sql>
<select id="selectRdctList" parameterType="map" resultType="dataobject">/* 과태료 감경 대장 목록 조회(rdctMapper.selectRdctList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="selectList" />
<where>
<if test="schRdctYmdFrom != null">
@ -191,8 +191,8 @@
</choose>
</if>
</where>
<include refid="utility.sortBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.sortBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<sql id="select">
@ -253,7 +253,7 @@
AND C.DEL_YN = 'N' <!-- 삭제 여부 -->
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<insert id="insertRdct" parameterType="cokr.xit.fims.levy.Rdct">/* 과태료 감경 대장 등록(rdctMapper.insertRdct) */
@ -289,9 +289,9 @@
, #{rdctAmt} <!-- 감경 금액 -->
, #{etcCn} <!-- 기타 내용 -->
, 'N' <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{modifiedBy} <!-- 수정자 -->
)
</insert>
@ -302,7 +302,7 @@
, RDCT_RSN_CD = #{rdctRsnCd} <!-- 감경 사유 코드 -->
, RDCT_AMT = #{rdctAmt} <!-- 감경 금액 -->
, ETC_CN = #{etcCn} <!-- 기타 내용 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE RDCT_ID = #{rdctId} <!-- 감경 ID -->
AND DEL_YN = 'N'
@ -311,7 +311,7 @@
<update id="deleteRdct" parameterType="cokr.xit.fims.levy.Rdct">/* 과태료 감경 대장 삭제(rdctMapper.deleteRdct) */
UPDATE TB_RDCT
SET DEL_YN = 'Y' <!-- 삭제 여부 -->
, DEL_DT = <include refid="utility.now" /> <!-- 삭제 일시 -->
, DEL_DT = <include refid="utility-jar.now" /> <!-- 삭제 일시 -->
, DLTR = #{modifiedBy} <!-- 삭제자 -->
, DEL_RSN = #{delRsn} <!-- 삭제 사유 -->
WHERE RDCT_ID = #{rdctId} <!-- 감경 ID -->
@ -342,7 +342,7 @@
, L.RDAMT_PCPTAX <!-- 감액 본세 -->
, L.RDAMT_ADAMT <!-- 감액 가산금 -->
, R.RDCT_ID <!-- 감경 ID -->
, <include refid="utility.today" /> AS TODAY <!-- 오늘 일자 -->
, <include refid="utility-jar.today" /> AS TODAY <!-- 오늘 일자 -->
, C.FFNLG_CRDN_AMT * T.WKSN_RDCRT / 100 AS CALC_RDCT_AMT <!-- 감경 금액 -->
, (SELECT GET_CODE_NM('FIM010', C.CRDN_STTS_CD) FROM DUAL) AS CRDN_STTS_NM <!-- 단속 상태 명 -->
FROM TB_CRDN C
@ -366,7 +366,7 @@
SET FFNLG_RDCRT = #{ffnlgRdcrt} <!-- 과태료 감경율 -->
, FFNLG_AMT = #{ffnlgAmt} <!-- 과태료 금액 -->
, ADVNTCE_AMT = #{advntceAmt} <!-- 사전통지 금액 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE CRDN_ID = #{crdnId} <!-- 단속 ID -->
AND DEL_YN = 'N' <!-- 삭제 여부 -->
@ -377,7 +377,7 @@
SET FFNLG_AMT = #{ffnlgAmt} <!-- 과태료 금액 -->
, LEVY_PCPTAX = #{levyPcptax} <!-- 부과 본세 -->
, SUM_AMT = #{sumAmt} <!-- 합계 금액 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE LEVY_ID = #{levyId} <!-- 단속 ID -->
AND DEL_YN = 'N' <!-- 삭제 여부 -->

@ -44,7 +44,7 @@ SELECT A.NTC_ID <!-- 공지 ID -->
<select id="selectNtcList" parameterType="map" resultType="dataobject">
/* 공지사항 목록 조회(ntcMapper.selectNtcList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
WHERE A.DEL_YN = 'N'
<if test="sggCd != null and sggCd != ''">
@ -53,8 +53,8 @@ SELECT A.NTC_ID <!-- 공지 ID -->
<if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
AND A.${by} LIKE CONCAT('%',#{term},'%')
</if>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectNtcInfo" parameterType="string" resultType="dataobject">
@ -90,9 +90,9 @@ INSERT
, #{ntc.ntcTtl} <!-- 공지 제목 -->
, #{ntc.ntcCn} <!-- 공지 내용 -->
, 'N' <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
)
</insert>
@ -102,7 +102,7 @@ INSERT
UPDATE TB_NOTICE
SET NTC_TTL = #{ntc.ntcTtl} <!-- 공지 제목 -->
, NTC_CN = #{ntc.ntcCn} <!-- 공지 내용 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{currentUser.id} <!-- 수정자 -->
WHERE NTC_ID = #{ntc.ntcId}
</update>
@ -111,7 +111,7 @@ UPDATE TB_NOTICE
/* 공지사항 삭제(ntcMapper.deleteNtc) */
UPDATE TB_NOTICE
SET DEL_YN = 'Y'
, DEL_DT = <include refid="utility.now" />
, DEL_DT = <include refid="utility-jar.now" />
, DLTR = #{currentUser.id}
WHERE NTC_ID = #{ntc.ntcId}
</update>

@ -45,7 +45,7 @@ SELECT SCHDL_ID <!-- 일정 ID -->
<include refid="select" />
WHERE DEL_YN = 'N'
AND USER_ID = #{userId}
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<select id="selectSchdlInfo" parameterType="string" resultType="dataObject">
@ -83,9 +83,9 @@ INSERT
, #{schdl.userId} <!-- 사용자 ID -->
, #{schdl.schdlCn} <!-- 일정 내용 -->
, 'N' <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
)
</insert>
@ -97,7 +97,7 @@ UPDATE TB_SCHDL
, SCHDL_END_YMD = #{schdl.schdlEndYmd} <!-- 일정 종료 일자 -->
, USER_ID = #{schdl.userId} <!-- 사용자 ID -->
, SCHDL_CN = #{schdl.schdlCn} <!-- 일정 내용 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{currentUser.id} <!-- 수정자 -->
WHERE SCHDL_ID = #{schdl.schdlId}
</update>
@ -106,7 +106,7 @@ UPDATE TB_SCHDL
/* 일정관리 삭제(schdlMapper.deleteSchdl) */
UPDATE TB_SCHDL
SET DEL_YN = 'Y'
, DEL_DT = <include refid="utility.now" />
, DEL_DT = <include refid="utility-jar.now" />
, DLTR = #{currentUser.id}
WHERE SCHDL_ID = #{schdl.schdlId}
</update>

@ -49,15 +49,15 @@
</sql>
<select id="selectTaskList" parameterType="map" resultType="dataobject">/* 업무 정보 목록 조회(taskMapper.selectTaskList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
WHERE T.SGG_CD = #{sggCd} <!-- 시군구 코드 -->
AND T.TASK_SE_CD = #{taskSeCd} <!-- 업무 구분 코드 -->
<if test="useYn != null">
AND T.USE_YN = #{useYn} <!-- 사용 여부 -->
</if>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectTasks" parameterType="map" resultType="dataobject">/* 업무 정보 객체 가져오기(taskMapper.selectTasks) */
@ -69,7 +69,7 @@
<if test="useYn != null">
AND T.USE_YN = #{useYn} <!-- 사용 여부 -->
</if>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<select id="selectAdvntceYmdInfo" parameterType="map" resultType="dataobject">/* 사전통지 정보 객체 가져오기(taskMapper.selectAdvntceYmdInfo) */
@ -86,7 +86,7 @@
WHERE SGG_CD = #{sggCd}
AND TASK_SE_CD = #{taskSeCd}
AND USE_YN = 'Y'
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<insert id="insertTask" parameterType="map">/* 업무 정보 등록(taskMapper.insertTask) */
@ -124,9 +124,9 @@
, #{task.nxrpLinkSeCd} <!-- 세외수입 연계 구분 코드 -->
, #{task.nxrpLinkSeDtlSn} <!-- 세외수입 연계 구분 상세 순번 -->
, 'Y' <!-- 사용 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
)
</insert>
@ -143,7 +143,7 @@
, FFNLG_INADTN_MAX_CNT = #{task.ffnlgInadtnMaxCnt} <!-- 과태료 중가산 최대 수 -->
, NXRP_LINK_SE_CD = #{task.nxrpLinkSeCd} <!-- 세외수입 연계 구분 코드 -->
, NXRP_LINK_SE_DTL_SN = #{task.nxrpLinkSeDtlSn} <!-- 세외수입 연계 구분 상세 순번 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{currentUser.id} <!-- 수정자 -->
WHERE SGG_CD = #{task.sggCd} <!-- 시군구 코드 -->
AND TASK_SE_CD = #{task.taskSeCd} <!-- 업무 구분 코드 -->
@ -153,7 +153,7 @@
<update id="deleteTask" parameterType="map">/* 업무 정보 삭제(taskMapper.deleteTask) */
UPDATE TB_TASK
SET USE_YN = 'N' <!-- 사용 여부 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{currentUser.id} <!-- 수정자 -->
WHERE SGG_CD = #{task.sggCd} <!-- 시군구 코드 -->
AND TASK_SE_CD = #{task.taskSeCd} <!-- 업무 구분 코드 -->

@ -55,21 +55,21 @@
, V.RGTR <!-- 등록자 -->
, V.MDFCN_DT <!-- 수정 일시 -->
, V.MDFR <!-- 수정자 -->
, <include refid="utility.today" /> AS TODAY <!-- 오늘 일자 -->
, <include refid="utility-jar.today" /> AS TODAY <!-- 오늘 일자 -->
, (SELECT GET_CODE_NM('FIM054', V.TASK_SE_CD) FROM DUAL) AS TASK_SE_NM <!-- 업무 구분 명 -->
FROM TB_VLTN V
</sql>
<select id="selectVltnList" parameterType="map" resultType="dataobject">/* 위반 정보 목록 조회(vltnMapper.selectVltnList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
WHERE V.SGG_CD = #{sggCd} <!-- 시군구 코드 -->
AND V.TASK_SE_CD = #{taskSeCd} <!-- 업무 구분 코드 -->
<if test="useYn != null">
AND V.USE_YN = #{useYn} <!-- 사용 여부 -->
</if>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectVltns" parameterType="map" resultType="dataobject">/* 위반 정보 객체 가져오기(vltnMapper.selectVltns) */
@ -99,7 +99,7 @@
<if test="useYn != null">
AND V.USE_YN = #{useYn} <!-- 사용 여부 -->
</if>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<insert id="insertVltn" parameterType="map">
@ -153,9 +153,9 @@
, #{vltn.operItemNm} <!-- 운영 항목 명 -->
, #{vltn.spclBizCd} <!-- 특별회계 사업 코드 -->
, 'Y' <!-- 사용 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{vltn.createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{vltn.modifiedBy} <!-- 수정자 -->
)
</insert>
@ -174,7 +174,7 @@
, OPER_ITEM_CD = #{vltn.operItemCd} <!-- 운영 항목 코드 -->
, OPER_ITEM_NM = #{vltn.operItemNm} <!-- 운영 항목 명 -->
, SPCL_BIZ_CD = #{vltn.spclBizCd} <!-- 특별회계 사업 코드 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{vltn.modifiedBy} <!-- 수정자 -->
WHERE VLTN_ID = #{vltn.vltnId} <!-- 위반 ID -->
AND USE_YN = 'Y'
@ -183,7 +183,7 @@
<update id="deleteVltn" parameterType="map">/* 위반 정보 삭제(vltnMapper.deleteVltn) */
UPDATE TB_VLTN
SET USE_YN = 'N' <!-- 사용 여부 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{vltn.modifiedBy} <!-- 수정자 -->
WHERE VLTN_ID = #{vltn.vltnId} <!-- 위반 ID -->
AND USE_YN = 'Y'

@ -16,15 +16,15 @@ FROM DUAL
</sql>
<sql id="keyByYear">
SELECT CONCAT(<include refid="utility.currentYear" />, LPAD(CAST(
SELECT CONCAT(<include refid="utility-jar.currentYear" />, LPAD(CAST(
CASE
WHEN (SELECT MAX(SUBSTRING(${TABLE_KEY}, 4+1)) + 1 FROM ${TABLE_NAME}
WHERE ${TABLE_KEY} LIKE CONCAT(<include refid="utility.currentYear" />, '%')) IS NULL OR
WHERE ${TABLE_KEY} LIKE CONCAT(<include refid="utility-jar.currentYear" />, '%')) IS NULL OR
(SELECT MAX(SUBSTRING(${TABLE_KEY}, 4+1)) + 1 FROM ${TABLE_NAME}
WHERE ${TABLE_KEY} LIKE CONCAT(<include refid="utility.currentYear" />, '%')) = ''
WHERE ${TABLE_KEY} LIKE CONCAT(<include refid="utility-jar.currentYear" />, '%')) = ''
THEN 1
ELSE (SELECT MAX(SUBSTRING(${TABLE_KEY}, 4+1)) + 1 FROM ${TABLE_NAME}
WHERE ${TABLE_KEY} LIKE CONCAT(<include refid="utility.currentYear" />, '%'))
WHERE ${TABLE_KEY} LIKE CONCAT(<include refid="utility-jar.currentYear" />, '%'))
END
AS INT), ${pad}-4, '0'))
AS NEW_ID
@ -32,15 +32,15 @@ FROM DUAL
</sql>
<sql id="keyBySggAndYear">
SELECT CONCAT(${sggCd}, <include refid="utility.currentYear" />, LPAD(CAST(
SELECT CONCAT(${sggCd}, <include refid="utility-jar.currentYear" />, LPAD(CAST(
CASE
WHEN (SELECT MAX(SUBSTRING(${TABLE_KEY}, 9+1)) + 1 FROM ${TABLE_NAME}
WHERE ${TABLE_KEY} LIKE CONCAT(${sggCd}, <include refid="utility.currentYear" />, '%')) IS NULL OR
WHERE ${TABLE_KEY} LIKE CONCAT(${sggCd}, <include refid="utility-jar.currentYear" />, '%')) IS NULL OR
(SELECT MAX(SUBSTRING(${TABLE_KEY}, 9+1)) + 1 FROM ${TABLE_NAME}
WHERE ${TABLE_KEY} LIKE CONCAT(${sggCd}, <include refid="utility.currentYear" />, '%')) = ''
WHERE ${TABLE_KEY} LIKE CONCAT(${sggCd}, <include refid="utility-jar.currentYear" />, '%')) = ''
THEN 1
ELSE (SELECT MAX(SUBSTRING(${TABLE_KEY}, 9+1)) + 1 FROM ${TABLE_NAME}
WHERE ${TABLE_KEY} LIKE CONCAT(${sggCd}, <include refid="utility.currentYear" />, '%'))
WHERE ${TABLE_KEY} LIKE CONCAT(${sggCd}, <include refid="utility-jar.currentYear" />, '%'))
END
AS INT), ${pad}-9, '0'))
AS NEW_ID

@ -201,19 +201,19 @@
</sql>
<select id="selectNisIndivA01List" parameterType="map" resultType="dataobject">/* 과태료 대장 단속 정보 등록 목록 조회(nisIndivA01Mapper.selectNisIndivA01List) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
<where>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectNisIndivA01s" parameterType="map" resultType="dataobject">/* 과태료 대장 단속 정보 등록 객체 가져오기(nisIndivA01Mapper.selectNisIndivA01s) */
<include refid="select" />
<where>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<insert id="insertNisIndivA01" parameterType="map">/* 과태료 대장 단속 정보 등록 등록(nisIndivA01Mapper.insertNisIndivA01) */
@ -408,9 +408,9 @@
, #{nisIndivA01.linkRstDt} <!-- 연계 결과 일시 -->
, #{nisIndivA01.linkRstCd} <!-- 연계 결과 코드 -->
, #{nisIndivA01.linkRstMsg} <!-- 연계 결과 메시지 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
)
</insert>
@ -505,7 +505,7 @@
, LINK_RST_DT = #{nisIndivA01.linkRstDt} <!-- 연계 결과 일시 -->
, LINK_RST_CD = #{nisIndivA01.linkRstCd} <!-- 연계 결과 코드 -->
, LINK_RST_MSG = #{nisIndivA01.linkRstMsg} <!-- 연계 결과 메시지 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{levyExcl.modifiedBy} <!-- 수정자 -->
WHERE A01_ID = #{nisIndivA01.a01Id}
</update>
@ -513,7 +513,7 @@
<update id="deleteNisIndivA01" parameterType="map">/* 과태료 대장 단속 정보 등록 삭제(nisIndivA01Mapper.deleteNisIndivA01) */
UPDATE TB_NIS_INDIV_A01
SET USE_YN = 'N'
, MDFCN_DT = <include refid="utility.now" />
, MDFCN_DT = <include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
WHERE A01_ID = #{nisIndivA01.a01Id}
</update>
@ -608,7 +608,7 @@
, PA.WHOL_ADDR <!-- 전체 주소 -->
, (GET_MASK_DATETIME(C.CRDN_YMD, '-', C.CRDN_TM, ':')) AS CRDN_YMD_TM_MASK <!-- 단속 일시 마스크 -->
, (SELECT RDCT_RSN_CD FROM TB_RDCT X WHERE X.CRDN_ID = C.CRDN_ID AND X.DEL_YN = 'N') AS RDCT_RSN_CD <!-- 감경 사유 코드 -->
, <include refid="utility.today" /> AS TODAY
, <include refid="utility-jar.today" /> AS TODAY
FROM TB_CRDN C
INNER JOIN TB_CRDN_ADI CA ON (C.CRDN_ID = CA.CRDN_ID)
INNER JOIN TB_VLTN V ON (C.VLTN_ID = V.VLTN_ID)

@ -239,19 +239,19 @@
</sql>
<select id="selectNisIndivA02List" parameterType="map" resultType="dataobject">/* 과태료 대장 등록 자료 일괄 조회 목록 조회(nisIndivA02Mapper.selectNisIndivA02List) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
<where>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectNisIndivA02s" parameterType="map" resultType="dataobject">/* 과태료 대장 등록 자료 일괄 조회 객체 가져오기(nisIndivA02Mapper.selectNisIndivA02s) */
<include refid="select" />
<where>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<insert id="insertNisIndivA02" parameterType="map">/* 과태료 대장 등록 자료 일괄 조회 등록(nisIndivA02Mapper.insertNisIndivA02) */
@ -477,9 +477,9 @@ INSERT INTO TB_NIS_INDIV_A02 (
, #{nisIndivA02.taskAplcnDt} <!-- 업무 적용 일시 -->
, #{nisIndivA02.taskAplcnCd} <!-- 업무 적용 코드 -->
, #{nisIndivA02.taskAplcnMsg} <!-- 업무 적용 메시지 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
)</insert>
@ -592,14 +592,14 @@ UPDATE TB_NIS_INDIV_A02 SET
, TASK_APLCN_DT = #{nisIndivA02.taskAplcnDt} <!-- 업무 적용 일시 -->
, TASK_APLCN_CD = #{nisIndivA02.taskAplcnCd} <!-- 업무 적용 코드 -->
, TASK_APLCN_MSG = #{nisIndivA02.taskAplcnMsg} <!-- 업무 적용 메시지 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{currentUser.id} <!-- 수정자 -->
WHERE A02_ID = #{nisIndivA02.a02Id}</update>
<update id="deleteNisIndivA02" parameterType="map">/* 과태료 대장 등록 자료 일괄 조회 삭제(nisIndivA02Mapper.deleteNisIndivA02) */
UPDATE TB_NIS_INDIV_A02 SET
USE_YN = 'N'
, MDFCN_DT =<include refid="utility.now" />
, MDFCN_DT =<include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
WHERE A02_ID = #{nisIndivA02.a02Id}</update>

@ -247,19 +247,19 @@
</sql>
<select id="selectNisIndivA03List" parameterType="map" resultType="dataobject">/* 과태료 대장 등록 자료 상세 조회 목록 조회(nisIndivA03Mapper.selectNisIndivA03List) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
<where>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectNisIndivA03s" parameterType="map" resultType="dataobject">/* 과태료 대장 등록 자료 상세 조회 객체 가져오기(nisIndivA03Mapper.selectNisIndivA03s) */
<include refid="select" />
<where>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<insert id="insertNisIndivA03" parameterType="map">/* 과태료 대장 등록 자료 상세 조회 등록(nisIndivA03Mapper.insertNisIndivA03) */
@ -493,9 +493,9 @@ INSERT INTO TB_NIS_INDIV_A03 (
, #{nisIndivA03.taskAplcnDt} <!-- 업무 적용 일시 -->
, #{nisIndivA03.taskAplcnCd} <!-- 업무 적용 코드 -->
, #{nisIndivA03.taskAplcnMsg} <!-- 업무 적용 메시지 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
)</insert>
@ -612,14 +612,14 @@ UPDATE TB_NIS_INDIV_A03 SET
, TASK_APLCN_DT = #{nisIndivA03.taskAplcnDt} <!-- 업무 적용 일시 -->
, TASK_APLCN_CD = #{nisIndivA03.taskAplcnCd} <!-- 업무 적용 코드 -->
, TASK_APLCN_MSG = #{nisIndivA03.taskAplcnMsg} <!-- 업무 적용 메시지 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{currentUser.id} <!-- 수정자 -->
WHERE A03_ID = #{nisIndivA03.a03Id}</update>
<update id="deleteNisIndivA03" parameterType="map">/* 과태료 대장 등록 자료 상세 조회 삭제(nisIndivA03Mapper.deleteNisIndivA03) */
UPDATE TB_NIS_INDIV_A03 SET
USE_YN = 'N'
, MDFCN_DT =<include refid="utility.now" />
, MDFCN_DT =<include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
WHERE A03_ID = #{nisIndivA03.a03Id}</update>

@ -66,13 +66,13 @@
</sql>
<select id="selectPayerList" parameterType="map" resultType="dataobject">/* 납부자 대장 목록 조회(payerMapper.selectPayerList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
<where>
AND P.RTPYR_ID IN (<foreach collection="rtpyrIds" item="rtpyrId" separator=",">#{rtpyrId}</foreach>)
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectPayers" parameterType="map" resultMap="payerRow">/* 납부자 대장 객체 가져오기(payerMapper.selectPayers) */
@ -91,7 +91,7 @@
</otherwise>
</choose>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<insert id="insertPayer" parameterType="map">/* 납부자 대장 등록(payerMapper.insertPayer) */
@ -131,9 +131,9 @@
, #{payer.rtpyrEml} <!-- 납부자 이메일 -->
, #{payer.rtpyrBrdt} <!-- 납부자 생년월일 -->
, #{payer.rtpyrSttsCd} <!-- 납부자 상태 코드 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{payer.createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{payer.modifiedBy} <!-- 수정자 -->
FROM DUAL
WHERE NOT EXISTS (
@ -154,7 +154,7 @@
, RTPYR_MBL_TELNO = #{payer.rtpyrMblTelno} <!-- 납부자 휴대 전화번호 -->
, RTPYR_EML = #{payer.rtpyrEml} <!-- 납부자 이메일 -->
, RTPYR_STTS_CD = #{payer.rtpyrSttsCd} <!-- 납부자 상태 코드 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{payer.modifiedBy} <!-- 수정자 -->
WHERE RTPYR_ID = #{payer.rtpyrId}
</update>
@ -239,7 +239,7 @@
AND C.DEL_YN = 'N'
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<select id="selectCrdn" parameterType="map" resultType="dataobject">/* 단속 대장 객체 가져오기(payerMapper.selectCrdn) */
@ -288,7 +288,7 @@
<select id="selectPayerHstrys" parameterType="map" resultType="dataobject">/* 납부자 이력 대장 객체 가져오기(payerMapper.selectPayerHstrys) */
<include refid="selectPayerHstry" />
WHERE CPH.CRDN_ID = #{crdnId} <!-- 단속 ID -->
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
</mapper>

@ -61,14 +61,14 @@
</sql>
<select id="selectPayerAddrList" parameterType="map" resultType="dataobject">/* 납부자 주소 목록 조회(payerAddrMapper.selectPayerAddrList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
WHERE PA.RTPYR_ID = #{rtpyrId}
<if test="addrSn != null">
AND PA.ADDR_SN = #{addrSn}
</if>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectPayerAddrs" parameterType="map" resultMap="payerAddrRow">/* 납부자 주소 객체 가져오기(payerAddrMapper.selectPayerAddrs) */
@ -77,7 +77,7 @@
<if test="addrSn != null">
AND PA.ADDR_SN = #{addrSn}
</if>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<select id="selectPayerAddrInfo" parameterType="map" resultMap="payerAddrRow">/* 납부자 주소 객체 가져오기(payerAddrMapper.selectPayerAddrInfo) */
@ -138,7 +138,7 @@
</if>
</otherwise>
</choose>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<insert id="insertPayerAddr" parameterType="cokr.xit.fims.payer.Payer">/* 납부자 주소 등록(payerAddrMapper.insertPayerAddr) */
@ -197,16 +197,16 @@
, #{spclHo} <!-- 특수 호 -->
, #{spclAddr} <!-- 특수 주소 -->
, #{wholAddr} <!-- 전체 주소 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{modifiedBy} <!-- 수정자 -->
)
</insert>
<update id="updatePayerAddr" parameterType="cokr.xit.fims.payer.Payer">/* 납부자 주소 수정(payerAddrMapper.updatePayerAddr) */
UPDATE TB_PAYER_ADDR
SET MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
SET MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE RTPYR_ID = #{rtpyrId}
AND ADDR_SN = #{addrSn}
@ -245,7 +245,7 @@
<include refid="selectPayerAddrHstry" />
WHERE CPAH.CRDN_ID = #{crdnId} <!-- 단속 ID -->
AND CPAH.RTPYR_ID = #{rtpyrId} <!-- 납부자 ID -->
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
</mapper>

@ -129,7 +129,7 @@
</sql>
<select id="selectRcvmtList" parameterType="map" resultType="dataobject">/* 수납 대장 목록 조회(rcvmtMapper.selectRcvmtList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="selectList" />
<where>
<if test="schRcvmtYmdFrom != null">
@ -266,8 +266,8 @@
</choose>
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<sql id="select">
@ -342,13 +342,13 @@
AND R.DEL_YN = #{delYn} <!-- 삭제 여부 -->
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<update id="updateRcvmtRtrcn" parameterType="cokr.xit.fims.rcvm.Rcvmt">/* 수납 대장 수납취소 정보 수정(rcvmtMapper.updateRcvmtRtrcn) */
UPDATE TB_RCVMT
SET RCVMT_RTRCN_YN = #{rcvmtRtrcnYn} <!-- 수납 취소 여부 -->
, RCVMT_RTRCN_DT = <include refid="utility.now" /> <!-- 수납 취소 일시 -->
, RCVMT_RTRCN_DT = <include refid="utility-jar.now" /> <!-- 수납 취소 일시 -->
, RCVMT_RTRCN_RSN = #{rcvmtRtrcnRsn} <!-- 수납 취소 사유 -->
, MDFCN_DT = #{lastModified} <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
@ -529,7 +529,7 @@
</otherwise>
</choose>
AND L.DEL_YN = 'N'
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
</mapper>

@ -85,17 +85,17 @@
</sql>
<select id="selectRdamtList" parameterType="map" resultType="dataobject">/* 감액 대장 목록 조회(rdcamtMapper.selectRdamtList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="selectList" />
<where></where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectRdamts" parameterType="map" resultType="dataobject">/* 감액 대장 객체 가져오기(rdcamtMapper.selectRdamts) */
<include refid="select" />
<where></where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<insert id="insertRdamt" parameterType="map">/* 감액 대장 등록(rdcamtMapper.insertRdamt) */
@ -138,9 +138,9 @@
, #{rdamt.rdamtRtrcnYmd} <!-- 감액 취소 일자 -->
, #{rdamt.rdamtRtrcnRsn} <!-- 감액 취소 사유 -->
, 'N' <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{rdamt.createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{rdamt.modifiedBy} <!-- 수정자 -->
)
</insert>
@ -157,7 +157,7 @@
, RDAMT_RTRCN_YN = #{rdamt.rdamtRtrcnYn} <!-- 감액 취소 여부 -->
, RDAMT_RTRCN_YMD = #{rdamt.rdamtRtrcnYmd} <!-- 감액 취소 일자 -->
, RDAMT_RTRCN_RSN = #{rdamt.rdamtRtrcnRsn} <!-- 감액 취소 사유 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{rdamt.modifiedBy} <!-- 수정자 -->
WHERE RDAMT_ID = #{rdamt.rdamtId} <!-- 감액 ID -->
AND DEL_YN = 'N' <!-- 삭제 여부 -->
@ -166,7 +166,7 @@
<update id="deleteRdamt" parameterType="map">/* 감액 대장 삭제(rdamtMapper.deleteRdamt) */
UPDATE TB_RDAMT
SET DEL_YN = 'Y'
, DEL_DT = <include refid="utility.now" /> <!-- 삭제 일시 -->
, DEL_DT = <include refid="utility-jar.now" /> <!-- 삭제 일시 -->
, DLTR = #{rdamt.modifiedBy} <!-- 삭제자 -->
, DEL_RSN = #{rdamt.delRsn} <!-- 삭제 사유 -->
WHERE RDAMT_ID = #{rdamt.rdamtId} <!-- 감액 ID -->

@ -71,16 +71,16 @@
FROM TB_HIRER</sql>
<select id="selectHirerList" parameterType="map" resultType="dataobject">/* 임차인 정보 목록 조회(hirerMapper.selectHirerList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
<where></where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" /></select>
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" /></select>
<select id="selectHirers" parameterType="map" resultMap="hirerRow">/* 임차인 정보 객체 가져오기(hirerMapper.selectHirers) */
<include refid="select" />
<where></where>
<include refid="utility.orderBy" /></select>
<include refid="utility-jar.orderBy" /></select>
<insert id="insertHirer" parameterType="map">/* 임차인 정보 등록(hirerMapper.insertHirer) */
INSERT INTO TB_HIRER (
@ -136,9 +136,9 @@ INSERT INTO TB_HIRER (
, #{hirer.atchFileDltr} <!-- 첨부 파일 삭제자 -->
, #{hirer.atchFileDelIp} <!-- 첨부 파일 삭제 IP -->
, #{hirer.delYn} <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
, #{hirer.removedAt} <!-- 삭제 일시 -->
, #{hirer.removedBy} <!-- 삭제자 -->
@ -168,7 +168,7 @@ UPDATE TB_HIRER SET
, ATCH_FILE_DLTR = #{hirer.atchFileDltr} <!-- 첨부 파일 삭제자 -->
, ATCH_FILE_DEL_IP = #{hirer.atchFileDelIp} <!-- 첨부 파일 삭제 IP -->
, DEL_YN = #{hirer.delYn} <!-- 삭제 여부 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{currentUser.id} <!-- 수정자 -->
, DEL_DT = #{hirer.removedAt} <!-- 삭제 일시 -->
, DLTR = #{hirer.removedBy} <!-- 삭제자 -->
@ -178,7 +178,7 @@ UPDATE TB_HIRER SET
<update id="deleteHirer" parameterType="map">/* 임차인 정보 삭제(hirerMapper.deleteHirer) */
UPDATE TB_HIRER SET
USE_YN = 'N'
, MDFCN_DT =<include refid="utility.now" />
, MDFCN_DT =<include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
WHERE HIRER_ID = #{hirer.hirerId}</update>

@ -146,7 +146,7 @@
AND MM_TASKGB = #{taskSeCd} <!-- 업무 구분 코드 -->
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<select id="selectCrdnInfo" parameterType="string" resultType="dataobject">/* 단속 객체 가져오기(lsctMapper.selectCrdnInfo) */
@ -252,7 +252,7 @@
, #{delYn} <!-- 삭제 여부 -->
, #{createdAt} <!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{modifiedBy} <!-- 수정자 -->
)
</insert>
@ -303,7 +303,7 @@
, #{delYn} <!-- 삭제 여부 -->
, #{createdAt} <!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{modifiedBy} <!-- 수정자 -->
)
</insert>
@ -365,7 +365,7 @@
</sql>
<select id="selectLsctList" parameterType="map" resultType="dataobject">/* 임대차계약 대장 목록 조회(lsctMapper.selectLsctList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="selectList" />
<where>
<if test="schCrdnYmdFrom != null">
@ -393,8 +393,8 @@
</if>
AND C.DEL_YN = 'N' <!-- 단속 삭제 여부 -->
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<sql id="select">
@ -433,7 +433,7 @@
<select id="selectLscts" parameterType="map" resultMap="lsctRow">/* 임대차계약 대장 객체 가져오기(lsctMapper.selectLscts) */
<include refid="select" />
<where></where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<insert id="insertLsct" parameterType="map">/* 임대차계약 대장 등록(lsctMapper.insertLsct) */
@ -500,9 +500,9 @@
, #{lsct.chgAprvRsn} <!-- 변경 승인 사유 -->
, #{lsct.chgAprvIp} <!-- 변경 승인 IP -->
, #{lsct.delYn} <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
, #{lsct.removedAt} <!-- 삭제 일시 -->
, #{lsct.removedBy} <!-- 삭제자 -->
@ -538,7 +538,7 @@
, CHG_APRV_RSN = #{lsct.chgAprvRsn} <!-- 변경 승인 사유 -->
, CHG_APRV_IP = #{lsct.chgAprvIp} <!-- 변경 승인 IP -->
, DEL_YN = #{lsct.delYn} <!-- 삭제 여부 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{currentUser.id} <!-- 수정자 -->
, DEL_DT = #{lsct.removedAt} <!-- 삭제 일시 -->
, DLTR = #{lsct.removedBy} <!-- 삭제자 -->
@ -549,7 +549,7 @@
<update id="deleteLsct" parameterType="map">/* 임대차계약 대장 삭제(lsctMapper.deleteLsct) */
UPDATE TB_LSCT
SET USE_YN = 'N'
, MDFCN_DT =<include refid="utility.now" />
, MDFCN_DT =<include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
WHERE LSCT_ID = #{lsct.lsctId}
</update>

@ -53,7 +53,7 @@
</sql>
<select id="selectRentEntList" parameterType="map" resultType="dataobject">/* 임대 기업 대장 목록 조회(rentEntMapper.selectRentEntList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
<where>
<if test="entId != null">
@ -77,8 +77,8 @@
</otherwise>
</choose>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectRentEnts" parameterType="map" resultType="dataobject">/* 임대 기업 대장 객체 가져오기(rentEntMapper.selectRentEnts) */
@ -99,7 +99,7 @@
</otherwise>
</choose>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<insert id="insertRentEnt" parameterType="cokr.xit.fims.rent.RentEnt">/* 임대 기업 대장 등록(rentEntMapper.insertRentEnt) */
@ -145,9 +145,9 @@
, #{entAddr} <!-- 기업 주소 -->
, #{entDtlAddr} <!-- 기업 상세 주소 -->
, 'N' <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{modifiedBy} <!-- 수정자 -->
, NULL <!-- 삭제 일시 -->
, NULL <!-- 삭제자 -->
@ -167,7 +167,7 @@
, ENT_ZIP = #{entZip} <!-- 기업 우편번호 -->
, ENT_ADDR = #{entAddr} <!-- 기업 주소 -->
, ENT_DTL_ADDR = #{entDtlAddr} <!-- 기업 상세 주소 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE ENT_ID = #{entId} <!-- 기업 ID -->
AND DEL_YN = 'N'
@ -176,7 +176,7 @@
<update id="deleteRentEnt" parameterType="cokr.xit.fims.rent.RentEnt">/* 임대 기업 대장 삭제(rentEntMapper.deleteRentEnt) */
UPDATE TB_RENT_ENT
SET DEL_YN = 'Y'
, DEL_DT = <include refid="utility.now" /> <!-- 삭제 일시 -->
, DEL_DT = <include refid="utility-jar.now" /> <!-- 삭제 일시 -->
, DLTR = #{modifiedBy} <!-- 삭제자 -->
, DEL_RSN = #{delRsn} <!-- 삭제 사유 -->
WHERE ENT_ID = #{entId} <!-- 기업 ID -->

@ -48,7 +48,7 @@
</sql>
<select id="selectUserRentEntMpngList" parameterType="map" resultType="dataobject">/* 사용자 임대 기업 매핑 목록 조회(userRentEntMpngMapper.selectUserRentEntMpngList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
<where>
<if test="userId != null">
@ -66,8 +66,8 @@
</otherwise>
</choose>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectUserRentEntMpngs" parameterType="map" resultType="dataobject">/* 사용자 임대 기업 매핑 객체 가져오기(userRentEntMpngMapper.selectUserRentEntMpngs) */
@ -88,7 +88,7 @@
</otherwise>
</choose>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<insert id="insertUserRentEntMpng" parameterType="cokr.xit.fims.rent.UserRentEntMpng">/* 사용자 임대 기업 매핑 등록(userRentEntMpngMapper.insertUserRentEntMpng) */
@ -115,9 +115,9 @@
, #{userId} <!-- 사용자 ID -->
, #{entId} <!-- 기업 ID -->
, 'N' <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{modifiedBy} <!-- 수정자 -->
)
</insert>
@ -125,7 +125,7 @@
<update id="deleteUserRentEntMpng" parameterType="cokr.xit.fims.rent.UserRentEntMpng">/* 사용자 임대 기업 매핑 삭제(userRentEntMpngMapper.deleteUserRentEntMpng) */
UPDATE TB_USER_RENT_ENT_MPNG
SET DEL_YN = 'Y'
, DEL_DT = <include refid="utility.now" /> <!-- 삭제 일시 -->
, DEL_DT = <include refid="utility-jar.now" /> <!-- 삭제 일시 -->
, DLTR = #{modifiedBy} <!-- 삭제자 -->
<choose>
<when test="mpngIds != null">

@ -67,9 +67,9 @@
, S.RGTR <!-- 등록자 -->
, S.MDFCN_DT <!-- 수정 일시 -->
, S.MDFR <!-- 수정자 -->
, <include refid="utility.today" /> AS TODAY <!-- 오늘 일자 -->
, GET_MASK_DATE(<include refid="utility.today" />, 'K') AS TODAY_MASK <!-- 오늘 일자 한글 마스크 -->
, <include refid="utility.now" /> AS NOW <!-- 현재 일시 -->
, <include refid="utility-jar.today" /> AS TODAY <!-- 오늘 일자 -->
, GET_MASK_DATE(<include refid="utility-jar.today" />, 'K') AS TODAY_MASK <!-- 오늘 일자 한글 마스크 -->
, <include refid="utility-jar.now" /> AS NOW <!-- 현재 일시 -->
, (SELECT GET_CODE_NM('FIM054', S.TASK_SE_CD) FROM DUAL) AS TASK_SE_NM <!-- 업무 구분 명 -->
, (SELECT GET_CODE_NM('FIM067', S.SNDNG_REG_SE_CD) FROM DUAL) AS SNDNG_REG_SE_NM <!-- 발송 등록 구분 명 -->
, (SELECT GET_CODE_NM('FIM047', S.SNDNG_SE_CD) FROM DUAL) AS SNDNG_SE_NM <!-- 발송 구분 명 -->
@ -81,7 +81,7 @@
</sql>
<select id="selectSndngList" parameterType="map" resultType="dataobject">/* 발송 대장 목록 조회(sndngMapper.selectSndngList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="selectList" />
<where>
<if test="schSndngYmdFrom != null">
@ -170,8 +170,8 @@
</choose>
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectSndngs" parameterType="map" resultType="dataobject">/* 발송 대장 객체 가져오기(sndngMapper.selectSndngs) */
@ -194,7 +194,7 @@
</otherwise>
</choose>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<sql id="selectWrngTrgt">
@ -408,26 +408,26 @@
</sql>
<select id="selectWrngTrgtList" parameterType="map" resultType="dataobject">/* 계고장 발송 대상 목록 조회(sndngMapper.selectWrngTrgtList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
SELECT C.CRDN_ID <!-- 단속 ID -->
, SUM(C.FFNLG_CRDN_AMT) OVER() AS GRAMT <!-- 총금액 -->
<include refid="selectWrngTrgt" />
<include refid="fromWrngTrgt" />
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectWrngTrgts" parameterType="map" resultType="dataobject">/* 계고장 발송 대상 객체 가져오기(sndngMapper.selectWrngTrgts) */
SELECT C.CRDN_ID <!-- 단속 ID -->
<include refid="selectWrngTrgt" />
<include refid="fromWrngTrgt" />
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<select id="selectWrngTrgtCrdnIds" parameterType="map" resultType="dataobject">/* 계고장 발송 대상 단속ID 가져오기(sndngMapper.selectWrngTrgtCrdnIds) */
SELECT C.CRDN_ID <!-- 단속 ID -->
<include refid="fromWrngTrgt" />
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<sql id="selectAdvntceTrgt">
@ -626,27 +626,27 @@
</sql>
<select id="selectAdvntceTrgtList" parameterType="map" resultType="dataobject">/* 사전통지 발송 대상 목록 조회(sndngMapper.selectAdvntceSndngTrgtList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
SELECT C.CRDN_ID <!-- 단속 ID -->
, SUM(C.ADVNTCE_AMT) OVER() AS GRAMT <!-- 사전통지 총금액 -->
<include refid="selectAdvntceTrgt" />
<include refid="fromAdvntceTrgt" />
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectAdvntceTrgts" parameterType="map" resultType="dataobject">/* 사전통지 발송 대상 객체 가져오기(sndngMapper.selectAdvntceSndngTrgts) */
SELECT C.CRDN_ID <!-- 단속 ID -->
<include refid="selectAdvntceTrgt" />
<include refid="fromAdvntceTrgt" />
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<select id="selectAdvntceTrgtCrdnIds" parameterType="map" resultType="dataobject">/* 사전통지 발송 대상 단속ID 가져오기(sndngMapper.selectAdvntceTrgtCrdnIds) */
SELECT C.CRDN_ID <!-- 단속 ID -->
, SUM(C.ADVNTCE_AMT) OVER() AS GRAMT <!-- 사전통지 총금액 -->
<include refid="fromAdvntceTrgt" />
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<sql id="selectNhtTrgt">
@ -737,20 +737,20 @@
</sql>
<select id="selectNhtTrgtList" parameterType="map" resultType="dataobject">/* 사전통지 발송 대상 목록 조회(sndngMapper.selectAdvntceSndngTrgtList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
SELECT L.LEVY_ID <!-- 부과 ID -->
, SUM(L.SUM_AMT) OVER() AS GRAMT <!-- 총금액 -->
<include refid="selectNhtTrgt" />
<include refid="fromNhtTrgt" />
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectNhtTrgts" parameterType="map" resultType="dataobject">/* 고지서 발송 대상 객체 가져오기(sndngMapper.selectAdvntceSndngTrgts) */
SELECT L.LEVY_ID <!-- 부과 ID -->
<include refid="selectNhtTrgt" />
<include refid="fromNhtTrgt" />
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<select id="selectNhtTrgtCrdnIds" parameterType="map" resultType="dataobject">/* 고지서 발송 대상 단속ID 가져오기(sndngMapper.selectAdvntceTrgtCrdnIds) */
@ -758,7 +758,7 @@
, C.CRDN_ID <!-- 단속 ID -->
, SUM(L.SUM_AMT) OVER() AS GRAMT <!-- 총금액 -->
<include refid="fromNhtTrgt" />
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<sql id="selectCrdnPayer">
@ -904,7 +904,7 @@
</otherwise>
</choose>
AND C.DEL_YN = 'N' <!-- 삭제 여부 -->
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<insert id="insertSndng" parameterType="cokr.xit.fims.sndb.Sndng">/* 발송 대장 등록(sndngMapper.insertSndng) */
@ -971,9 +971,9 @@
, #{sndngSttsCd} <!-- 발송 상태 코드 -->
, #{rsndYn} <!-- 재발송 여부 -->
, #{delYn} <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{modifiedBy} <!-- 수정자 -->
)
</insert>
@ -996,7 +996,7 @@
, EPOST_NOTICE_ID = #{epostNoticeId}<!-- 전자우편 안내문 ID -->
, SNDNG_STTS_CD = #{sndngSttsCd} <!-- 발송 상태 코드 -->
, RSND_YN = #{rsndYn} <!-- 재발송 여부 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE SNDNG_ID = #{sndngId} <!-- 발송 ID -->
AND DEL_YN = 'N'
@ -1005,7 +1005,7 @@
<update id="deleteSndng" parameterType="cokr.xit.fims.sndb.Sndng">/* 발송 대장 삭제(sndngMapper.deleteSndng) */
UPDATE TB_SNDNG
SET DEL_YN = 'Y' <!-- 삭제 여부 -->
, DEL_DT = <include refid="utility.now" /> <!-- 삭제 일시 -->
, DEL_DT = <include refid="utility-jar.now" /> <!-- 삭제 일시 -->
, DLTR = #{modifiedBy} <!-- 삭제자 -->
, DEL_RSN = #{delRsn} <!-- 삭제 사유 -->
WHERE SNDNG_ID = #{sndngId} <!-- 발송 ID -->
@ -1015,7 +1015,7 @@
<update id="updateSndngSttsCd" parameterType="cokr.xit.fims.sndb.Sndng">/* 발송 대장 정보의 발송 상태 코드를 수정(sndngMapper.updateSndngSttsCd) */
UPDATE TB_SNDNG
SET SNDNG_STTS_CD = #{sndngSttsCd} <!-- 발송 상태 코드 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE SNDNG_ID = #{sndngId} <!-- 발송 ID -->
AND DEL_YN = 'N'
@ -1026,7 +1026,7 @@
SET CON_KEY = #{sndng.conKey} <!-- 외부연계식별키 -->
, DIV_KB = #{sndng.divKb} <!-- 취급 구분 -->
, EPOST_NOTICE_ID = #{sndng.epostNoticeId}<!-- 전자우편 안내문 ID -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{sndng.modifiedBy} <!-- 수정자 -->
WHERE SNDNG_ID = #{sndng.sndngId} <!-- 발송 ID -->
AND DEL_YN = 'N'

@ -226,7 +226,7 @@
</sql>
<select id="selectSndngDtlList" parameterType="map" resultType="dataobject">/* 발송 상세 목록 조회(sndngDtlMapper.selectSndngDtlList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="selectList" />
<where>
<if test="sndngId != null">
@ -280,8 +280,8 @@
AND S.TASK_SE_CD = #{taskSeCd} <!-- 업무 구분 코드 -->
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectSndngDtls" parameterType="map" resultType="dataobject">/* 발송 상세 객체 가져오기(sndngDtlMapper.selectSndngDtls) */
@ -305,7 +305,7 @@
AND SD.DEL_YN = #{delYn} <!-- 삭제 여부 -->
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<select id="selectSndngTrgtDtlIds" parameterType="map" resultType="dataobject">/* 발송 ID로 발송상세 ID를 가져오기(sndngDtlMapper.selectSndngTrgtDtlIds) */
@ -519,9 +519,9 @@
, #{bankNm20} <!-- 은행 명 20 -->
, #{vrActno20} <!-- 가상 계좌번호 20 -->
, 'N' <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{modifiedBy} <!-- 수정자 -->
)
</insert>
@ -609,7 +609,7 @@
, VR_ACTNO19 = #{vrActno19} <!-- 가상 계좌번호 19 -->
, BANK_NM20 = #{bankNm20} <!-- 은행 명 20 -->
, VR_ACTNO20 = #{vrActno20} <!-- 가상 계좌번호 20 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE SNDNG_DTL_ID = #{sndngDtlId} <!-- 발송 상세 ID -->
AND DEL_YN = 'N'
@ -618,7 +618,7 @@
<update id="deleteSndngDtl" parameterType="cokr.xit.fims.sndb.SndngDtl">/* 발송 상세 삭제(sndngDtlMapper.deleteSndngDtl) */
UPDATE TB_SNDNG_DTL
SET DEL_YN = 'Y'
, DEL_DT = <include refid="utility.now" /> <!-- 삭제 일시 -->
, DEL_DT = <include refid="utility-jar.now" /> <!-- 삭제 일시 -->
, DLTR = #{modifiedBy} <!-- 삭제자 -->
, DEL_RSN = #{delRsn} <!-- 삭제사유 -->
<choose>
@ -646,7 +646,7 @@
<if test="sndngDtl.linkMngKey != null">
, LINK_MNG_KEY = #{linkMngKey} <!-- 연계 관리 키 -->
</if>
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE SNDNG_DTL_ID = #{sndngDtlId} <!-- 발송 상세 ID -->
AND DEL_YN = 'N'
@ -710,7 +710,7 @@
, VR_ACTNO19 = #{vrActno19} <!-- 가상 계좌번호19 -->
, BANK_NM20 = #{bankNm20} <!-- 은행 명20 -->
, VR_ACTNO20 = #{vrActno20} <!-- 가상 계좌번호20 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE SNDNG_DTL_ID = #{sndngDtlId} <!-- 발송 상세 ID -->
AND DEL_YN = 'N'
@ -721,7 +721,7 @@
SET BFR_SNDNG_DTL_STTS_CD = SNDNG_DTL_STTS_CD <!-- 이전 발송 상세 상태 코드 -->
, SNDNG_DTL_STTS_CD= #{sndngDtlSttsCd} <!-- 발송 상세 상태 코드 -->
, SNDNG_RCVMT_CD = #{sndngRcvmtCd} <!-- 발송 수납 코드 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE SNDNG_DTL_ID = #{sndngDtlId} <!-- 발송 상세 ID -->
AND DEL_YN = 'N'
@ -733,14 +733,14 @@
, SNDNG_DTL_STTS_CD= #{sndngDtlSttsCd} <!-- 발송 상세 상태 코드 -->
, CON_KEY = #{conKey} <!-- 외부연계식별키 -->
, RG_NO = #{rgNo} <!-- 등기 번호 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE SNDNG_DTL_ID = #{sndngDtlId} <!-- 발송 상세 ID -->
AND DEL_YN = 'N'
</update>
<select id="selectSndbkList" parameterType="map" resultType="dataobject">/* 반송 목록 조회(sndngDtlMapper.selectSndbkList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
SELECT SD.SNDNG_DTL_ID <!-- 발송 상세 ID -->
, SD.SVBTC_ID <!-- 공시송달 ID -->
, SD.SNDNG_SE_CD <!-- 발송 구분 코드 -->
@ -808,8 +808,8 @@
, P.RTPYR_NO <!-- 납부자 번호 -->
, P.RTPYR_NM <!-- 납부자 명 -->
<include refid="fromSndbk" />
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<sql id="fromSndbk">
@ -947,7 +947,7 @@
<select id="selectSvbtcsTrgtSndngDtlIds" parameterType="map" resultType="dataobject">/* 공시송달 대상 발송 상세 ID 가져오기(sndngMapper.selectSvbtcsTrgtSndngDtlIds) */
SELECT SD.SNDNG_DTL_ID <!-- 발송 상세 ID -->
<include refid="fromSndbk" />
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<sql id="selectSndbk">
@ -1005,7 +1005,7 @@
</if>
</where>
AND SD.DEL_YN = 'N'
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<update id="createSndbk" parameterType="cokr.xit.fims.sndb.SndngDtl">/* 발송상세의 반송 정보 등록(sndngDtlMapper.createSndbk) */
@ -1016,7 +1016,7 @@
, UNDLVR_RSN_CD = #{undlvrRsnCd} <!-- 미배달 사유 코드 -->
, UNDLVR_RSN_NM = #{undlvrRsnNm} <!-- 미배달 사유 명 -->
, SNDNG_DTL_STTS_CD= #{sndngDtlSttsCd} <!-- 발송 상세 상태 코드 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
<choose>
<when test="sndngDtlIds != null">
@ -1039,7 +1039,7 @@
, DLVR_TM = #{dlvrTm} <!-- 배달 시각 -->
, UNDLVR_RSN_CD = #{undlvrRsnCd} <!-- 미배달 사유 코드 -->
, UNDLVR_RSN_NM = #{undlvrRsnNm} <!-- 미배달 사유 명 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
<choose>
<when test="sndngDtlIds != null">
@ -1064,7 +1064,7 @@
, UNDLVR_RSN_CD = NULL <!-- 미배달 사유 코드 -->
, UNDLVR_RSN_NM = NULL <!-- 미배달 사유 명 -->
, SNDNG_DTL_STTS_CD= #{sndngDtlSttsCd} <!-- 발송 상세 상태 코드 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
<choose>
<when test="sndngDtlIds != null">
@ -1091,7 +1091,7 @@
SET BFR_SNDNG_DTL_STTS_CD = SNDNG_DTL_STTS_CD <!-- 이전 발송 상세 상태 코드 -->
, SNDNG_DTL_STTS_CD= #{sndngDtlSttsCd} <!-- 발송 상세 상태 코드 -->
, SVBTC_ID = #{svbtcId} <!-- 공시송달 ID -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE SNDNG_DTL_ID = #{sndngDtlId} <!-- 발송 상세 ID -->
AND DEL_YN = 'N'
@ -1102,7 +1102,7 @@
SET SVBTC_ID = NULL <!-- 공시송달 ID -->
, BFR_SNDNG_DTL_STTS_CD = SNDNG_DTL_STTS_CD <!-- 이전 발송 상세 상태 코드 -->
, SNDNG_DTL_STTS_CD= #{sndngDtlSttsCd} <!-- 발송 상세 상태 코드 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE SVBTC_ID = #{svbtcId} <!-- 공시송달 ID -->
<if test="sndngDtlIds != null">

@ -41,16 +41,16 @@
FROM TB_SNDNG_HSTRY</sql>
<select id="selectSndngHstryList" parameterType="map" resultType="dataobject">/* 발송 이력 목록 조회(sndngHstryMapper.selectSndngHstryList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
<where></where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" /></select>
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" /></select>
<select id="selectSndngHstrys" parameterType="map" resultMap="sndngHstryRow">/* 발송 이력 객체 가져오기(sndngHstryMapper.selectSndngHstrys) */
<include refid="select" />
<where></where>
<include refid="utility.orderBy" /></select>
<include refid="utility-jar.orderBy" /></select>
<insert id="insertSndngHstry" parameterType="map">/* 발송 이력 등록(sndngHstryMapper.insertSndngHstry) */
INSERT INTO TB_SNDNG_HSTRY (
@ -81,7 +81,7 @@ INSERT INTO TB_SNDNG_HSTRY (
, #{sndngHstry.dlvrRsltCd} <!-- 배달 결과 코드 -->
, #{sndngHstry.undlvrRsnCd} <!-- 미배달 사유 코드 -->
, #{sndngHstry.undlvrRsnNm} <!-- 미배달 사유 명 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
)</insert>
@ -103,7 +103,7 @@ UPDATE TB_SNDNG_HSTRY SET
<update id="deleteSndngHstry" parameterType="map">/* 발송 이력 삭제(sndngHstryMapper.deleteSndngHstry) */
UPDATE TB_SNDNG_HSTRY SET
USE_YN = 'N'
, MDFCN_DT =<include refid="utility.now" />
, MDFCN_DT =<include refid="utility-jar.now" />
, MDFR = #{currentUser.id}
WHERE SNDNG_HSTRY_ID = #{sndngHstry.sndngHstryId}</update>

@ -52,7 +52,7 @@
</sql>
<select id="selectSvbtcList" parameterType="map" resultType="dataobject">/* 공시송달 대장 목록 조회(svbtcMapper.selectSvbtcList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
<where>
<if test="schSvbtcYmdFrom != null">
@ -118,8 +118,8 @@
</choose>
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectSvbtcs" parameterType="map" resultType="dataobject">/* 공시송달 대장 객체 가져오기(svbtcMapper.selectSvbtcs) */
@ -138,7 +138,7 @@
AND SV.DEL_YN = #{delYn} <!-- 삭제 여부 -->
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<sql id="selectDtl">
@ -203,7 +203,7 @@
</sql>
<select id="selectSvbtcDtlList" parameterType="map" resultType="dataobject">/* 공시송달 상세 목록 가져오기(svbtcMapper.selectSvbtcDtlList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="selectDtl" />
<choose>
<when test="sndngId != null">
@ -216,8 +216,8 @@
<if test="delYn != null">
AND SV.DEL_YN = #{delYn} <!-- 삭제 여부 -->
</if>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectSvbtcDtls" parameterType="map" resultType="dataobject">/* 공시송달 상세 객체 가져오기(svbtcMapper.selectSvbtcDtls) */
@ -244,7 +244,7 @@
AND SV.DEL_YN = #{delYn} <!-- 삭제 여부 -->
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<select id="selectSvbtcPrint" parameterType="map" resultType="dataobject">/* 공시송달 상세 객체 가져오기(svbtcMapper.selectSvbtcDtls) */
@ -312,7 +312,7 @@
AND SV.DEL_YN = 'N' <!-- 삭제 여부 -->
AND SD.DEL_YN = 'N' <!-- 삭제 여부 -->
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<select id="selectSvbtcTrgtDtlIDs" parameterType="String" resultType="dataobject">/* 반송 현황 조건에서 발송상세 ID를 가져오기(sndngDtlMapper.selectSvbtcTrgtDtlIDs) */
@ -362,9 +362,9 @@
, #{etcCn} <!-- 기타 내용 -->
, #{tnocs} <!-- 총건수 -->
, 'N' <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{modifiedBy} <!-- 수정자 -->
)
</insert>
@ -377,7 +377,7 @@
, TTL_NM = #{ttlNm} <!-- 제목 명 -->
, ETC_CN = #{etcCn} <!-- 기타 내용 -->
, TNOCS = #{tnocs} <!-- 총건수 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE SVBTC_ID = #{svbtcId} <!-- 공시송달 ID -->
AND DEL_YN = 'N'
@ -386,7 +386,7 @@
<update id="deleteSvbtc" parameterType="cokr.xit.fims.sndb.Svbtc">/* 공시송달 대장 삭제(svbtcMapper.deleteSvbtc) */
UPDATE TB_SVBTC
SET DEL_YN = 'Y' <!-- 삭제 여부 -->
, DEL_DT = <include refid="utility.now" /> <!-- 삭제 일시 -->
, DEL_DT = <include refid="utility-jar.now" /> <!-- 삭제 일시 -->
, DLTR = #{modifiedBy} <!-- 삭제자 -->
, DEL_RSN = #{delRsn} <!-- 삭제 사유 -->
WHERE SVBTC_ID = #{svbtcId} <!-- 공시송달 ID -->

@ -59,7 +59,7 @@
</sql>
<select id="selectCvlcptDscsnList" parameterType="map" resultType="dataobject">/* 민원 상담 내용 목록 조회(cvlcptDscsnCnMapper.selectCvlcptDscsnList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
<where>
<if test="schDscsnYmdFrom != null">
@ -85,8 +85,8 @@
</if>
AND CD.DEL_YN = 'N'
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" />
</select>
<select id="selectCvlcptDscsns" parameterType="map" resultType="dataobject">/* 민원 상담 내용 객체 가져오기(cvlcptDscsnCnMapper.selectCvlcptDscsns) */
@ -116,7 +116,7 @@
</choose>
AND CD.DEL_YN = 'N' <!-- 삭제 여부 -->
</where>
<include refid="utility.orderBy" />
<include refid="utility-jar.orderBy" />
</select>
<select id="selectCvlcptDscsnNocs" parameterType="map" resultType="dataobject">/* 민원 상담 내용 객체 가져오기(cvlcptDscsnCnMapper.selectCvlcptDscsns) */
@ -184,7 +184,7 @@
, NULL <!-- 납부자 번호 -->
</otherwise>
</choose>
, <include refid="utility.today" /> <!-- 상담 일자 -->
, <include refid="utility-jar.today" /> <!-- 상담 일자 -->
, ( CASE DAYOFWEEK(NOW())
WHEN '1' THEN '일'
WHEN '2' THEN '월'
@ -198,9 +198,9 @@
, #{cvlprCttpc} <!-- 민원인 연락처 -->
, #{dscsnCn} <!-- 상담 내용 -->
, 'N' <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{modifiedBy} <!-- 수정자 -->
)
</insert>
@ -210,7 +210,7 @@
SET CVLPR_NM = #{cvlprNm} <!-- 민원인 명 -->
, CVLPR_CTTPC = #{cvlprCttpc} <!-- 민원인 연락처 -->
, DSCSN_CN = #{dscsnCn} <!-- 상담 내용 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFCN_DT = <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, MDFR = #{modifiedBy} <!-- 수정자 -->
WHERE CVLCPT_DSCSN_ID = #{cvlcptDscsnId} <!-- 민원 상담 ID -->
AND DEL_YN = 'N'
@ -219,7 +219,7 @@
<update id="deleteCvlcptDscsn" parameterType="cokr.xit.fims.sprt.CvlcptDscsn">/* 민원 상담 내용 삭제(cvlcptDscsnMapper.deleteCvlcptDscsn) */
UPDATE TB_CVLCPT_DSCSN
SET DEL_YN = 'Y' <!-- 삭제 여부 -->
, DEL_DT = <include refid="utility.now" /> <!-- 삭제 일시 -->
, DEL_DT = <include refid="utility-jar.now" /> <!-- 삭제 일시 -->
, DLTR = #{modifiedBy} <!-- 삭제자 -->
, DEL_RSN = #{delRsn} <!-- 삭제 사유 -->
<choose>

@ -344,7 +344,7 @@ LEFT OUTER JOIN TB_LEVY L ON (C.CRDN_ID = L.CRDN_ID AND L.DEL_YN = '
</choose>
</if>
<include refid="utility.sortBy" />
<include refid="utility-jar.sortBy" />
</select>

@ -51,9 +51,9 @@ SELECT #{newMoscId}
, MOSC_LEN
, MOSC_HGT
, 'N' <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, <include refid="utility-jar.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
FROM TB_FILE_MOSC
WHERE FILE_ID = #{oldFileId}

@ -244,7 +244,7 @@ SELECT CON_ORG <!-- 외부기관구분코드
FROM TB_EPOST_RCPT_REG</sql>
<select id="selectRequestList" parameterType="map" resultType="dataobject">/* 전자우편 신청 목록 조회(emailRequestMapper.selectRequestList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="select" />
<where>
<if test="conKeys != null">AND CON_KEY IN (<foreach collection="conKeys" item="conKey" separator=",">#{conKey}</foreach>)</if>
@ -254,13 +254,13 @@ AND RCEPT_YMD BETWEEN #{fromRegDate} AND #{toRegDate}
AND DEL_YN = 'N'
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" /></select>
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" /></select>
<select id="selectRequests" parameterType="map" resultMap="emailRequestRow">/* 전자우편 신청 객체 가져오기(emailRequestMapper.selectRequests) */
<include refid="select" />
<where>AND CON_KEY IN (<foreach collection="conKeys" item="conKey" separator=",">#{conKey}</foreach>)</where>
<include refid="utility.orderBy" /></select>
<include refid="utility-jar.orderBy" /></select>
<insert id="insertRequest" parameterType="map">/* 전자우편 신청 등록(emailRequestMapper.insertRequest) */
INSERT INTO TB_EPOST_RCPT_REG (
@ -359,7 +359,7 @@ INSERT INTO TB_EPOST_RCPT_REG (
, #{emailRequest.postProcStt} <!-- 우편 처리 상태 -->
, #{emailRequest.rceptYmd} <!-- 접수 일자 -->
, #{emailRequest.delYn} <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
, #{emailRequest.removedAt} <!-- 삭제 일시 -->
, #{emailRequest.removedBy} <!-- 삭제자 -->
@ -440,7 +440,7 @@ UPDATE TB_EPOST_RCPT_REG SET
<update id="deleteRequest" parameterType="map">/* 전자우편 신청 삭제(emailRequestMapper.deleteRequest) */
UPDATE TB_EPOST_RCPT_REG SET
DEL_YN = 'Y'
, DEL_DT =<include refid="utility.now" />
, DEL_DT =<include refid="utility-jar.now" />
, DLTR = #{currentUser.id}
WHERE CON_KEY IN (<foreach collection="conKeys" item="conKey" separator=",">#{conKey}</foreach>)</update>
@ -586,14 +586,14 @@ UPDATE TB_EPOST_RCPT_REG SET
FROM TB_EPOST_RCPT_DTL</sql>
<select id="selectRequestDetailList" parameterType="map" resultType="dataobject">/* 전자우편 신청 상세 목록 조회(emailRequestMapper.selectRequestDetailList) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
<include refid="selectDetail" />
<where>
AND CON_KEY IN (<foreach collection="conKeys" item="conKey" separator=",">#{conKey}</foreach>)
<if test="rgstNmbrs != null">AND RGST_NMBR IN (<foreach collection="rgstNmbrs" item="rgstNmbr" separator=",">#{rgstNmbr}</foreach>)</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" /></select>
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" /></select>
<select id="selectRequestDetails" parameterType="map" resultMap="emailRequestDetailRow">/* 전자우편 신청 상세 객체 가져오기(emailRequestMapper.selectRequestDetails) */
<include refid="selectDetail" />
@ -601,7 +601,7 @@ AND CON_KEY IN (<foreach collection="conKeys" item="conKey" separator=",">#{conK
AND CON_KEY IN (<foreach collection="conKeys" item="conKey" separator=",">#{conKey}</foreach>)
<if test="rgstNmbrs != null">AND RGST_NMBR IN (<foreach collection="rgstNmbrs" item="rgstNmbr" separator=",">#{rgstNmbr}</foreach>)</if>
</where>
<include refid="utility.orderBy" /></select>
<include refid="utility-jar.orderBy" /></select>
<insert id="insertRequestDetail" parameterType="map">/* 전자우편 신청 상세 등록(emailRequestMapper.insertRequestDetail) */
INSERT INTO TB_EPOST_RCPT_DTL (
@ -739,7 +739,7 @@ INSERT INTO TB_EPOST_RCPT_DTL (
, #{emailRequestDetail.dtlVarData5} <!-- 추가 데이터5 -->
, #{emailRequestDetail.dlvrRsltId} <!-- 배달 결과 ID -->
, #{emailRequestDetail.makeRsltCd} <!-- 제작 결과 코드 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, <include refid="utility-jar.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
, #{emailRequestDetail.vractno} <!-- 가상계좌번호 -->
)</insert>

@ -10,7 +10,7 @@
<insert id="insertReceptionResult" parameterType="cokr.xit.interfaces.epost.ReceptionResult">/* 전자우편 신청 수신 결과 등록(emailResultMapper.insertReceptionResult) */
<selectKey resultType="string" keyProperty="rcptnRsltId" order="BEFORE">
SELECT IFNULL(MAX(RCPTN_RSLT_ID) + 1, CONCAT(TODAY, '0000001')) NEW_ID
FROM TB_EPOST_RCPTN_RSLT A, (<include refid="utility.selectToday" />) B
FROM TB_EPOST_RCPTN_RSLT A, (<include refid="utility-jar.selectToday" />) B
WHERE RCPTN_RSLT_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_EPOST_RCPTN_RSLT (
RCPTN_RSLT_ID <!-- 수신 결과 ID -->
@ -54,7 +54,7 @@ SELECT #{rcptnRsltId} <!-- 수신 결과 ID -->
<insert id="insertRegistrationResult" parameterType="cokr.xit.interfaces.epost.RegistrationResult">/* 전자우편 신청 접수 결과 등록(emailResultMapper.insertRegistrationResult) */
<selectKey resultType="string" keyProperty="rcptRsltId" order="BEFORE">
SELECT IFNULL(MAX(RCPT_RSLT_ID) + 1, CONCAT(TODAY, '0000001')) NEW_ID
FROM TB_EPOST_RCPT_RSLT A, (<include refid="utility.selectToday" />) B
FROM TB_EPOST_RCPT_RSLT A, (<include refid="utility-jar.selectToday" />) B
WHERE RCPT_RSLT_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_EPOST_RCPT_RSLT (
RCPT_RSLT_ID <!-- 접수 결과 ID -->
@ -130,7 +130,7 @@ SELECT #{conKey} <!-- 외부연계식별키 -->
<insert id="insertDeliveryResult" parameterType="cokr.xit.interfaces.epost.DeliveryResult">/* 전자우편 배달 결과 등록(emailResultMapper.insertDeliveryResult) */
<selectKey resultType="string" keyProperty="dlvrRsltId" order="BEFORE">
SELECT IFNULL(MAX(DLVR_RSLT_ID) + 1, CONCAT(TODAY, '0000001')) NEW_ID
FROM TB_EPOST_DLVR_RSLT A, (<include refid="utility.selectToday" />) B
FROM TB_EPOST_DLVR_RSLT A, (<include refid="utility-jar.selectToday" />) B
WHERE DLVR_RSLT_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_EPOST_DLVR_RSLT (
DLVR_RSLT_ID <!-- 배달 결과 ID -->
@ -167,7 +167,7 @@ INSERT INTO TB_EPOST_DLVR_RSLT (
)</insert>
<select id="selectResultLogs" parameterType="map" resultType="dataobject">/* 전자우편 신청결과 로그 조회(emailResultMapper.selectResultLogs) */
<include refid="utility.paging-prefix" />
<include refid="utility-jar.paging-prefix" />
SELECT PROC_ID <!-- 처리 ID -->
, PROC_SEQ <!-- 순번 -->
, PROC_TYPE <!-- 처리 유형 -->
@ -178,8 +178,8 @@ SELECT PROC_ID <!-- 처리 ID -->
FROM TB_EPOST_PROC_LOG
WHERE PROC_ID = #{procID}
AND PROC_STT = 'N'
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" /></select>
<include refid="utility-jar.orderBy" />
<include refid="utility-jar.paging-suffix" /></select>
<insert id="insertResultLogs" parameterType="map">/* 전자우편 신청결과 로그 등록(emailResultMapper.insertResultLogs) */
INSERT INTO TB_EPOST_PROC_LOG (

@ -204,7 +204,7 @@ INSERT INTO TB_ESB_INTERFACE (
, #{pcdGubun3V} <!-- 처리 구분3 -->
, #{petiPathGubunC} <!-- 신청 경로 코드 -->
, #{originalFilename} <!-- 원본 파일 명 -->
,<include refid="utility.now" /><!-- 등록 일시 -->
,<include refid="utility-jar.now" /><!-- 등록 일시 -->
, #{createdBy} <!-- 등록자 -->
)</insert>
@ -362,9 +362,9 @@ INSERT INTO TB_ESB_INTERFACE_TRSM (
, #{reply.sendInterfaceSeqN} <!--전송 인터페이스 키 -->
, #{reply.sendStatus} <!--전송 상태 -->
, #{reply.sendStatusMsg} <!--전송 상태 메시지 -->
,<include refid="utility.now" />
,<include refid="utility-jar.now" />
, #{currentUser.id} <!--등록자 -->
,<include refid="utility.now" />
,<include refid="utility-jar.now" />
, #{currentUser.id} <!--수정자 -->
)</insert>

@ -207,11 +207,11 @@ SELECT CASE WHEN LENGTH(STDG_LI_NM) > 0 THEN
<insert id="insertBasicInfo" parameterType="map">/* vehicleInfoMapper.insertBasicInfo(자동차 기본사항 조회 로그 등록) */
<selectKey keyProperty="info.bsc_mttr_id" resultType="string" order="BEFORE">
SELECT CONCAT(
<include refid="utility.today" />
<include refid="utility-jar.today" />
, LPAD(NVL(SUBSTRING(MAX(BSC_MTTR_ID), 9) + 1, 1), 22, '0')
) NEW_ID
FROM TB_CAR_BSC_MTTR TCBM
WHERE BSC_MTTR_ID LIKE CONCAT(<include refid="utility.today" />, '%')</selectKey>
WHERE BSC_MTTR_ID LIKE CONCAT(<include refid="utility-jar.today" />, '%')</selectKey>
INSERT INTO TB_CAR_BSC_MTTR (
BSC_MTTR_ID <!-- 기본 사항 ID -->
, MESSAGEID <!-- 결과 메시지 ID -->
@ -418,7 +418,7 @@ INSERT INTO TB_CAR_BSC_MTTR (
, #{info.process_imprty_resn_code} <!-- 처리불가사유코드 -->
, #{info.process_imprty_resn_dtls} <!-- 처리불가사유명세 -->
,<include refid="utility.now" /> <!-- 등록일자 -->
,<include refid="utility-jar.now" /> <!-- 등록일자 -->
, #{currentUser.id} <!-- 등록자 -->
)</insert>
@ -617,11 +617,11 @@ SELECT PRYE <!-- 연식 -->
<insert id="insertExtInfo" parameterType="map">/* vehicleInfoMapper.insertExtInfo(자동차 연료제원 포함 기본사항 조회 로그 등록) */
<selectKey keyProperty="info.bsc_mttr_id" resultType="string" order="BEFORE">
SELECT CONCAT(
<include refid="utility.today" />
<include refid="utility-jar.today" />
, LPAD(NVL(SUBSTRING(MAX(BSC_MTTR_ID), 9) + 1, 1), 22, '0')
) NEW_ID
FROM TB_CAR_BSC_MTTR TCBM
WHERE BSC_MTTR_ID LIKE CONCAT(<include refid="utility.today" />, '%')</selectKey>
WHERE BSC_MTTR_ID LIKE CONCAT(<include refid="utility-jar.today" />, '%')</selectKey>
INSERT INTO TB_CAR_BSC_MTTR (
BSC_MTTR_ID <!-- 기본 사항 ID -->
, MESSAGEID <!-- 결과 메시지 ID -->
@ -834,7 +834,7 @@ INSERT INTO TB_CAR_BSC_MTTR (
, #{info.process_imprty_resn_code} <!-- 처리불가사유코드 -->
, #{info.process_imprty_resn_dtls} <!-- 처리불가사유명세 -->
,<include refid="utility.now" /> <!-- 등록일자 -->
,<include refid="utility-jar.now" /> <!-- 등록일자 -->
, #{currentUser.id} <!-- 등록자 -->
)</insert>

Loading…
Cancel
Save