diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/domain/OrderSplitInfo.java b/jsowell-pile/src/main/java/com/jsowell/pile/domain/OrderSplitRecord.java similarity index 75% rename from jsowell-pile/src/main/java/com/jsowell/pile/domain/OrderSplitInfo.java rename to jsowell-pile/src/main/java/com/jsowell/pile/domain/OrderSplitRecord.java index b4de0842a..331eda6d4 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/domain/OrderSplitInfo.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/domain/OrderSplitRecord.java @@ -11,7 +11,7 @@ import java.math.BigDecimal; import java.util.Date; /** - * 订单分账信息表 + * 订单分账记录表 */ @Data @Accessors(chain = true) @@ -19,7 +19,7 @@ import java.util.Date; @Builder @AllArgsConstructor @NoArgsConstructor -public class OrderSplitInfo { +public class OrderSplitRecord { /** * 主键 */ @@ -40,21 +40,31 @@ public class OrderSplitInfo { */ private String adapayMemberId; - /** - * 分润比例 - */ - private BigDecimal shareRatio; - - /** - * 分润金额 - */ - private BigDecimal shareAmount; - /** * 分账状态 */ private String status; + /** + * 电费分成比例 + */ + private BigDecimal electricitySplitRatio; + + /** + * 电费分成金额 + */ + private BigDecimal electricitySplitAmount; + + /** + * 服务费分成比例 + */ + private BigDecimal serviceSplitRatio; + + /** + * 服务费分成金额 + */ + private BigDecimal serviceSplitAmount; + /** * 备注 */ diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/mapper/OrderSplitInfoMapper.java b/jsowell-pile/src/main/java/com/jsowell/pile/mapper/OrderSplitInfoMapper.java deleted file mode 100644 index 20224c781..000000000 --- a/jsowell-pile/src/main/java/com/jsowell/pile/mapper/OrderSplitInfoMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.jsowell.pile.mapper; - -import com.jsowell.pile.domain.OrderSplitInfo; -import org.apache.ibatis.annotations.Param; - -import java.util.List; - -public interface OrderSplitInfoMapper { - int deleteByPrimaryKey(Integer id); - - int insert(OrderSplitInfo record); - - int insertOrUpdate(OrderSplitInfo record); - - int insertOrUpdateSelective(OrderSplitInfo record); - - int insertSelective(OrderSplitInfo record); - - OrderSplitInfo selectByPrimaryKey(Integer id); - - int updateByPrimaryKeySelective(OrderSplitInfo record); - - int updateByPrimaryKey(OrderSplitInfo record); - - int updateBatch(List list); - - int updateBatchSelective(List list); - - int batchInsert(@Param("list") List list); -} \ No newline at end of file diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/mapper/OrderSplitRecordMapper.java b/jsowell-pile/src/main/java/com/jsowell/pile/mapper/OrderSplitRecordMapper.java new file mode 100644 index 000000000..ac43217a2 --- /dev/null +++ b/jsowell-pile/src/main/java/com/jsowell/pile/mapper/OrderSplitRecordMapper.java @@ -0,0 +1,29 @@ +package com.jsowell.pile.mapper; + +import com.jsowell.pile.domain.OrderSplitRecord; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface OrderSplitRecordMapper { + int deleteByPrimaryKey(Integer id); + + int insert(OrderSplitRecord record); + + int insertOrUpdate(OrderSplitRecord record); + + int insertOrUpdateSelective(OrderSplitRecord record); + + int insertSelective(OrderSplitRecord record); + + OrderSplitRecord selectByPrimaryKey(Integer id); + + int updateByPrimaryKeySelective(OrderSplitRecord record); + + int updateByPrimaryKey(OrderSplitRecord record); + + int updateBatch(List list); + + int updateBatchSelective(List list); + + int batchInsert(@Param("list") List list); +} \ No newline at end of file diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/OrderSplitInfoService.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/OrderSplitInfoService.java deleted file mode 100644 index f8eac8169..000000000 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/OrderSplitInfoService.java +++ /dev/null @@ -1,31 +0,0 @@ -package com.jsowell.pile.service; - -import com.jsowell.pile.domain.OrderSplitInfo; - -import java.util.List; -public interface OrderSplitInfoService{ - - - int deleteByPrimaryKey(Integer id); - - int insert(OrderSplitInfo record); - - int insertOrUpdate(OrderSplitInfo record); - - int insertOrUpdateSelective(OrderSplitInfo record); - - int insertSelective(OrderSplitInfo record); - - OrderSplitInfo selectByPrimaryKey(Integer id); - - int updateByPrimaryKeySelective(OrderSplitInfo record); - - int updateByPrimaryKey(OrderSplitInfo record); - - int updateBatch(List list); - - int updateBatchSelective(List list); - - int batchInsert(List list); - -} diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/OrderSplitRecordService.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/OrderSplitRecordService.java new file mode 100644 index 000000000..9c2912726 --- /dev/null +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/OrderSplitRecordService.java @@ -0,0 +1,31 @@ +package com.jsowell.pile.service; + +import com.jsowell.pile.domain.OrderSplitRecord; + +import java.util.List; +public interface OrderSplitRecordService{ + + + int deleteByPrimaryKey(Integer id); + + int insert(OrderSplitRecord record); + + int insertOrUpdate(OrderSplitRecord record); + + int insertOrUpdateSelective(OrderSplitRecord record); + + int insertSelective(OrderSplitRecord record); + + OrderSplitRecord selectByPrimaryKey(Integer id); + + int updateByPrimaryKeySelective(OrderSplitRecord record); + + int updateByPrimaryKey(OrderSplitRecord record); + + int updateBatch(List list); + + int updateBatchSelective(List list); + + int batchInsert(List list); + +} diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderSplitInfoServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderSplitInfoServiceImpl.java deleted file mode 100644 index 58d56a375..000000000 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderSplitInfoServiceImpl.java +++ /dev/null @@ -1,71 +0,0 @@ -package com.jsowell.pile.service.impl; - -import com.jsowell.pile.domain.OrderSplitInfo; -import com.jsowell.pile.mapper.OrderSplitInfoMapper; -import com.jsowell.pile.service.OrderSplitInfoService; -import org.springframework.stereotype.Service; - -import javax.annotation.Resource; -import java.util.List; -@Service -public class OrderSplitInfoServiceImpl implements OrderSplitInfoService{ - - @Resource - private OrderSplitInfoMapper orderSplitInfoMapper; - - @Override - public int deleteByPrimaryKey(Integer id) { - return orderSplitInfoMapper.deleteByPrimaryKey(id); - } - - @Override - public int insert(OrderSplitInfo record) { - return orderSplitInfoMapper.insert(record); - } - - @Override - public int insertOrUpdate(OrderSplitInfo record) { - return orderSplitInfoMapper.insertOrUpdate(record); - } - - @Override - public int insertOrUpdateSelective(OrderSplitInfo record) { - return orderSplitInfoMapper.insertOrUpdateSelective(record); - } - - @Override - public int insertSelective(OrderSplitInfo record) { - return orderSplitInfoMapper.insertSelective(record); - } - - @Override - public OrderSplitInfo selectByPrimaryKey(Integer id) { - return orderSplitInfoMapper.selectByPrimaryKey(id); - } - - @Override - public int updateByPrimaryKeySelective(OrderSplitInfo record) { - return orderSplitInfoMapper.updateByPrimaryKeySelective(record); - } - - @Override - public int updateByPrimaryKey(OrderSplitInfo record) { - return orderSplitInfoMapper.updateByPrimaryKey(record); - } - - @Override - public int updateBatch(List list) { - return orderSplitInfoMapper.updateBatch(list); - } - - @Override - public int updateBatchSelective(List list) { - return orderSplitInfoMapper.updateBatchSelective(list); - } - - @Override - public int batchInsert(List list) { - return orderSplitInfoMapper.batchInsert(list); - } - -} diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderSplitRecordServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderSplitRecordServiceImpl.java new file mode 100644 index 000000000..7b5ff598e --- /dev/null +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderSplitRecordServiceImpl.java @@ -0,0 +1,71 @@ +package com.jsowell.pile.service.impl; + +import com.jsowell.pile.domain.OrderSplitRecord; +import com.jsowell.pile.mapper.OrderSplitRecordMapper; +import com.jsowell.pile.service.OrderSplitRecordService; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import java.util.List; +@Service +public class OrderSplitRecordServiceImpl implements OrderSplitRecordService{ + + @Resource + private OrderSplitRecordMapper orderSplitRecordMapper; + + @Override + public int deleteByPrimaryKey(Integer id) { + return orderSplitRecordMapper.deleteByPrimaryKey(id); + } + + @Override + public int insert(OrderSplitRecord record) { + return orderSplitRecordMapper.insert(record); + } + + @Override + public int insertOrUpdate(OrderSplitRecord record) { + return orderSplitRecordMapper.insertOrUpdate(record); + } + + @Override + public int insertOrUpdateSelective(OrderSplitRecord record) { + return orderSplitRecordMapper.insertOrUpdateSelective(record); + } + + @Override + public int insertSelective(OrderSplitRecord record) { + return orderSplitRecordMapper.insertSelective(record); + } + + @Override + public OrderSplitRecord selectByPrimaryKey(Integer id) { + return orderSplitRecordMapper.selectByPrimaryKey(id); + } + + @Override + public int updateByPrimaryKeySelective(OrderSplitRecord record) { + return orderSplitRecordMapper.updateByPrimaryKeySelective(record); + } + + @Override + public int updateByPrimaryKey(OrderSplitRecord record) { + return orderSplitRecordMapper.updateByPrimaryKey(record); + } + + @Override + public int updateBatch(List list) { + return orderSplitRecordMapper.updateBatch(list); + } + + @Override + public int updateBatchSelective(List list) { + return orderSplitRecordMapper.updateBatchSelective(list); + } + + @Override + public int batchInsert(List list) { + return orderSplitRecordMapper.batchInsert(list); + } + +} diff --git a/jsowell-pile/src/main/resources/mapper/pile/OrderSplitRecordMapper.xml b/jsowell-pile/src/main/resources/mapper/pile/OrderSplitRecordMapper.xml new file mode 100644 index 000000000..1a00d3871 --- /dev/null +++ b/jsowell-pile/src/main/resources/mapper/pile/OrderSplitRecordMapper.xml @@ -0,0 +1,603 @@ + + + + + + + + + + + + + + + + + + + + + + + + + id, order_code, settle_amount, adapay_member_id, `status`, electricity_split_ratio, + electricity_split_amount, service_split_ratio, service_split_amount, remark, cerate_by, + create_time, update_by, update_time, del_flag + + + + + delete from order_split_record + where id = #{id,jdbcType=INTEGER} + + + + insert into order_split_record (id, order_code, settle_amount, + adapay_member_id, `status`, electricity_split_ratio, + electricity_split_amount, service_split_ratio, + service_split_amount, remark, cerate_by, + create_time, update_by, update_time, + del_flag) + values (#{id,jdbcType=INTEGER}, #{orderCode,jdbcType=VARCHAR}, #{settleAmount,jdbcType=DECIMAL}, + #{adapayMemberId,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{electricitySplitRatio,jdbcType=DECIMAL}, + #{electricitySplitAmount,jdbcType=DECIMAL}, #{serviceSplitRatio,jdbcType=DECIMAL}, + #{serviceSplitAmount,jdbcType=DECIMAL}, #{remark,jdbcType=VARCHAR}, #{cerateBy,jdbcType=VARCHAR}, + #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, + #{delFlag,jdbcType=VARCHAR}) + + + + insert into order_split_record + + + id, + + + order_code, + + + settle_amount, + + + adapay_member_id, + + + `status`, + + + electricity_split_ratio, + + + electricity_split_amount, + + + service_split_ratio, + + + service_split_amount, + + + remark, + + + cerate_by, + + + create_time, + + + update_by, + + + update_time, + + + del_flag, + + + + + #{id,jdbcType=INTEGER}, + + + #{orderCode,jdbcType=VARCHAR}, + + + #{settleAmount,jdbcType=DECIMAL}, + + + #{adapayMemberId,jdbcType=VARCHAR}, + + + #{status,jdbcType=VARCHAR}, + + + #{electricitySplitRatio,jdbcType=DECIMAL}, + + + #{electricitySplitAmount,jdbcType=DECIMAL}, + + + #{serviceSplitRatio,jdbcType=DECIMAL}, + + + #{serviceSplitAmount,jdbcType=DECIMAL}, + + + #{remark,jdbcType=VARCHAR}, + + + #{cerateBy,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{updateBy,jdbcType=VARCHAR}, + + + #{updateTime,jdbcType=TIMESTAMP}, + + + #{delFlag,jdbcType=VARCHAR}, + + + + + + update order_split_record + + + order_code = #{orderCode,jdbcType=VARCHAR}, + + + settle_amount = #{settleAmount,jdbcType=DECIMAL}, + + + adapay_member_id = #{adapayMemberId,jdbcType=VARCHAR}, + + + `status` = #{status,jdbcType=VARCHAR}, + + + electricity_split_ratio = #{electricitySplitRatio,jdbcType=DECIMAL}, + + + electricity_split_amount = #{electricitySplitAmount,jdbcType=DECIMAL}, + + + service_split_ratio = #{serviceSplitRatio,jdbcType=DECIMAL}, + + + service_split_amount = #{serviceSplitAmount,jdbcType=DECIMAL}, + + + 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_record + set order_code = #{orderCode,jdbcType=VARCHAR}, + settle_amount = #{settleAmount,jdbcType=DECIMAL}, + adapay_member_id = #{adapayMemberId,jdbcType=VARCHAR}, + `status` = #{status,jdbcType=VARCHAR}, + electricity_split_ratio = #{electricitySplitRatio,jdbcType=DECIMAL}, + electricity_split_amount = #{electricitySplitAmount,jdbcType=DECIMAL}, + service_split_ratio = #{serviceSplitRatio,jdbcType=DECIMAL}, + service_split_amount = #{serviceSplitAmount,jdbcType=DECIMAL}, + 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_record + + + + 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.status,jdbcType=VARCHAR} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.electricitySplitRatio,jdbcType=DECIMAL} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.electricitySplitAmount,jdbcType=DECIMAL} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.serviceSplitRatio,jdbcType=DECIMAL} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.serviceSplitAmount,jdbcType=DECIMAL} + + + + + 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_record + + + + + 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.status,jdbcType=VARCHAR} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.electricitySplitRatio,jdbcType=DECIMAL} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.electricitySplitAmount,jdbcType=DECIMAL} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.serviceSplitRatio,jdbcType=DECIMAL} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.serviceSplitAmount,jdbcType=DECIMAL} + + + + + + + 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_record + (id, order_code, settle_amount, adapay_member_id, `status`, electricity_split_ratio, + electricity_split_amount, service_split_ratio, service_split_amount, 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.status,jdbcType=VARCHAR}, #{item.electricitySplitRatio,jdbcType=DECIMAL}, + #{item.electricitySplitAmount,jdbcType=DECIMAL}, #{item.serviceSplitRatio,jdbcType=DECIMAL}, + #{item.serviceSplitAmount,jdbcType=DECIMAL}, #{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_record + (id, order_code, settle_amount, adapay_member_id, `status`, electricity_split_ratio, + electricity_split_amount, service_split_ratio, service_split_amount, remark, cerate_by, + create_time, update_by, update_time, del_flag) + values + (#{id,jdbcType=INTEGER}, #{orderCode,jdbcType=VARCHAR}, #{settleAmount,jdbcType=DECIMAL}, + #{adapayMemberId,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{electricitySplitRatio,jdbcType=DECIMAL}, + #{electricitySplitAmount,jdbcType=DECIMAL}, #{serviceSplitRatio,jdbcType=DECIMAL}, + #{serviceSplitAmount,jdbcType=DECIMAL}, #{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}, + `status` = #{status,jdbcType=VARCHAR}, + electricity_split_ratio = #{electricitySplitRatio,jdbcType=DECIMAL}, + electricity_split_amount = #{electricitySplitAmount,jdbcType=DECIMAL}, + service_split_ratio = #{serviceSplitRatio,jdbcType=DECIMAL}, + service_split_amount = #{serviceSplitAmount,jdbcType=DECIMAL}, + 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_record + + + id, + + + order_code, + + + settle_amount, + + + adapay_member_id, + + + `status`, + + + electricity_split_ratio, + + + electricity_split_amount, + + + service_split_ratio, + + + service_split_amount, + + + remark, + + + cerate_by, + + + create_time, + + + update_by, + + + update_time, + + + del_flag, + + + values + + + #{id,jdbcType=INTEGER}, + + + #{orderCode,jdbcType=VARCHAR}, + + + #{settleAmount,jdbcType=DECIMAL}, + + + #{adapayMemberId,jdbcType=VARCHAR}, + + + #{status,jdbcType=VARCHAR}, + + + #{electricitySplitRatio,jdbcType=DECIMAL}, + + + #{electricitySplitAmount,jdbcType=DECIMAL}, + + + #{serviceSplitRatio,jdbcType=DECIMAL}, + + + #{serviceSplitAmount,jdbcType=DECIMAL}, + + + #{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}, + + + `status` = #{status,jdbcType=VARCHAR}, + + + electricity_split_ratio = #{electricitySplitRatio,jdbcType=DECIMAL}, + + + electricity_split_amount = #{electricitySplitAmount,jdbcType=DECIMAL}, + + + service_split_ratio = #{serviceSplitRatio,jdbcType=DECIMAL}, + + + service_split_amount = #{serviceSplitAmount,jdbcType=DECIMAL}, + + + 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