This commit is contained in:
2023-07-05 14:46:26 +08:00
parent 32abe711f5
commit 869cdca18c
2 changed files with 14 additions and 1 deletions

View File

@@ -2,6 +2,8 @@ package com.jsowell.pile.domain;
import com.jsowell.common.annotation.Excel;
import com.jsowell.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
@@ -11,6 +13,8 @@ import org.apache.commons.lang3.builder.ToStringStyle;
* @author jsowell
* @date 2023-06-15
*/
@Getter
@Setter
public class AdapayMemberAccount extends BaseEntity {
private static final long serialVersionUID = 1L;
@@ -19,6 +23,11 @@ public class AdapayMemberAccount extends BaseEntity {
*/
private Long id;
/**
* 状态 0-待审核1-审核通过
*/
private String status;
/**
* 运营商id
*/

View File

@@ -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>