diff --git a/jsowell-pile/src/main/resources/mapper/pile/OrderSplitInfoMapper.xml b/jsowell-pile/src/main/resources/mapper/pile/OrderSplitInfoMapper.xml deleted file mode 100644 index 889d2fd62..000000000 --- a/jsowell-pile/src/main/resources/mapper/pile/OrderSplitInfoMapper.xml +++ /dev/null @@ -1,530 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - id, order_code, settle_amount, adapay_member_id, share_ratio, share_amount, `status`, - remark, cerate_by, create_time, update_by, update_time, del_flag - - - - - delete from order_split_info - where id = #{id,jdbcType=INTEGER} - - - - insert into order_split_info (id, order_code, settle_amount, - adapay_member_id, share_ratio, share_amount, - `status`, remark, cerate_by, - create_time, update_by, update_time, - del_flag) - values (#{id,jdbcType=INTEGER}, #{orderCode,jdbcType=VARCHAR}, #{settleAmount,jdbcType=DECIMAL}, - #{adapayMemberId,jdbcType=VARCHAR}, #{shareRatio,jdbcType=DECIMAL}, #{shareAmount,jdbcType=DECIMAL}, - #{status,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{cerateBy,jdbcType=VARCHAR}, - #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, - #{delFlag,jdbcType=VARCHAR}) - - - - insert into order_split_info - - - id, - - - order_code, - - - settle_amount, - - - adapay_member_id, - - - share_ratio, - - - share_amount, - - - `status`, - - - remark, - - - cerate_by, - - - create_time, - - - update_by, - - - update_time, - - - del_flag, - - - - - #{id,jdbcType=INTEGER}, - - - #{orderCode,jdbcType=VARCHAR}, - - - #{settleAmount,jdbcType=DECIMAL}, - - - #{adapayMemberId,jdbcType=VARCHAR}, - - - #{shareRatio,jdbcType=DECIMAL}, - - - #{shareAmount,jdbcType=DECIMAL}, - - - #{status,jdbcType=VARCHAR}, - - - #{remark,jdbcType=VARCHAR}, - - - #{cerateBy,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{updateBy,jdbcType=VARCHAR}, - - - #{updateTime,jdbcType=TIMESTAMP}, - - - #{delFlag,jdbcType=VARCHAR}, - - - - - - update order_split_info - - - order_code = #{orderCode,jdbcType=VARCHAR}, - - - settle_amount = #{settleAmount,jdbcType=DECIMAL}, - - - adapay_member_id = #{adapayMemberId,jdbcType=VARCHAR}, - - - share_ratio = #{shareRatio,jdbcType=DECIMAL}, - - - share_amount = #{shareAmount,jdbcType=DECIMAL}, - - - `status` = #{status,jdbcType=VARCHAR}, - - - remark = #{remark,jdbcType=VARCHAR}, - - - cerate_by = #{cerateBy,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - update_by = #{updateBy,jdbcType=VARCHAR}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - del_flag = #{delFlag,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=INTEGER} - - - - update order_split_info - set order_code = #{orderCode,jdbcType=VARCHAR}, - settle_amount = #{settleAmount,jdbcType=DECIMAL}, - adapay_member_id = #{adapayMemberId,jdbcType=VARCHAR}, - share_ratio = #{shareRatio,jdbcType=DECIMAL}, - share_amount = #{shareAmount,jdbcType=DECIMAL}, - `status` = #{status,jdbcType=VARCHAR}, - remark = #{remark,jdbcType=VARCHAR}, - cerate_by = #{cerateBy,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - update_by = #{updateBy,jdbcType=VARCHAR}, - update_time = #{updateTime,jdbcType=TIMESTAMP}, - del_flag = #{delFlag,jdbcType=VARCHAR} - where id = #{id,jdbcType=INTEGER} - - - - update order_split_info - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.orderCode,jdbcType=VARCHAR} - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.settleAmount,jdbcType=DECIMAL} - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.adapayMemberId,jdbcType=VARCHAR} - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.shareRatio,jdbcType=DECIMAL} - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.shareAmount,jdbcType=DECIMAL} - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.status,jdbcType=VARCHAR} - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.remark,jdbcType=VARCHAR} - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.cerateBy,jdbcType=VARCHAR} - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.createTime,jdbcType=TIMESTAMP} - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.updateBy,jdbcType=VARCHAR} - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.updateTime,jdbcType=TIMESTAMP} - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.delFlag,jdbcType=VARCHAR} - - - - where id in - - #{item.id,jdbcType=INTEGER} - - - - - update order_split_info - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.orderCode,jdbcType=VARCHAR} - - - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.settleAmount,jdbcType=DECIMAL} - - - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.adapayMemberId,jdbcType=VARCHAR} - - - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.shareRatio,jdbcType=DECIMAL} - - - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.shareAmount,jdbcType=DECIMAL} - - - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.status,jdbcType=VARCHAR} - - - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.remark,jdbcType=VARCHAR} - - - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.cerateBy,jdbcType=VARCHAR} - - - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.createTime,jdbcType=TIMESTAMP} - - - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.updateBy,jdbcType=VARCHAR} - - - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.updateTime,jdbcType=TIMESTAMP} - - - - - - - when id = #{item.id,jdbcType=INTEGER} then #{item.delFlag,jdbcType=VARCHAR} - - - - - where id in - - #{item.id,jdbcType=INTEGER} - - - - - insert into order_split_info - (id, order_code, settle_amount, adapay_member_id, share_ratio, share_amount, `status`, - remark, cerate_by, create_time, update_by, update_time, del_flag) - values - - (#{item.id,jdbcType=INTEGER}, #{item.orderCode,jdbcType=VARCHAR}, #{item.settleAmount,jdbcType=DECIMAL}, - #{item.adapayMemberId,jdbcType=VARCHAR}, #{item.shareRatio,jdbcType=DECIMAL}, #{item.shareAmount,jdbcType=DECIMAL}, - #{item.status,jdbcType=VARCHAR}, #{item.remark,jdbcType=VARCHAR}, #{item.cerateBy,jdbcType=VARCHAR}, - #{item.createTime,jdbcType=TIMESTAMP}, #{item.updateBy,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP}, - #{item.delFlag,jdbcType=VARCHAR}) - - - - - insert into order_split_info - (id, order_code, settle_amount, adapay_member_id, share_ratio, share_amount, `status`, - remark, cerate_by, create_time, update_by, update_time, del_flag) - values - (#{id,jdbcType=INTEGER}, #{orderCode,jdbcType=VARCHAR}, #{settleAmount,jdbcType=DECIMAL}, - #{adapayMemberId,jdbcType=VARCHAR}, #{shareRatio,jdbcType=DECIMAL}, #{shareAmount,jdbcType=DECIMAL}, - #{status,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{cerateBy,jdbcType=VARCHAR}, - #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, - #{delFlag,jdbcType=VARCHAR}) - on duplicate key update - id = #{id,jdbcType=INTEGER}, - order_code = #{orderCode,jdbcType=VARCHAR}, - settle_amount = #{settleAmount,jdbcType=DECIMAL}, - adapay_member_id = #{adapayMemberId,jdbcType=VARCHAR}, - share_ratio = #{shareRatio,jdbcType=DECIMAL}, - share_amount = #{shareAmount,jdbcType=DECIMAL}, - `status` = #{status,jdbcType=VARCHAR}, - remark = #{remark,jdbcType=VARCHAR}, - cerate_by = #{cerateBy,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - update_by = #{updateBy,jdbcType=VARCHAR}, - update_time = #{updateTime,jdbcType=TIMESTAMP}, - del_flag = #{delFlag,jdbcType=VARCHAR} - - - - insert into order_split_info - - - id, - - - order_code, - - - settle_amount, - - - adapay_member_id, - - - share_ratio, - - - share_amount, - - - `status`, - - - remark, - - - cerate_by, - - - create_time, - - - update_by, - - - update_time, - - - del_flag, - - - values - - - #{id,jdbcType=INTEGER}, - - - #{orderCode,jdbcType=VARCHAR}, - - - #{settleAmount,jdbcType=DECIMAL}, - - - #{adapayMemberId,jdbcType=VARCHAR}, - - - #{shareRatio,jdbcType=DECIMAL}, - - - #{shareAmount,jdbcType=DECIMAL}, - - - #{status,jdbcType=VARCHAR}, - - - #{remark,jdbcType=VARCHAR}, - - - #{cerateBy,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{updateBy,jdbcType=VARCHAR}, - - - #{updateTime,jdbcType=TIMESTAMP}, - - - #{delFlag,jdbcType=VARCHAR}, - - - on duplicate key update - - - id = #{id,jdbcType=INTEGER}, - - - order_code = #{orderCode,jdbcType=VARCHAR}, - - - settle_amount = #{settleAmount,jdbcType=DECIMAL}, - - - adapay_member_id = #{adapayMemberId,jdbcType=VARCHAR}, - - - share_ratio = #{shareRatio,jdbcType=DECIMAL}, - - - share_amount = #{shareAmount,jdbcType=DECIMAL}, - - - `status` = #{status,jdbcType=VARCHAR}, - - - remark = #{remark,jdbcType=VARCHAR}, - - - cerate_by = #{cerateBy,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - update_by = #{updateBy,jdbcType=VARCHAR}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - del_flag = #{delFlag,jdbcType=VARCHAR}, - - - - \ No newline at end of file