mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 00:03:51 +09:00
TC 수정건 적용 (디자인 및 기능)
This commit is contained in:
@@ -545,7 +545,7 @@
|
||||
AND UPPER(esu.USER_NM) LIKE UPPER(CONCAT('%', #{searchText1}, '%'))
|
||||
</if>
|
||||
<if test="searchType3 == '03' and searchText1 != null and searchText1 != ''">
|
||||
AND esu.USER_SEQ = (SELECT PRNTS_USER_SEQ FROM hubez_common.EZ_SVC_USER WHERE USER_ID = #{searchText1} AND USER_TP_CD ='01')
|
||||
AND esu.USER_SEQ IN (SELECT PRNTS_USER_SEQ FROM hubez_common.EZ_SVC_USER WHERE USER_ID LIKE CONCAT('%', #{searchText1}, '%') AND USER_TP_CD ='01')
|
||||
</if>
|
||||
</if>
|
||||
</sql>
|
||||
@@ -950,6 +950,147 @@
|
||||
|
||||
<select id="getEntrNo" resultType="String">
|
||||
SELECT CONCAT('TESTENTRN', LPAD(hubez_common.FUN_NEXT_SEQ('TEST_SUBS_SEQ'), 11, 0)) as ENTR_NO
|
||||
</select>
|
||||
|
||||
<!-- 청약 상태 이력 저장 -->
|
||||
<insert id="insertSbscstHst" parameterType="kr.co.uplus.ez.api.custMgt.dto.SbscstHstDto">
|
||||
/* custMgt-mapper.xml(insertSbscstHst) */
|
||||
INSERT INTO hubez_common.EZ_SBSCST_HST(
|
||||
SUBS_ID
|
||||
,EFCT_ST_DT
|
||||
<if test="subsSttusCd != null and subsSttusCd != ''">
|
||||
,EFCT_FNS_DT
|
||||
</if>
|
||||
,PROD_CD
|
||||
,SUBS_STTUS_CD
|
||||
,REG_ID
|
||||
,REG_DT
|
||||
,CHG_ID
|
||||
,CHG_DT
|
||||
)VALUES(
|
||||
#{subsId}
|
||||
, #{efctStDt}
|
||||
<if test="subsSttusCd != null and subsSttusCd != ''">
|
||||
, STR_TO_DATE('9999-12-31', '%Y-%m-%d')
|
||||
</if>
|
||||
, #{prodCd}
|
||||
, #{subsSttusCd}
|
||||
, #{regId}
|
||||
, now()
|
||||
, #{regId}
|
||||
, now()
|
||||
)
|
||||
</insert>
|
||||
|
||||
<!-- 상품 정보 조회 -->
|
||||
<select id="getProdAmt" parameterType="String" resultType="kr.co.uplus.ez.api.custMgt.dto.ProdInfo">
|
||||
/* custMgt-mapper.xml(getProdAmt) */
|
||||
SELECT EPI.PROD_AMT
|
||||
FROM hubez_common.EZ_SUBS_INFO ESI
|
||||
INNER JOIN hubez_common.EZ_PROD_INFO EPI
|
||||
ON EPI.PROD_CD = ESI.PROD_CD
|
||||
WHERE USER_SEQ = #{userSeq}
|
||||
</select>
|
||||
|
||||
|
||||
<!-- 주문 번호 채번 -->
|
||||
<select id="getOrder" resultType="String">
|
||||
/* custMgt-mapper.xml(getOrder) */
|
||||
SELECT hubez_admin.FUN_GET_ORDER();
|
||||
</select>
|
||||
|
||||
<!-- 오더 저장 -->
|
||||
<insert id="insertOrder" parameterType="kr.co.uplus.ez.api.custMgt.dto.OrderDto">
|
||||
/* custMgt-mapper.xml(insertOrder) */
|
||||
INSERT INTO hubez_admin.EZ_ORDER(
|
||||
ORDER_ID
|
||||
,ORDER_CRET_DT
|
||||
,ORDER_TY_CD
|
||||
,REG_ID
|
||||
)VALUES(
|
||||
#{orderId}
|
||||
, STR_TO_DATE(#{orderCretDt}, '%y%m%d%H%i%s')
|
||||
, #{orderTyCd}
|
||||
, #{regId}
|
||||
)
|
||||
</insert>
|
||||
|
||||
<!-- 차감 상세 저장 -->
|
||||
<insert id="insertLmtdctDtl" parameterType="kr.co.uplus.ez.api.custMgt.dto.LmtdctDtlDto">
|
||||
/* custMgt-mapper.xml(insertLmtdctDtl) */
|
||||
INSERT INTO hubez_admin.EZ_LMTDCT_DTL(
|
||||
ORDER_CRET_DT
|
||||
,USER_SEQ
|
||||
,LMT_YM
|
||||
,USE_YM
|
||||
,LMT_TP_CD
|
||||
,DDCT_TP_CD
|
||||
,DDCT_AMT
|
||||
,EXE_ORDER_ID
|
||||
,SNDDCT_ORDER_ID
|
||||
,REG_ID
|
||||
,REG_DT
|
||||
)VALUES(
|
||||
#{orderCretDt}
|
||||
, #{userSeq}
|
||||
, #{lmtYm}
|
||||
, #{useYm}
|
||||
, #{lmtTpCd}
|
||||
, #{ddctTpcd}
|
||||
, #{ddctAmt}
|
||||
, #{exeOrderId}
|
||||
, #{snddctOrderId}
|
||||
, #{regId}
|
||||
, now()
|
||||
)
|
||||
</insert>
|
||||
|
||||
<!-- 한도초기화 추가 -->
|
||||
<insert id="insertUserLmt" parameterType="kr.co.uplus.ez.api.custMgt.dto.UserLmtDto">
|
||||
/* custMgt-mapper.xml(insertUserLmt) */
|
||||
INSERT INTO hubez_admin.EZ_USER_LMT(
|
||||
USER_SEQ
|
||||
,LMT_YM
|
||||
,FX_LMT_AMT
|
||||
,MRT_LMT_AMT
|
||||
,CFWD_AMT
|
||||
,EXTNC_AMT
|
||||
,CFWD_RSTRT_BLNC
|
||||
,FX_BLNC
|
||||
,MRT_USE_AMT
|
||||
,SMS_USE_AMT
|
||||
,MMS_USE_AMT
|
||||
,LMS_USE_AMT
|
||||
,ATLK_USE_AMT
|
||||
,SMS_USE_CNT
|
||||
,LMS_USE_CNT
|
||||
,MMS_USE_CNT
|
||||
,ATLK_USE_CNT
|
||||
,REG_ID
|
||||
,REG_DT
|
||||
,CHG_ID
|
||||
,CHG_DT
|
||||
)VALUES(
|
||||
#{userSeq}
|
||||
, #{lmtYm}
|
||||
, #{fxLmtAmt}
|
||||
, #{mrtLmtAmt}
|
||||
, 0
|
||||
, 0
|
||||
, 0
|
||||
, #{fxBlnc}
|
||||
, 0
|
||||
, 0
|
||||
, 0
|
||||
, 0
|
||||
, 0
|
||||
, 0
|
||||
, 0
|
||||
, 0
|
||||
, 0
|
||||
, #{regId}
|
||||
,now()
|
||||
, #{chgId}
|
||||
,now()
|
||||
)
|
||||
</insert>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user