merge master into develop - CscListRForm.jsp FAQ 아코디언 버그 수정
This commit is contained in:
@@ -0,0 +1,90 @@
|
||||
<?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="com.wb.domainserver.domain.gcone.pos.easywell.mapper.EasyWellMapper">
|
||||
|
||||
<!--이지웰 로그 등록-->
|
||||
<insert id="insertEasyWellLog" useGeneratedKeys="true" keyColumn="EZWELL_LOG_INNB" keyProperty="ezwellLogInnb" parameterType="map">
|
||||
INSERT INTO GC_EZWELL_LOG
|
||||
( EW_PROCS_STTUS,
|
||||
ORDR_INNB,
|
||||
ORDR_CD,
|
||||
STR_INNB,
|
||||
POS_HDQRTRS_CD,
|
||||
STR_CD,
|
||||
POSNB,
|
||||
RCIPT_NB,
|
||||
EW_JOB_DV,
|
||||
EW_DELNG_NB,
|
||||
EW_BRCD_NB,
|
||||
EW_ORDR_INNB,
|
||||
EW_USE_CANCL_AMT,
|
||||
EW_BLCE_NB,
|
||||
EW_CONFM_NB,
|
||||
EW_MBR_NB,
|
||||
<if test="@com.wb.domainserver.util.dataaccess.MybaitsUtil@isNotEmpty(org_approv)">
|
||||
DELNG_CONFM_NB,
|
||||
</if>
|
||||
EW_RES_CD,
|
||||
EW_RES_MSG,
|
||||
REQ_DT
|
||||
)
|
||||
VALUES(
|
||||
'01',
|
||||
0,
|
||||
#{order_code},
|
||||
0,
|
||||
#{pgubun},
|
||||
#{pcode},
|
||||
#{poscode},
|
||||
#{pnumb},
|
||||
#{ew_act_cd},
|
||||
'',
|
||||
#{ew_code},
|
||||
#{ew_order_code},
|
||||
0,
|
||||
0,
|
||||
'',
|
||||
'',
|
||||
<if test="@com.wb.domainserver.util.dataaccess.MybaitsUtil@isNotEmpty(org_approv)">
|
||||
#{org_approv},
|
||||
</if>
|
||||
'',
|
||||
'',
|
||||
SYSDATE()
|
||||
)
|
||||
</insert>
|
||||
|
||||
<!--이지웰 로그 수정-->
|
||||
<update id="updateEasyWellLog" parameterType="map">
|
||||
UPDATE GC_EZWELL_LOG
|
||||
SET EW_PROCS_STTUS= '02',
|
||||
<if test="@com.wb.domainserver.util.dataaccess.MybaitsUtil@isNotEmpty(ew_remain)">
|
||||
EW_BLCE_NB = #{ew_remain},
|
||||
</if>
|
||||
<if test="@com.wb.domainserver.util.dataaccess.MybaitsUtil@isNotEmpty(ew_price)">
|
||||
EW_USE_CANCL_AMT = #{ew_price},
|
||||
</if>
|
||||
<if test="@com.wb.domainserver.util.dataaccess.MybaitsUtil@isNotEmpty(ew_approv)">
|
||||
EW_CONFM_NB = #{ew_approv},
|
||||
</if>
|
||||
<if test="@com.wb.domainserver.util.dataaccess.MybaitsUtil@isNotEmpty(ew_member)">
|
||||
EW_MBR_NB = #{ew_member},
|
||||
</if>
|
||||
EW_RES_CD = #{logcode},
|
||||
EW_RES_MSG = #{msg},
|
||||
RES_DT = SYSDATE()
|
||||
WHERE 1=1
|
||||
AND EZWELL_LOG_INNB = #{ezwellLogInnb}
|
||||
</update>
|
||||
|
||||
<!--이지웰 로그 조회-->
|
||||
<select id="selectEasyWellLog" parameterType="map" resultType="dataMap">
|
||||
SELECT EW_USE_CANCL_AMT
|
||||
FROM GC_EZWELL_LOG
|
||||
WHERE 1=1
|
||||
AND EW_BRCD_NB = #{ew_code}
|
||||
AND EW_CONFM_NB= #{org_approv}
|
||||
AND ORDR_CD= #{org_order}
|
||||
AND EW_PROCS_STTUS = '02'
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user