Browse Source

작업지시번호 자릿수 변경

SH 9 months ago
parent
commit
c92d7c0730

+ 1 - 1
src/main/resources/sqlmap/mappers/as/as0103/AS01030001UMapper.xml

@@ -1320,7 +1320,7 @@
 		VENDR_LBPR_MAIL = NVL(#{vendrLbprMail}, VENDR_LBPR_MAIL),
 		VENDR_LBPR_NM = NVL(#{vendrLbprNm}, VENDR_LBPR_NM),
 		VENDR_LBPR_SEQ = NVL(#{vendrLbprSeq}, VENDR_LBPR_SEQ),
-		WORK_WKI_NO = NVL(WORK_WKI_NO, 'A' || TO_CHAR(SYSDATE,'YYMM') || '-' || LPAD(TCS_DEFT_WKI_NO_S.NEXTVAL, 5, '0')),
+		WORK_WKI_NO = NVL(WORK_WKI_NO, 'A' || TO_CHAR(SYSDATE,'YYMM') || '-' || LPAD(TCS_DEFT_WKI_NO_S.NEXTVAL, 6, '0')),
 		REQ_CN = NVL(#{reqCn}, REQ_CN),
 		MDFT_DT = SYSDATE,
 		MDFT_PR = NVL(#{lginId}, MDFT_PR)

+ 1 - 1
src/main/resources/sqlmap/mappers/cs/cs0301/CS03010002PMapper.xml

@@ -370,7 +370,7 @@
     </insert>
     
     <select id="getWorkWkiNo" resultType="String">
-		SELECT 'A' || TO_CHAR(SYSDATE,'YYMM') || '-' || LPAD(TCS_DEFT_WKI_NO_S.NEXTVAL, 5, '0') WORK_WKI_NO FROM DUAL
+		SELECT 'A' || TO_CHAR(SYSDATE,'YYMM') || '-' || LPAD(TCS_DEFT_WKI_NO_S.NEXTVAL, 6, '0') WORK_WKI_NO FROM DUAL
 	</select>
 	
     <update id="updateDeft">

+ 1 - 1
src/main/resources/sqlmap/mappers/mobile/AsMapper.xml

@@ -1334,7 +1334,7 @@
 		VENDR_LBPR_MAIL = NVL(#{vendrLbprMail}, VENDR_LBPR_MAIL),
 		VENDR_LBPR_NM = NVL(#{vendrLbprNm}, VENDR_LBPR_NM),
 		VENDR_LBPR_SEQ = NVL(#{vendrLbprSeq}, VENDR_LBPR_SEQ),
-		WORK_WKI_NO = NVL(WORK_WKI_NO, 'A' || TO_CHAR(SYSDATE,'YYMM') || '-' || LPAD(TCS_DEFT_WKI_NO_S.NEXTVAL, 5, '0')),
+		WORK_WKI_NO = NVL(WORK_WKI_NO, 'A' || TO_CHAR(SYSDATE,'YYMM') || '-' || LPAD(TCS_DEFT_WKI_NO_S.NEXTVAL, 6, '0')),
 		REQ_CN = NVL(#{reqCn}, REQ_CN),
 		MDFT_DT = SYSDATE,
 		MDFT_PR = NVL(#{lginId}, MDFT_PR)