|
@@ -325,7 +325,7 @@
|
|
|
insert into
|
|
|
fc_trade (serial_number, flush_serial_number, business_number, channel_type, channel_code, account_type,
|
|
|
account, account_id, project_account_id, building_account_id, amount, type, transaction_mode,
|
|
|
- transaction_time, account_balance, reciprocal_account, check_status, check_date, is_flush, remark,del_flag,create_time)
|
|
|
+ transaction_time, account_balance, reciprocal_account, check_status, check_date, is_flush, remark,del_flag,create_time,update_time)
|
|
|
values
|
|
|
<foreach collection="list" item="item" separator=",">
|
|
|
(#{item.serialNumber}, #{item.flushSerialNumber}, #{item.businessNumber}, #{item.channelType},
|
|
@@ -334,7 +334,7 @@
|
|
|
#{item.buildingAccountId}, #{item.amount},
|
|
|
#{item.type}, #{item.transactionMode}, #{item.transactionTime}, #{item.accountBalance},
|
|
|
#{item.reciprocalAccount}, #{item.checkStatus},
|
|
|
- #{item.checkDate}, #{item.isFlush}, #{item.remark},#{item.delFlag},#{item.createTime})
|
|
|
+ #{item.checkDate}, #{item.isFlush}, #{item.remark},#{item.delFlag},#{item.createTime},#{item.updateTime})
|
|
|
</foreach>
|
|
|
</insert>
|
|
|
|
|
@@ -422,4 +422,7 @@
|
|
|
select IFNULL(SUM(amount),0) from fc_trade where business_number = #{businessNumber}
|
|
|
</select>
|
|
|
|
|
|
+ <select id="getProjectAccountIdByAregId" resultType="long">
|
|
|
+ select id from fc_project_account where aregid = #{aregId} LIMIT 1
|
|
|
+ </select>
|
|
|
</mapper>
|