|
|
@@ -26,6 +26,7 @@
|
|
|
<result property="corpId" column="corp_id" />
|
|
|
<result property="companyUserId" column="company_user_id" />
|
|
|
<result property="corpName" column="corp_name" />
|
|
|
+ <result property="status" column="status" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFsCompanyExternalPayReceiptVo">
|
|
|
@@ -33,7 +34,7 @@
|
|
|
external_userid, total_fee, payee_userid, payment_type,
|
|
|
mch_id, remark, total_refund_fee, commodity_list,
|
|
|
contact_info, miniprogram_info, create_time, update_time,
|
|
|
- corp_id,company_user_id, corp_name
|
|
|
+ corp_id,company_user_id, corp_name, status
|
|
|
from fs_company_external_pay_receipt
|
|
|
</sql>
|
|
|
|
|
|
@@ -127,6 +128,7 @@
|
|
|
<if test="corpId != null">corp_id,</if>
|
|
|
<if test="companyUserId != null">company_user_id,</if>
|
|
|
<if test="corpName != null">corp_name,</if>
|
|
|
+ <if test="status != null">status,</if>
|
|
|
create_time, update_time
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
@@ -148,6 +150,7 @@
|
|
|
<if test="corpId != null">#{corpId},</if>
|
|
|
<if test="companyUserId != null">#{companyUserId},</if>
|
|
|
<if test="corpName != null">#{corpName},</if>
|
|
|
+ <if test="status != null">#{status},</if>
|
|
|
sysdate(), sysdate()
|
|
|
</trim>
|
|
|
</insert>
|
|
|
@@ -159,7 +162,7 @@
|
|
|
external_userid, total_fee, payee_userid, payment_type,
|
|
|
mch_id, remark, total_refund_fee, commodity_list,
|
|
|
contact_info, miniprogram_info, corp_id, corp_name,
|
|
|
- create_time, update_time
|
|
|
+ create_time, update_time, status
|
|
|
) values
|
|
|
<foreach collection="list" item="item" separator=",">
|
|
|
(
|
|
|
@@ -167,7 +170,7 @@
|
|
|
#{item.externalUserid}, #{item.totalFee}, #{item.payeeUserid}, #{item.paymentType},
|
|
|
#{item.mchId}, #{item.remark}, #{item.totalRefundFee}, #{item.commodityList},
|
|
|
#{item.contactInfo}, #{item.miniprogramInfo}, #{item.corpId}, #{item.corpName},
|
|
|
- sysdate(), sysdate()
|
|
|
+ sysdate(), sysdate(), #{item.status}
|
|
|
)
|
|
|
</foreach>
|
|
|
</insert>
|
|
|
@@ -194,6 +197,7 @@
|
|
|
<if test="corpId != null">corp_id = #{corpId},</if>
|
|
|
<if test="companyUserId != null">company_user_id = #{companyUserId},</if>
|
|
|
<if test="corpName != null">corp_name = #{corpName},</if>
|
|
|
+ <if test="status != null">status = #{status},</if>
|
|
|
update_time = sysdate()
|
|
|
</set>
|
|
|
where id = #{id}
|