Browse Source

运维模块添加积分模块和溢付款模块

lazhaoqian 4 years ago
parent
commit
ac62ac87f6
28 changed files with 1781 additions and 0 deletions
  1. 123 0
      blade-service-api/blade-mocha-item-api/src/main/java/org/springblade/mocha/entity/BusinessOverpayment.java
  2. 133 0
      blade-service-api/blade-mocha-item-api/src/main/java/org/springblade/mocha/entity/BusinessOverpaymentItem.java
  3. 123 0
      blade-service-api/blade-mocha-item-api/src/main/java/org/springblade/mocha/entity/BusinessPoints.java
  4. 133 0
      blade-service-api/blade-mocha-item-api/src/main/java/org/springblade/mocha/entity/BusinessPointsItem.java
  5. 36 0
      blade-service-api/blade-mocha-item-api/src/main/java/org/springblade/mocha/vo/BusinessOverpaymentItemVO.java
  6. 36 0
      blade-service-api/blade-mocha-item-api/src/main/java/org/springblade/mocha/vo/BusinessOverpaymentVO.java
  7. 36 0
      blade-service-api/blade-mocha-item-api/src/main/java/org/springblade/mocha/vo/BusinessPointsItemVO.java
  8. 36 0
      blade-service-api/blade-mocha-item-api/src/main/java/org/springblade/mocha/vo/BusinessPointsVO.java
  9. 129 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/controller/BusinessOverpaymentController.java
  10. 126 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/controller/BusinessOverpaymentItemController.java
  11. 128 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/controller/BusinessPointsController.java
  12. 126 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/controller/BusinessPointsItemController.java
  13. 42 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/mapper/BusinessOverpaymentItemMapper.java
  14. 31 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/mapper/BusinessOverpaymentItemMapper.xml
  15. 42 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/mapper/BusinessOverpaymentMapper.java
  16. 29 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/mapper/BusinessOverpaymentMapper.xml
  17. 42 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/mapper/BusinessPointsItemMapper.java
  18. 31 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/mapper/BusinessPointsItemMapper.xml
  19. 42 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/mapper/BusinessPointsMapper.java
  20. 29 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/mapper/BusinessPointsMapper.xml
  21. 41 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/service/IBusinessOverpaymentItemService.java
  22. 41 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/service/IBusinessOverpaymentService.java
  23. 41 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/service/IBusinessPointsItemService.java
  24. 41 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/service/IBusinessPointsService.java
  25. 41 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/service/impl/BusinessOverpaymentItemServiceImpl.java
  26. 41 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/service/impl/BusinessOverpaymentServiceImpl.java
  27. 41 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/service/impl/BusinessPointsItemServiceImpl.java
  28. 41 0
      blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/service/impl/BusinessPointsServiceImpl.java

+ 123 - 0
blade-service-api/blade-mocha-item-api/src/main/java/org/springblade/mocha/entity/BusinessOverpayment.java

@@ -0,0 +1,123 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.entity;
+
+import java.math.BigDecimal;
+import java.io.Serializable;
+import java.util.Date;
+
+import com.baomidou.mybatisplus.annotation.TableLogic;
+import lombok.Data;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 客户溢付款主表实体类
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+@Data
+@ApiModel(value = "BusinessOverpayment对象", description = "客户溢付款主表")
+public class BusinessOverpayment implements Serializable {
+
+	private static final long serialVersionUID = 1L;
+
+	/**
+	* 主键
+	*/
+		@ApiModelProperty(value = "主键")
+		private Long id;
+	/**
+	* 客户id
+	*/
+		@ApiModelProperty(value = "客户id")
+		private Long corpId;
+	/**
+	* 客户名称
+	*/
+		@ApiModelProperty(value = "客户名称")
+		private String corpName;
+	/**
+	* 增加积分
+	*/
+		@ApiModelProperty(value = "增加积分")
+		private BigDecimal inOverpayment;
+	/**
+	* 消费积分
+	*/
+		@ApiModelProperty(value = "消费积分")
+		private BigDecimal outOverpaymen;
+	/**
+	* 积分余额
+	*/
+		@ApiModelProperty(value = "积分余额")
+		private BigDecimal balanceOverpaymen;
+	/**
+	* 备注
+	*/
+		@ApiModelProperty(value = "备注")
+		private String remarks;
+	/**
+	* 版本
+	*/
+		@ApiModelProperty(value = "版本")
+		private String version;
+	/**
+	* 创建人
+	*/
+		@ApiModelProperty(value = "创建人")
+		private Long createUser;
+	/**
+	* 创建部门
+	*/
+		@ApiModelProperty(value = "创建部门")
+		private Long createDept;
+	/**
+	* 创建时间
+	*/
+		@ApiModelProperty(value = "创建时间")
+		private Date createTime;
+	/**
+	* 修改人
+	*/
+		@ApiModelProperty(value = "修改人")
+		private Long updateUser;
+	/**
+	* 修改时间
+	*/
+		@ApiModelProperty(value = "修改时间")
+		private Date updateTime;
+	/**
+	* 状态(0 正常 1停用)
+	*/
+		@ApiModelProperty(value = "状态(0 正常 1停用)")
+		private Integer status;
+	/**
+	* 是否已删除(0 否 1是)
+	*/
+		@TableLogic
+		@ApiModelProperty(value = "是否已删除(0 否 1是)")
+		private Integer isDeleted;
+	/**
+	 * 租户id
+	 */
+		@ApiModelProperty(value = "租户id")
+		private String tenantId;
+
+
+}

+ 133 - 0
blade-service-api/blade-mocha-item-api/src/main/java/org/springblade/mocha/entity/BusinessOverpaymentItem.java

@@ -0,0 +1,133 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.entity;
+
+import java.math.BigDecimal;
+import java.io.Serializable;
+import java.util.Date;
+
+import com.baomidou.mybatisplus.annotation.TableLogic;
+import lombok.Data;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 溢付款明细表实体类
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+@Data
+@ApiModel(value = "BusinessOverpaymentItem对象", description = "溢付款明细表")
+public class BusinessOverpaymentItem implements Serializable {
+
+	private static final long serialVersionUID = 1L;
+
+	/**
+	* 主键
+	*/
+		@ApiModelProperty(value = "主键")
+		private Long id;
+	/**
+	* 主表id
+	*/
+		@ApiModelProperty(value = "主表id")
+		private Long pid;
+	/**
+	* 来源id
+	*/
+		@ApiModelProperty(value = "来源id")
+		private Long srcId;
+	/**
+	* 来源主表id
+	*/
+		@ApiModelProperty(value = "来源主表id")
+		private Long srcPid;
+	/**
+	* 订单号
+	*/
+		@ApiModelProperty(value = "订单号")
+		private String orderNo;
+	/**
+	* 发货单号
+	*/
+		@ApiModelProperty(value = "发货单号")
+		private String billNo;
+	/**
+	* 积分
+	*/
+		@ApiModelProperty(value = "积分")
+		private BigDecimal overpayment;
+	/**
+	* 消费类型 0 增加 1 消费
+	*/
+		@ApiModelProperty(value = "消费类型 0 增加 1 消费")
+		private Integer overpaymentType;
+	/**
+	* 备注
+	*/
+		@ApiModelProperty(value = "备注")
+		private String remarks;
+	/**
+	* 版本
+	*/
+		@ApiModelProperty(value = "版本")
+		private String version;
+	/**
+	* 创建人
+	*/
+		@ApiModelProperty(value = "创建人")
+		private Long createUser;
+	/**
+	* 创建部门
+	*/
+		@ApiModelProperty(value = "创建部门")
+		private Long createDept;
+	/**
+	* 创建时间
+	*/
+		@ApiModelProperty(value = "创建时间")
+		private Date createTime;
+	/**
+	* 修改人
+	*/
+		@ApiModelProperty(value = "修改人")
+		private Long updateUser;
+	/**
+	* 修改时间
+	*/
+		@ApiModelProperty(value = "修改时间")
+		private Date updateTime;
+	/**
+	* 状态(0 正常 1停用)
+	*/
+		@ApiModelProperty(value = "状态(0 正常 1停用)")
+		private Integer status;
+	/**
+	* 是否已删除(0 否 1是)
+	*/
+		@TableLogic
+		@ApiModelProperty(value = "是否已删除(0 否 1是)")
+		private Integer isDeleted;
+	/**
+	 * 租户id
+	 */
+		@ApiModelProperty(value = "租户id")
+		private String tenantId;
+
+
+}

+ 123 - 0
blade-service-api/blade-mocha-item-api/src/main/java/org/springblade/mocha/entity/BusinessPoints.java

@@ -0,0 +1,123 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.entity;
+
+import java.math.BigDecimal;
+import java.io.Serializable;
+import java.util.Date;
+
+import com.baomidou.mybatisplus.annotation.TableLogic;
+import lombok.Data;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 客户积分主表实体类
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+@Data
+@ApiModel(value = "BusinessPoints对象", description = "客户积分主表")
+public class BusinessPoints implements Serializable {
+
+	private static final long serialVersionUID = 1L;
+
+	/**
+	* 主键
+	*/
+		@ApiModelProperty(value = "主键")
+		private Long id;
+	/**
+	* 客户id
+	*/
+		@ApiModelProperty(value = "客户id")
+		private Long corpId;
+	/**
+	* 客户名称
+	*/
+		@ApiModelProperty(value = "客户名称")
+		private String corpName;
+	/**
+	* 增加积分
+	*/
+		@ApiModelProperty(value = "增加积分")
+		private BigDecimal inPoints;
+	/**
+	* 消费积分
+	*/
+		@ApiModelProperty(value = "消费积分")
+		private BigDecimal outPoints;
+	/**
+	* 积分余额
+	*/
+		@ApiModelProperty(value = "积分余额")
+		private BigDecimal balancePoints;
+	/**
+	* 备注
+	*/
+		@ApiModelProperty(value = "备注")
+		private String remarks;
+	/**
+	* 版本
+	*/
+		@ApiModelProperty(value = "版本")
+		private String version;
+	/**
+	* 创建人
+	*/
+		@ApiModelProperty(value = "创建人")
+		private Long createUser;
+	/**
+	* 创建部门
+	*/
+		@ApiModelProperty(value = "创建部门")
+		private Long createDept;
+	/**
+	* 创建时间
+	*/
+		@ApiModelProperty(value = "创建时间")
+		private Date createTime;
+	/**
+	* 修改人
+	*/
+		@ApiModelProperty(value = "修改人")
+		private Long updateUser;
+	/**
+	* 修改时间
+	*/
+		@ApiModelProperty(value = "修改时间")
+		private Date updateTime;
+	/**
+	* 状态(0 正常 1停用)
+	*/
+		@ApiModelProperty(value = "状态(0 正常 1停用)")
+		private Integer status;
+	/**
+	* 是否已删除(0 否 1是)
+	*/
+		@TableLogic
+		@ApiModelProperty(value = "是否已删除(0 否 1是)")
+		private Integer isDeleted;
+	/**
+	 * 租户id
+	 */
+		@ApiModelProperty(value = "租户id")
+		private String tenantId;
+
+
+}

+ 133 - 0
blade-service-api/blade-mocha-item-api/src/main/java/org/springblade/mocha/entity/BusinessPointsItem.java

@@ -0,0 +1,133 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.entity;
+
+import java.math.BigDecimal;
+import java.io.Serializable;
+import java.util.Date;
+
+import com.baomidou.mybatisplus.annotation.TableLogic;
+import lombok.Data;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 积分明细表实体类
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+@Data
+@ApiModel(value = "BusinessPointsItem对象", description = "积分明细表")
+public class BusinessPointsItem implements Serializable {
+
+	private static final long serialVersionUID = 1L;
+
+	/**
+	* 主键
+	*/
+		@ApiModelProperty(value = "主键")
+		private Long id;
+	/**
+	* 主表id
+	*/
+		@ApiModelProperty(value = "主表id")
+		private Long pid;
+	/**
+	* 来源id
+	*/
+		@ApiModelProperty(value = "来源id")
+		private Long srcId;
+	/**
+	* 来源主表id
+	*/
+		@ApiModelProperty(value = "来源主表id")
+		private Long srcPid;
+	/**
+	* 订单号
+	*/
+		@ApiModelProperty(value = "订单号")
+		private String orderNo;
+	/**
+	* 发货单号
+	*/
+		@ApiModelProperty(value = "发货单号")
+		private String billNo;
+	/**
+	* 积分
+	*/
+		@ApiModelProperty(value = "积分")
+		private BigDecimal points;
+	/**
+	* 消费类型 0 增加 1 消费
+	*/
+		@ApiModelProperty(value = "消费类型 0 增加 1 消费")
+		private Integer pointsType;
+	/**
+	* 备注
+	*/
+		@ApiModelProperty(value = "备注")
+		private String remarks;
+	/**
+	* 版本
+	*/
+		@ApiModelProperty(value = "版本")
+		private String version;
+	/**
+	* 创建人
+	*/
+		@ApiModelProperty(value = "创建人")
+		private Long createUser;
+	/**
+	* 创建部门
+	*/
+		@ApiModelProperty(value = "创建部门")
+		private Long createDept;
+	/**
+	* 创建时间
+	*/
+		@ApiModelProperty(value = "创建时间")
+		private Date createTime;
+	/**
+	* 修改人
+	*/
+		@ApiModelProperty(value = "修改人")
+		private Long updateUser;
+	/**
+	* 修改时间
+	*/
+		@ApiModelProperty(value = "修改时间")
+		private Date updateTime;
+	/**
+	* 状态(0 正常 1停用)
+	*/
+		@ApiModelProperty(value = "状态(0 正常 1停用)")
+		private Integer status;
+	/**
+	* 是否已删除(0 否 1是)
+	*/
+	    @TableLogic
+		@ApiModelProperty(value = "是否已删除(0 否 1是)")
+		private Integer isDeleted;
+	/**
+	 * 租户id
+	 */
+		@ApiModelProperty(value = "租户id")
+		private String tenantId;
+
+
+}

+ 36 - 0
blade-service-api/blade-mocha-item-api/src/main/java/org/springblade/mocha/vo/BusinessOverpaymentItemVO.java

@@ -0,0 +1,36 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.vo;
+
+import org.springblade.mocha.entity.BusinessOverpaymentItem;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 溢付款明细表视图实体类
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "BusinessOverpaymentItemVO对象", description = "溢付款明细表")
+public class BusinessOverpaymentItemVO extends BusinessOverpaymentItem {
+	private static final long serialVersionUID = 1L;
+
+}

+ 36 - 0
blade-service-api/blade-mocha-item-api/src/main/java/org/springblade/mocha/vo/BusinessOverpaymentVO.java

@@ -0,0 +1,36 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.vo;
+
+import org.springblade.mocha.entity.BusinessOverpayment;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 客户溢付款主表视图实体类
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "BusinessOverpaymentVO对象", description = "客户溢付款主表")
+public class BusinessOverpaymentVO extends BusinessOverpayment {
+	private static final long serialVersionUID = 1L;
+
+}

+ 36 - 0
blade-service-api/blade-mocha-item-api/src/main/java/org/springblade/mocha/vo/BusinessPointsItemVO.java

@@ -0,0 +1,36 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.vo;
+
+import org.springblade.mocha.entity.BusinessPointsItem;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 积分明细表视图实体类
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "BusinessPointsItemVO对象", description = "积分明细表")
+public class BusinessPointsItemVO extends BusinessPointsItem {
+	private static final long serialVersionUID = 1L;
+
+}

+ 36 - 0
blade-service-api/blade-mocha-item-api/src/main/java/org/springblade/mocha/vo/BusinessPointsVO.java

@@ -0,0 +1,36 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.vo;
+
+import org.springblade.mocha.entity.BusinessPoints;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 客户积分主表视图实体类
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "BusinessPointsVO对象", description = "客户积分主表")
+public class BusinessPointsVO extends BusinessPoints {
+	private static final long serialVersionUID = 1L;
+
+}

+ 129 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/controller/BusinessOverpaymentController.java

@@ -0,0 +1,129 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.controller;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.mp.support.Query;
+import org.springblade.core.secure.utils.SecureUtil;
+import org.springblade.core.tool.api.R;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import org.springblade.mocha.entity.BusinessOverpayment;
+import org.springblade.mocha.vo.BusinessOverpaymentVO;
+import org.springblade.mocha.service.IBusinessOverpaymentService;
+import org.springblade.core.boot.ctrl.BladeController;
+
+/**
+ * 客户溢付款主表 控制器
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/businessoverpayment")
+@Api(value = "客户溢付款主表", tags = "客户溢付款主表接口")
+public class BusinessOverpaymentController extends BladeController {
+
+	private final IBusinessOverpaymentService businessOverpaymentService;
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+	@ApiOperationSupport(order = 1)
+	@ApiOperation(value = "详情", notes = "传入businessOverpayment")
+	public R<BusinessOverpayment> detail(BusinessOverpayment businessOverpayment) {
+		BusinessOverpayment detail = businessOverpaymentService.getOne(Condition.getQueryWrapper(businessOverpayment));
+		return R.data(detail);
+	}
+
+	/**
+	 * 分页 客户溢付款主表
+	 */
+	@GetMapping("/list")
+	@ApiOperationSupport(order = 2)
+	@ApiOperation(value = "分页", notes = "传入businessOverpayment")
+	public R<IPage<BusinessOverpayment>> list(BusinessOverpayment businessOverpayment, Query query) {
+		businessOverpayment.setTenantId(SecureUtil.getTenantId());
+		IPage<BusinessOverpayment> pages = businessOverpaymentService.page(Condition.getPage(query), Condition.getQueryWrapper(businessOverpayment));
+		return R.data(pages);
+	}
+
+	/**
+	 * 自定义分页 客户溢付款主表
+	 */
+	@GetMapping("/page")
+	@ApiOperationSupport(order = 3)
+	@ApiOperation(value = "分页", notes = "传入businessOverpayment")
+	public R<IPage<BusinessOverpaymentVO>> page(BusinessOverpaymentVO businessOverpayment, Query query) {
+		businessOverpayment.setTenantId(SecureUtil.getTenantId());
+		IPage<BusinessOverpaymentVO> pages = businessOverpaymentService.selectBusinessOverpaymentPage(Condition.getPage(query), businessOverpayment);
+		return R.data(pages);
+	}
+
+	/**
+	 * 新增 客户溢付款主表
+	 */
+	@PostMapping("/save")
+	@ApiOperationSupport(order = 4)
+	@ApiOperation(value = "新增", notes = "传入businessOverpayment")
+	public R save(@Valid @RequestBody BusinessOverpayment businessOverpayment) {
+		return R.status(businessOverpaymentService.save(businessOverpayment));
+	}
+
+	/**
+	 * 修改 客户溢付款主表
+	 */
+	@PostMapping("/update")
+	@ApiOperationSupport(order = 5)
+	@ApiOperation(value = "修改", notes = "传入businessOverpayment")
+	public R update(@Valid @RequestBody BusinessOverpayment businessOverpayment) {
+		return R.status(businessOverpaymentService.updateById(businessOverpayment));
+	}
+
+	/**
+	 * 新增或修改 客户溢付款主表
+	 */
+	@PostMapping("/submit")
+	@ApiOperationSupport(order = 6)
+	@ApiOperation(value = "新增或修改", notes = "传入businessOverpayment")
+	public R submit(@Valid @RequestBody BusinessOverpayment businessOverpayment) {
+		return R.status(businessOverpaymentService.saveOrUpdate(businessOverpayment));
+	}
+
+
+	/**
+	 * 删除 客户溢付款主表
+	 */
+	@PostMapping("/remove")
+	@ApiOperationSupport(order = 8)
+	@ApiOperation(value = "删除", notes = "传入ids")
+	public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+		return R.status(businessOverpaymentService.removeByIds(Func.toLongList(ids)));
+	}
+
+
+}

+ 126 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/controller/BusinessOverpaymentItemController.java

@@ -0,0 +1,126 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.controller;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.mp.support.Query;
+import org.springblade.core.tool.api.R;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import org.springblade.mocha.entity.BusinessOverpaymentItem;
+import org.springblade.mocha.vo.BusinessOverpaymentItemVO;
+import org.springblade.mocha.service.IBusinessOverpaymentItemService;
+import org.springblade.core.boot.ctrl.BladeController;
+
+/**
+ * 溢付款明细表 控制器
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/businessoverpaymentitem")
+@Api(value = "溢付款明细表", tags = "溢付款明细表接口")
+public class BusinessOverpaymentItemController extends BladeController {
+
+	private final IBusinessOverpaymentItemService businessOverpaymentItemService;
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+	@ApiOperationSupport(order = 1)
+	@ApiOperation(value = "详情", notes = "传入businessOverpaymentItem")
+	public R<BusinessOverpaymentItem> detail(BusinessOverpaymentItem businessOverpaymentItem) {
+		BusinessOverpaymentItem detail = businessOverpaymentItemService.getOne(Condition.getQueryWrapper(businessOverpaymentItem));
+		return R.data(detail);
+	}
+
+	/**
+	 * 分页 溢付款明细表
+	 */
+	@GetMapping("/list")
+	@ApiOperationSupport(order = 2)
+	@ApiOperation(value = "分页", notes = "传入businessOverpaymentItem")
+	public R<IPage<BusinessOverpaymentItem>> list(BusinessOverpaymentItem businessOverpaymentItem, Query query) {
+		IPage<BusinessOverpaymentItem> pages = businessOverpaymentItemService.page(Condition.getPage(query), Condition.getQueryWrapper(businessOverpaymentItem));
+		return R.data(pages);
+	}
+
+	/**
+	 * 自定义分页 溢付款明细表
+	 */
+	@GetMapping("/page")
+	@ApiOperationSupport(order = 3)
+	@ApiOperation(value = "分页", notes = "传入businessOverpaymentItem")
+	public R<IPage<BusinessOverpaymentItemVO>> page(BusinessOverpaymentItemVO businessOverpaymentItem, Query query) {
+		IPage<BusinessOverpaymentItemVO> pages = businessOverpaymentItemService.selectBusinessOverpaymentItemPage(Condition.getPage(query), businessOverpaymentItem);
+		return R.data(pages);
+	}
+
+	/**
+	 * 新增 溢付款明细表
+	 */
+	@PostMapping("/save")
+	@ApiOperationSupport(order = 4)
+	@ApiOperation(value = "新增", notes = "传入businessOverpaymentItem")
+	public R save(@Valid @RequestBody BusinessOverpaymentItem businessOverpaymentItem) {
+		return R.status(businessOverpaymentItemService.save(businessOverpaymentItem));
+	}
+
+	/**
+	 * 修改 溢付款明细表
+	 */
+	@PostMapping("/update")
+	@ApiOperationSupport(order = 5)
+	@ApiOperation(value = "修改", notes = "传入businessOverpaymentItem")
+	public R update(@Valid @RequestBody BusinessOverpaymentItem businessOverpaymentItem) {
+		return R.status(businessOverpaymentItemService.updateById(businessOverpaymentItem));
+	}
+
+	/**
+	 * 新增或修改 溢付款明细表
+	 */
+	@PostMapping("/submit")
+	@ApiOperationSupport(order = 6)
+	@ApiOperation(value = "新增或修改", notes = "传入businessOverpaymentItem")
+	public R submit(@Valid @RequestBody BusinessOverpaymentItem businessOverpaymentItem) {
+		return R.status(businessOverpaymentItemService.saveOrUpdate(businessOverpaymentItem));
+	}
+
+	
+	/**
+	 * 删除 溢付款明细表
+	 */
+	@PostMapping("/remove")
+	@ApiOperationSupport(order = 8)
+	@ApiOperation(value = "删除", notes = "传入ids")
+	public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+		return R.status(businessOverpaymentItemService.removeByIds(Func.toLongList(ids)));
+	}
+
+	
+}

+ 128 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/controller/BusinessPointsController.java

@@ -0,0 +1,128 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.controller;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.mp.support.Query;
+import org.springblade.core.secure.utils.SecureUtil;
+import org.springblade.core.tool.api.R;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import org.springblade.mocha.entity.BusinessPoints;
+import org.springblade.mocha.vo.BusinessPointsVO;
+import org.springblade.mocha.service.IBusinessPointsService;
+import org.springblade.core.boot.ctrl.BladeController;
+
+/**
+ * 客户积分主表 控制器
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/businesspoints")
+@Api(value = "客户积分主表", tags = "客户积分主表接口")
+public class BusinessPointsController extends BladeController {
+
+	private final IBusinessPointsService businessPointsService;
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+	@ApiOperationSupport(order = 1)
+	@ApiOperation(value = "详情", notes = "传入businessPoints")
+	public R<BusinessPoints> detail(BusinessPoints businessPoints) {
+		BusinessPoints detail = businessPointsService.getOne(Condition.getQueryWrapper(businessPoints));
+		return R.data(detail);
+	}
+
+	/**
+	 * 分页 客户积分主表
+	 */
+	@GetMapping("/list")
+	@ApiOperationSupport(order = 2)
+	@ApiOperation(value = "分页", notes = "传入businessPoints")
+	public R<IPage<BusinessPoints>> list(BusinessPoints businessPoints, Query query) {
+		businessPoints.setTenantId(SecureUtil.getTenantId());
+		IPage<BusinessPoints> pages = businessPointsService.page(Condition.getPage(query), Condition.getQueryWrapper(businessPoints));
+		return R.data(pages);
+	}
+
+	/**
+	 * 自定义分页 客户积分主表
+	 */
+	@GetMapping("/page")
+	@ApiOperationSupport(order = 3)
+	@ApiOperation(value = "分页", notes = "传入businessPoints")
+	public R<IPage<BusinessPointsVO>> page(BusinessPointsVO businessPoints, Query query) {
+		IPage<BusinessPointsVO> pages = businessPointsService.selectBusinessPointsPage(Condition.getPage(query), businessPoints);
+		return R.data(pages);
+	}
+
+	/**
+	 * 新增 客户积分主表
+	 */
+	@PostMapping("/save")
+	@ApiOperationSupport(order = 4)
+	@ApiOperation(value = "新增", notes = "传入businessPoints")
+	public R save(@Valid @RequestBody BusinessPoints businessPoints) {
+		return R.status(businessPointsService.save(businessPoints));
+	}
+
+	/**
+	 * 修改 客户积分主表
+	 */
+	@PostMapping("/update")
+	@ApiOperationSupport(order = 5)
+	@ApiOperation(value = "修改", notes = "传入businessPoints")
+	public R update(@Valid @RequestBody BusinessPoints businessPoints) {
+		return R.status(businessPointsService.updateById(businessPoints));
+	}
+
+	/**
+	 * 新增或修改 客户积分主表
+	 */
+	@PostMapping("/submit")
+	@ApiOperationSupport(order = 6)
+	@ApiOperation(value = "新增或修改", notes = "传入businessPoints")
+	public R submit(@Valid @RequestBody BusinessPoints businessPoints) {
+		return R.status(businessPointsService.saveOrUpdate(businessPoints));
+	}
+
+
+	/**
+	 * 删除 客户积分主表
+	 */
+	@PostMapping("/remove")
+	@ApiOperationSupport(order = 8)
+	@ApiOperation(value = "删除", notes = "传入ids")
+	public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+		return R.status(businessPointsService.removeByIds(Func.toLongList(ids)));
+	}
+
+
+}

+ 126 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/controller/BusinessPointsItemController.java

@@ -0,0 +1,126 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.controller;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.mp.support.Query;
+import org.springblade.core.tool.api.R;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import org.springblade.mocha.entity.BusinessPointsItem;
+import org.springblade.mocha.vo.BusinessPointsItemVO;
+import org.springblade.mocha.service.IBusinessPointsItemService;
+import org.springblade.core.boot.ctrl.BladeController;
+
+/**
+ * 积分明细表 控制器
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/businesspointsitem")
+@Api(value = "积分明细表", tags = "积分明细表接口")
+public class BusinessPointsItemController extends BladeController {
+
+	private final IBusinessPointsItemService businessPointsItemService;
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+	@ApiOperationSupport(order = 1)
+	@ApiOperation(value = "详情", notes = "传入businessPointsItem")
+	public R<BusinessPointsItem> detail(BusinessPointsItem businessPointsItem) {
+		BusinessPointsItem detail = businessPointsItemService.getOne(Condition.getQueryWrapper(businessPointsItem));
+		return R.data(detail);
+	}
+
+	/**
+	 * 分页 积分明细表
+	 */
+	@GetMapping("/list")
+	@ApiOperationSupport(order = 2)
+	@ApiOperation(value = "分页", notes = "传入businessPointsItem")
+	public R<IPage<BusinessPointsItem>> list(BusinessPointsItem businessPointsItem, Query query) {
+		IPage<BusinessPointsItem> pages = businessPointsItemService.page(Condition.getPage(query), Condition.getQueryWrapper(businessPointsItem));
+		return R.data(pages);
+	}
+
+	/**
+	 * 自定义分页 积分明细表
+	 */
+	@GetMapping("/page")
+	@ApiOperationSupport(order = 3)
+	@ApiOperation(value = "分页", notes = "传入businessPointsItem")
+	public R<IPage<BusinessPointsItemVO>> page(BusinessPointsItemVO businessPointsItem, Query query) {
+		IPage<BusinessPointsItemVO> pages = businessPointsItemService.selectBusinessPointsItemPage(Condition.getPage(query), businessPointsItem);
+		return R.data(pages);
+	}
+
+	/**
+	 * 新增 积分明细表
+	 */
+	@PostMapping("/save")
+	@ApiOperationSupport(order = 4)
+	@ApiOperation(value = "新增", notes = "传入businessPointsItem")
+	public R save(@Valid @RequestBody BusinessPointsItem businessPointsItem) {
+		return R.status(businessPointsItemService.save(businessPointsItem));
+	}
+
+	/**
+	 * 修改 积分明细表
+	 */
+	@PostMapping("/update")
+	@ApiOperationSupport(order = 5)
+	@ApiOperation(value = "修改", notes = "传入businessPointsItem")
+	public R update(@Valid @RequestBody BusinessPointsItem businessPointsItem) {
+		return R.status(businessPointsItemService.updateById(businessPointsItem));
+	}
+
+	/**
+	 * 新增或修改 积分明细表
+	 */
+	@PostMapping("/submit")
+	@ApiOperationSupport(order = 6)
+	@ApiOperation(value = "新增或修改", notes = "传入businessPointsItem")
+	public R submit(@Valid @RequestBody BusinessPointsItem businessPointsItem) {
+		return R.status(businessPointsItemService.saveOrUpdate(businessPointsItem));
+	}
+
+	
+	/**
+	 * 删除 积分明细表
+	 */
+	@PostMapping("/remove")
+	@ApiOperationSupport(order = 8)
+	@ApiOperation(value = "删除", notes = "传入ids")
+	public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+		return R.status(businessPointsItemService.removeByIds(Func.toLongList(ids)));
+	}
+
+	
+}

+ 42 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/mapper/BusinessOverpaymentItemMapper.java

@@ -0,0 +1,42 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.mapper;
+
+import org.springblade.mocha.entity.BusinessOverpaymentItem;
+import org.springblade.mocha.vo.BusinessOverpaymentItemVO;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import java.util.List;
+
+/**
+ * 溢付款明细表 Mapper 接口
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+public interface BusinessOverpaymentItemMapper extends BaseMapper<BusinessOverpaymentItem> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param businessOverpaymentItem
+	 * @return
+	 */
+	List<BusinessOverpaymentItemVO> selectBusinessOverpaymentItemPage(IPage page, BusinessOverpaymentItemVO businessOverpaymentItem);
+
+}

+ 31 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/mapper/BusinessOverpaymentItemMapper.xml

@@ -0,0 +1,31 @@
+<?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="org.springblade.mocha.mapper.BusinessOverpaymentItemMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="businessOverpaymentItemResultMap" type="org.springblade.mocha.entity.BusinessOverpaymentItem">
+        <id column="id" property="id"/>
+        <result column="pid" property="pid"/>
+        <result column="src_id" property="srcId"/>
+        <result column="src_pid" property="srcPid"/>
+        <result column="order_no" property="orderNo"/>
+        <result column="bill_no" property="billNo"/>
+        <result column="overpayment" property="overpayment"/>
+        <result column="overpayment_type" property="overpaymentType"/>
+        <result column="remarks" property="remarks"/>
+        <result column="version" property="version"/>
+        <result column="create_user" property="createUser"/>
+        <result column="create_dept" property="createDept"/>
+        <result column="create_time" property="createTime"/>
+        <result column="update_user" property="updateUser"/>
+        <result column="update_time" property="updateTime"/>
+        <result column="status" property="status"/>
+        <result column="is_deleted" property="isDeleted"/>
+    </resultMap>
+
+
+    <select id="selectBusinessOverpaymentItemPage" resultMap="businessOverpaymentItemResultMap">
+        select * from business_overpayment_item where is_deleted = 0
+    </select>
+
+</mapper>

+ 42 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/mapper/BusinessOverpaymentMapper.java

@@ -0,0 +1,42 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.mapper;
+
+import org.springblade.mocha.entity.BusinessOverpayment;
+import org.springblade.mocha.vo.BusinessOverpaymentVO;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import java.util.List;
+
+/**
+ * 客户溢付款主表 Mapper 接口
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+public interface BusinessOverpaymentMapper extends BaseMapper<BusinessOverpayment> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param businessOverpayment
+	 * @return
+	 */
+	List<BusinessOverpaymentVO> selectBusinessOverpaymentPage(IPage page, BusinessOverpaymentVO businessOverpayment);
+
+}

+ 29 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/mapper/BusinessOverpaymentMapper.xml

@@ -0,0 +1,29 @@
+<?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="org.springblade.mocha.mapper.BusinessOverpaymentMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="businessOverpaymentResultMap" type="org.springblade.mocha.entity.BusinessOverpayment">
+        <id column="id" property="id"/>
+        <result column="corp_id" property="corpId"/>
+        <result column="corp_name" property="corpName"/>
+        <result column="in_overpayment" property="inOverpayment"/>
+        <result column="out_overpaymen" property="outOverpaymen"/>
+        <result column="balance_overpaymen" property="balanceOverpaymen"/>
+        <result column="remarks" property="remarks"/>
+        <result column="version" property="version"/>
+        <result column="create_user" property="createUser"/>
+        <result column="create_dept" property="createDept"/>
+        <result column="create_time" property="createTime"/>
+        <result column="update_user" property="updateUser"/>
+        <result column="update_time" property="updateTime"/>
+        <result column="status" property="status"/>
+        <result column="is_deleted" property="isDeleted"/>
+    </resultMap>
+
+
+    <select id="selectBusinessOverpaymentPage" resultMap="businessOverpaymentResultMap">
+        select * from business_overpayment where is_deleted = 0
+    </select>
+
+</mapper>

+ 42 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/mapper/BusinessPointsItemMapper.java

@@ -0,0 +1,42 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.mapper;
+
+import org.springblade.mocha.entity.BusinessPointsItem;
+import org.springblade.mocha.vo.BusinessPointsItemVO;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import java.util.List;
+
+/**
+ * 积分明细表 Mapper 接口
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+public interface BusinessPointsItemMapper extends BaseMapper<BusinessPointsItem> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param businessPointsItem
+	 * @return
+	 */
+	List<BusinessPointsItemVO> selectBusinessPointsItemPage(IPage page, BusinessPointsItemVO businessPointsItem);
+
+}

+ 31 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/mapper/BusinessPointsItemMapper.xml

@@ -0,0 +1,31 @@
+<?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="org.springblade.mocha.mapper.BusinessPointsItemMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="businessPointsItemResultMap" type="org.springblade.mocha.entity.BusinessPointsItem">
+        <id column="id" property="id"/>
+        <result column="pid" property="pid"/>
+        <result column="src_id" property="srcId"/>
+        <result column="src_pid" property="srcPid"/>
+        <result column="order_no" property="orderNo"/>
+        <result column="bill_no" property="billNo"/>
+        <result column="points" property="points"/>
+        <result column="points_type" property="pointsType"/>
+        <result column="remarks" property="remarks"/>
+        <result column="version" property="version"/>
+        <result column="create_user" property="createUser"/>
+        <result column="create_dept" property="createDept"/>
+        <result column="create_time" property="createTime"/>
+        <result column="update_user" property="updateUser"/>
+        <result column="update_time" property="updateTime"/>
+        <result column="status" property="status"/>
+        <result column="is_deleted" property="isDeleted"/>
+    </resultMap>
+
+
+    <select id="selectBusinessPointsItemPage" resultMap="businessPointsItemResultMap">
+        select * from business_points_item where is_deleted = 0
+    </select>
+
+</mapper>

+ 42 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/mapper/BusinessPointsMapper.java

@@ -0,0 +1,42 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.mapper;
+
+import org.springblade.mocha.entity.BusinessPoints;
+import org.springblade.mocha.vo.BusinessPointsVO;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import java.util.List;
+
+/**
+ * 客户积分主表 Mapper 接口
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+public interface BusinessPointsMapper extends BaseMapper<BusinessPoints> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param businessPoints
+	 * @return
+	 */
+	List<BusinessPointsVO> selectBusinessPointsPage(IPage page, BusinessPointsVO businessPoints);
+
+}

+ 29 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/mapper/BusinessPointsMapper.xml

@@ -0,0 +1,29 @@
+<?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="org.springblade.mocha.mapper.BusinessPointsMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="businessPointsResultMap" type="org.springblade.mocha.entity.BusinessPoints">
+        <id column="id" property="id"/>
+        <result column="corp_id" property="corpId"/>
+        <result column="corp_name" property="corpName"/>
+        <result column="in_points" property="inPoints"/>
+        <result column="out_points" property="outPoints"/>
+        <result column="balance_points" property="balancePoints"/>
+        <result column="remarks" property="remarks"/>
+        <result column="version" property="version"/>
+        <result column="create_user" property="createUser"/>
+        <result column="create_dept" property="createDept"/>
+        <result column="create_time" property="createTime"/>
+        <result column="update_user" property="updateUser"/>
+        <result column="update_time" property="updateTime"/>
+        <result column="status" property="status"/>
+        <result column="is_deleted" property="isDeleted"/>
+    </resultMap>
+
+
+    <select id="selectBusinessPointsPage" resultMap="businessPointsResultMap">
+        select * from business_points where is_deleted = 0
+    </select>
+
+</mapper>

+ 41 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/service/IBusinessOverpaymentItemService.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.service;
+
+import org.springblade.mocha.entity.BusinessOverpaymentItem;
+import org.springblade.mocha.vo.BusinessOverpaymentItemVO;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ * 溢付款明细表 服务类
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+public interface IBusinessOverpaymentItemService extends IService<BusinessOverpaymentItem> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param businessOverpaymentItem
+	 * @return
+	 */
+	IPage<BusinessOverpaymentItemVO> selectBusinessOverpaymentItemPage(IPage<BusinessOverpaymentItemVO> page, BusinessOverpaymentItemVO businessOverpaymentItem);
+
+}

+ 41 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/service/IBusinessOverpaymentService.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.service;
+
+import org.springblade.mocha.entity.BusinessOverpayment;
+import org.springblade.mocha.vo.BusinessOverpaymentVO;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ * 客户溢付款主表 服务类
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+public interface IBusinessOverpaymentService extends IService<BusinessOverpayment> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param businessOverpayment
+	 * @return
+	 */
+	IPage<BusinessOverpaymentVO> selectBusinessOverpaymentPage(IPage<BusinessOverpaymentVO> page, BusinessOverpaymentVO businessOverpayment);
+
+}

+ 41 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/service/IBusinessPointsItemService.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.service;
+
+import org.springblade.mocha.entity.BusinessPointsItem;
+import org.springblade.mocha.vo.BusinessPointsItemVO;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ * 积分明细表 服务类
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+public interface IBusinessPointsItemService extends IService<BusinessPointsItem> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param businessPointsItem
+	 * @return
+	 */
+	IPage<BusinessPointsItemVO> selectBusinessPointsItemPage(IPage<BusinessPointsItemVO> page, BusinessPointsItemVO businessPointsItem);
+
+}

+ 41 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/service/IBusinessPointsService.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.service;
+
+import org.springblade.mocha.entity.BusinessPoints;
+import org.springblade.mocha.vo.BusinessPointsVO;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ * 客户积分主表 服务类
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+public interface IBusinessPointsService extends IService<BusinessPoints> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param businessPoints
+	 * @return
+	 */
+	IPage<BusinessPointsVO> selectBusinessPointsPage(IPage<BusinessPointsVO> page, BusinessPointsVO businessPoints);
+
+}

+ 41 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/service/impl/BusinessOverpaymentItemServiceImpl.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.service.impl;
+
+import org.springblade.mocha.entity.BusinessOverpaymentItem;
+import org.springblade.mocha.vo.BusinessOverpaymentItemVO;
+import org.springblade.mocha.mapper.BusinessOverpaymentItemMapper;
+import org.springblade.mocha.service.IBusinessOverpaymentItemService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ * 溢付款明细表 服务实现类
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+@Service
+public class BusinessOverpaymentItemServiceImpl extends ServiceImpl<BusinessOverpaymentItemMapper, BusinessOverpaymentItem> implements IBusinessOverpaymentItemService {
+
+	@Override
+	public IPage<BusinessOverpaymentItemVO> selectBusinessOverpaymentItemPage(IPage<BusinessOverpaymentItemVO> page, BusinessOverpaymentItemVO businessOverpaymentItem) {
+		return page.setRecords(baseMapper.selectBusinessOverpaymentItemPage(page, businessOverpaymentItem));
+	}
+
+}

+ 41 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/service/impl/BusinessOverpaymentServiceImpl.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.service.impl;
+
+import org.springblade.mocha.entity.BusinessOverpayment;
+import org.springblade.mocha.vo.BusinessOverpaymentVO;
+import org.springblade.mocha.mapper.BusinessOverpaymentMapper;
+import org.springblade.mocha.service.IBusinessOverpaymentService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ * 客户溢付款主表 服务实现类
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+@Service
+public class BusinessOverpaymentServiceImpl extends ServiceImpl<BusinessOverpaymentMapper, BusinessOverpayment> implements IBusinessOverpaymentService {
+
+	@Override
+	public IPage<BusinessOverpaymentVO> selectBusinessOverpaymentPage(IPage<BusinessOverpaymentVO> page, BusinessOverpaymentVO businessOverpayment) {
+		return page.setRecords(baseMapper.selectBusinessOverpaymentPage(page, businessOverpayment));
+	}
+
+}

+ 41 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/service/impl/BusinessPointsItemServiceImpl.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.service.impl;
+
+import org.springblade.mocha.entity.BusinessPointsItem;
+import org.springblade.mocha.vo.BusinessPointsItemVO;
+import org.springblade.mocha.mapper.BusinessPointsItemMapper;
+import org.springblade.mocha.service.IBusinessPointsItemService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ * 积分明细表 服务实现类
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+@Service
+public class BusinessPointsItemServiceImpl extends ServiceImpl<BusinessPointsItemMapper, BusinessPointsItem> implements IBusinessPointsItemService {
+
+	@Override
+	public IPage<BusinessPointsItemVO> selectBusinessPointsItemPage(IPage<BusinessPointsItemVO> page, BusinessPointsItemVO businessPointsItem) {
+		return page.setRecords(baseMapper.selectBusinessPointsItemPage(page, businessPointsItem));
+	}
+
+}

+ 41 - 0
blade-service/blade-mocha-item/src/main/java/org/springblade/mocha/service/impl/BusinessPointsServiceImpl.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.mocha.service.impl;
+
+import org.springblade.mocha.entity.BusinessPoints;
+import org.springblade.mocha.vo.BusinessPointsVO;
+import org.springblade.mocha.mapper.BusinessPointsMapper;
+import org.springblade.mocha.service.IBusinessPointsService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ * 客户积分主表 服务实现类
+ *
+ * @author BladeX
+ * @since 2021-12-28
+ */
+@Service
+public class BusinessPointsServiceImpl extends ServiceImpl<BusinessPointsMapper, BusinessPoints> implements IBusinessPointsService {
+
+	@Override
+	public IPage<BusinessPointsVO> selectBusinessPointsPage(IPage<BusinessPointsVO> page, BusinessPointsVO businessPoints) {
+		return page.setRecords(baseMapper.selectBusinessPointsPage(page, businessPoints));
+	}
+
+}