|
@@ -28,6 +28,8 @@
|
|
|
<result column="update_time_" property="updateTime"/>
|
|
|
<result column="organ_id_" property="organId"/>
|
|
|
<result column="tenant_id_" property="tenantId" />
|
|
|
+ <result column="bank_acct_type_" property="bankAcctType" />
|
|
|
+ <result column="card_name_" property="cardName" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
<!--@mbg.generated-->
|
|
@@ -35,7 +37,7 @@
|
|
|
business_scope_, legal_person_, legal_cert_id_, legal_cert_id_expires_, legal_mp_,
|
|
|
address_, zip_code_, card_no_,
|
|
|
bank_code_,settle_account_id_,status_,month_max_receipt_,route_member_id_,route_organ_id_, create_time_,
|
|
|
- update_time_,tenant_id_,organ_id_
|
|
|
+ update_time_,tenant_id_,organ_id_,bank_acct_type_,card_name_
|
|
|
</sql>
|
|
|
<select id="get" parameterType="java.lang.Integer" resultMap="hfMember">
|
|
|
<!--@mbg.generated-->
|
|
@@ -57,13 +59,13 @@
|
|
|
business_scope_, legal_person_, legal_cert_id_,
|
|
|
legal_cert_id_expires_, legal_mp_, address_,
|
|
|
zip_code_, card_no_, bank_code_,status_,
|
|
|
- create_time_, update_time_,organ_id_,tenant_id_)
|
|
|
+ create_time_, update_time_,organ_id_,tenant_id_,bank_acct_type_,card_name_)
|
|
|
values (#{name}, #{memberId}, #{provCode},
|
|
|
#{areaCode}, #{socialCreditCode}, #{socialCreditCodeExpires},
|
|
|
#{businessScope}, #{legalPerson}, #{legalCertId},
|
|
|
#{legalCertIdExpires}, #{legalMp}, #{address},
|
|
|
#{zipCode}, #{cardNo}, #{bankCode},#{status},
|
|
|
- #{createTime}, #{updateTime},#{organId},#{tenantId})
|
|
|
+ #{createTime}, #{updateTime},#{organId},#{tenantId},#{bankAcctType},#{cardName})
|
|
|
</insert>
|
|
|
<update id="update" parameterType="com.ym.mec.biz.dal.entity.HfMember">
|
|
|
<!--@mbg.generated-->
|
|
@@ -111,6 +113,12 @@
|
|
|
<if test="cardNo != null">
|
|
|
card_no_ = #{cardNo},
|
|
|
</if>
|
|
|
+ <if test="bankAcctType != null">
|
|
|
+ bank_acct_type_ = #{bankAcctType},
|
|
|
+ </if>
|
|
|
+ <if test="cardName != null">
|
|
|
+ card_name_ = #{cardName},
|
|
|
+ </if>
|
|
|
<if test="bankCode != null">
|
|
|
bank_code_ = #{bankCode},
|
|
|
</if>
|