|
@@ -17,10 +17,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="payPrintNum" column="pay_print_num" />
|
|
<result property="payPrintNum" column="pay_print_num" />
|
|
<result property="payCallbackPage" column="pay_callback_page" />
|
|
<result property="payCallbackPage" column="pay_callback_page" />
|
|
<result property="wsPrintFlag" column="ws_print_flag" />
|
|
<result property="wsPrintFlag" column="ws_print_flag" />
|
|
|
|
+ <result property="printSetting" column="print_setting" />
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectStationPayVo">
|
|
<sql id="selectStationPayVo">
|
|
- select pay_id, pay_mode, station_id, station_name, image_photos_flag, card_enabled_flag, activity_pic, preferential_way_share_flag, other_preferential_way, pay_print_num, pay_callback_page, ws_print_flag from station_pay
|
|
|
|
|
|
+ select pay_id, pay_mode, station_id, station_name, image_photos_flag, card_enabled_flag, activity_pic, preferential_way_share_flag, other_preferential_way, pay_print_num, pay_callback_page, ws_print_flag, print_setting from station_pay
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<select id="selectStationPayList" parameterType="StationPay" resultMap="StationPayResult">
|
|
<select id="selectStationPayList" parameterType="StationPay" resultMap="StationPayResult">
|
|
@@ -37,6 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="payPrintNum != null "> and pay_print_num = #{payPrintNum}</if>
|
|
<if test="payPrintNum != null "> and pay_print_num = #{payPrintNum}</if>
|
|
<if test="payCallbackPage != null and payCallbackPage != ''"> and pay_callback_page = #{payCallbackPage}</if>
|
|
<if test="payCallbackPage != null and payCallbackPage != ''"> and pay_callback_page = #{payCallbackPage}</if>
|
|
<if test="wsPrintFlag != null and wsPrintFlag != ''"> and ws_print_flag = #{wsPrintFlag}</if>
|
|
<if test="wsPrintFlag != null and wsPrintFlag != ''"> and ws_print_flag = #{wsPrintFlag}</if>
|
|
|
|
+ <if test="printSetting != null and printSetting != ''"> and print_setting = #{printSetting}</if>
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -59,6 +61,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="payPrintNum != null">pay_print_num,</if>
|
|
<if test="payPrintNum != null">pay_print_num,</if>
|
|
<if test="payCallbackPage != null">pay_callback_page,</if>
|
|
<if test="payCallbackPage != null">pay_callback_page,</if>
|
|
<if test="wsPrintFlag != null">ws_print_flag,</if>
|
|
<if test="wsPrintFlag != null">ws_print_flag,</if>
|
|
|
|
+ <if test="printSetting != null">print_setting,</if>
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<if test="payMode != null">#{payMode},</if>
|
|
<if test="payMode != null">#{payMode},</if>
|
|
@@ -72,6 +75,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="payPrintNum != null">#{payPrintNum},</if>
|
|
<if test="payPrintNum != null">#{payPrintNum},</if>
|
|
<if test="payCallbackPage != null">#{payCallbackPage},</if>
|
|
<if test="payCallbackPage != null">#{payCallbackPage},</if>
|
|
<if test="wsPrintFlag != null">#{wsPrintFlag},</if>
|
|
<if test="wsPrintFlag != null">#{wsPrintFlag},</if>
|
|
|
|
+ <if test="printSetting != null">#{printSetting},</if>
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
@@ -89,6 +93,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="payPrintNum != null">pay_print_num = #{payPrintNum},</if>
|
|
<if test="payPrintNum != null">pay_print_num = #{payPrintNum},</if>
|
|
<if test="payCallbackPage != null">pay_callback_page = #{payCallbackPage},</if>
|
|
<if test="payCallbackPage != null">pay_callback_page = #{payCallbackPage},</if>
|
|
<if test="wsPrintFlag != null">ws_print_flag = #{wsPrintFlag},</if>
|
|
<if test="wsPrintFlag != null">ws_print_flag = #{wsPrintFlag},</if>
|
|
|
|
+ <if test="printSetting != null">print_setting = #{printSetting},</if>
|
|
</trim>
|
|
</trim>
|
|
where pay_id = #{payId}
|
|
where pay_id = #{payId}
|
|
</update>
|
|
</update>
|