You've already forked FrameTour-BE
IProfitSharing
This commit is contained in:
11
src/main/resources/mapper/ProfitSharingRecordMapper.xml
Normal file
11
src/main/resources/mapper/ProfitSharingRecordMapper.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.ycwl.basic.profitsharing.mapper.ProfitSharingRecordMapper" >
|
||||
<insert id="batchInsert">
|
||||
INSERT INTO profit_sharing_record (scenic_id, order_id, user_id, user_name, amount, wx_amount, manual_amount, wx_rate, real_rate, order_amount, create_time)
|
||||
VALUES
|
||||
<foreach collection="records" item="record" separator=",">
|
||||
(#{record.scenicId}, #{record.orderId}, #{record.userId}, #{record.userName}, #{record.amount}, #{record.wxAmount}, #{record.manualAmount}, #{record.wxRate}, #{record.realRate}, #{record.orderAmount}, #{record.createTime})
|
||||
</foreach>
|
||||
</insert>
|
||||
</mapper>
|
Reference in New Issue
Block a user