mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-01 00:20:03 +08:00
update
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.jsowell.pile.mapper.AdapayCallbackRecordMapper">
|
||||
<resultMap id="BaseResultMap" type="com.jsowell.pile.domain.AdapayCallbackRecord">
|
||||
<id column="id" jdbcType="VARCHAR" property="id" />
|
||||
<id column="id" property="id" />
|
||||
<result column="payment_id" jdbcType="VARCHAR" property="paymentId" />
|
||||
<result column="app_id" jdbcType="VARCHAR" property="appId" />
|
||||
<result column="description" jdbcType="VARCHAR" property="description" />
|
||||
<result column="created_time" jdbcType="VARCHAR" property="createdTime" />
|
||||
@@ -22,7 +23,7 @@
|
||||
<result column="del_flag" jdbcType="VARCHAR" property="delFlag" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, app_id, description, created_time, end_time, expend, fee_amt, order_no, out_trans_id,
|
||||
id, payment_id, app_id, description, created_time, end_time, expend, fee_amt, order_no, out_trans_id,
|
||||
party_order_id, pay_amt, pay_channel, real_amt, share_eq, `status`, wx_user_id, create_time,
|
||||
del_flag
|
||||
</sql>
|
||||
@@ -37,12 +38,12 @@
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</delete>
|
||||
<insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.jsowell.pile.domain.AdapayCallbackRecord" useGeneratedKeys="true">
|
||||
insert into adapay_callback_record (id, app_id, description, created_time,
|
||||
insert into adapay_callback_record (payment_id, app_id, description, created_time,
|
||||
end_time, expend, fee_amt,
|
||||
order_no, out_trans_id, party_order_id,
|
||||
pay_amt, pay_channel, real_amt,
|
||||
share_eq, `status`, wx_user_id)
|
||||
values (#{id},#{appId,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{createdTime,jdbcType=VARCHAR},
|
||||
values (#{paymentId,jdbcType=VARCHAR},#{appId,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{createdTime,jdbcType=VARCHAR},
|
||||
#{endTime,jdbcType=VARCHAR}, #{expend,jdbcType=OTHER}, #{feeAmt,jdbcType=DECIMAL},
|
||||
#{orderNo,jdbcType=VARCHAR}, #{outTransId,jdbcType=VARCHAR}, #{partyOrderId,jdbcType=VARCHAR},
|
||||
#{payAmt,jdbcType=DECIMAL}, #{payChannel,jdbcType=VARCHAR}, #{realAmt,jdbcType=DECIMAL},
|
||||
@@ -51,6 +52,9 @@
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.jsowell.pile.domain.AdapayCallbackRecord" useGeneratedKeys="true">
|
||||
insert into adapay_callback_record
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="paymentId != null">
|
||||
payment_id,
|
||||
</if>
|
||||
<if test="appId != null">
|
||||
app_id,
|
||||
</if>
|
||||
@@ -104,6 +108,9 @@
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="paymentId != null">
|
||||
#{paymentId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="appId != null">
|
||||
#{appId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
@@ -160,6 +167,9 @@
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.jsowell.pile.domain.AdapayCallbackRecord">
|
||||
update adapay_callback_record
|
||||
<set>
|
||||
<if test="paymentId != null">
|
||||
payment_id = #{paymentId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="appId != null">
|
||||
app_id = #{appId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
@@ -216,7 +226,8 @@
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.jsowell.pile.domain.AdapayCallbackRecord">
|
||||
update adapay_callback_record
|
||||
set app_id = #{appId,jdbcType=VARCHAR},
|
||||
set payment_id = #{paymentId,jdbcType=VARCHAR},
|
||||
app_id = #{appId,jdbcType=VARCHAR},
|
||||
description = #{description,jdbcType=VARCHAR},
|
||||
created_time = #{createdTime,jdbcType=VARCHAR},
|
||||
end_time = #{endTime,jdbcType=VARCHAR},
|
||||
|
||||
Reference in New Issue
Block a user