mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
<resultMap type="com.jsowell.pile.domain.AdapayMemberAccount" id="AdapayMemberAccountResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="status" column="status" />
|
||||
<result property="merchantId" column="merchant_id" />
|
||||
<result property="adapayMemberId" column="adapay_member_id" />
|
||||
<result property="settleAccountId" column="settle_account_id" />
|
||||
@@ -17,7 +18,7 @@
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id, merchant_id, adapay_member_id, settle_account_id, create_time, create_by, update_time, update_by, del_flag
|
||||
id, status, merchant_id, adapay_member_id, settle_account_id, create_time, create_by, update_time, update_by, del_flag
|
||||
</sql>
|
||||
|
||||
<sql id="selectAdapayMemberAccountVo">
|
||||
@@ -43,6 +44,7 @@
|
||||
<insert id="insertAdapayMemberAccount" parameterType="com.jsowell.pile.domain.AdapayMemberAccount" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into adapay_member_account
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="status != null">status,</if>
|
||||
<if test="merchantId != null">merchant_id,</if>
|
||||
<if test="adapayMemberId != null">adapay_member_id,</if>
|
||||
<if test="settleAccountId != null">settle_account_id,</if>
|
||||
@@ -53,6 +55,7 @@
|
||||
<if test="delFlag != null">del_flag,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="status != null">#{status},</if>
|
||||
<if test="merchantId != null">#{merchantId},</if>
|
||||
<if test="adapayMemberId != null">#{adapayMemberId},</if>
|
||||
<if test="settleAccountId != null">#{settleAccountId},</if>
|
||||
@@ -67,6 +70,7 @@
|
||||
<update id="updateAdapayMemberAccount" parameterType="com.jsowell.pile.domain.AdapayMemberAccount">
|
||||
update adapay_member_account
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="status != null">status = #{status},</if>
|
||||
<if test="merchantId != null">merchant_id = #{merchantId},</if>
|
||||
<if test="adapayMemberId != null">adapay_member_id = #{adapayMemberId},</if>
|
||||
<if test="settleAccountId != null">settle_account_id = #{settleAccountId},</if>
|
||||
|
||||
Reference in New Issue
Block a user