7 changed files with 112 additions and 8 deletions
-
63src/main/java/com/example/demo/domain/entity/BeanConsumeCart.java
-
34src/main/java/com/example/demo/domain/vo/bean/BeanConsumeCartVo.java
-
2src/main/java/com/example/demo/mapper/bean/BeanConsumeMapper.java
-
4src/main/java/com/example/demo/serviceImpl/bean/BeanConsumeServiceImpl.java
-
6src/main/java/com/example/demo/serviceImpl/cash/CashCollectionServiceImpl.java
-
2src/main/resources/cashMapper/CashCollectionMapper.xml
-
7src/main/resources/jindouMapper/BeanConsumeMapper.xml
@ -0,0 +1,63 @@ |
|||||
|
package com.example.demo.domain.entity; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; |
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.time.LocalDateTime; |
||||
|
|
||||
|
/** |
||||
|
* @program: gold-java |
||||
|
* @ClassName BeanConsumeCart |
||||
|
* @description: |
||||
|
* @author: Ethan |
||||
|
* @create: 2025−11-20 10:28 |
||||
|
* @Version 1.0 |
||||
|
**/ |
||||
|
@Data |
||||
|
@NoArgsConstructor |
||||
|
@JsonIgnoreProperties(ignoreUnknown = true) |
||||
|
public class BeanConsumeCart { |
||||
|
private Integer id; |
||||
|
private String nickname; // 姓名 |
||||
|
private String phone; // 电话 |
||||
|
private Integer jwcode; // 精网号 |
||||
|
private Integer productId; // 产品 ID |
||||
|
private BigDecimal totalMoney; // 应付金额 |
||||
|
private BigDecimal money; // 实际付款金额 |
||||
|
private BigDecimal coupon; // 优惠券金额 |
||||
|
private String tradeNo; // 订单号 |
||||
|
private Integer payWay; // 1微信 2支付宝 3金币 4金豆 |
||||
|
private Integer payType; // 1一次支付 2多次支付 |
||||
|
private String payAccount; // 收款账户 |
||||
|
private Integer pid; // 关联的订单 |
||||
|
private Integer type; // 1全款 2定金 3尾款 |
||||
|
private Integer state; // 1新订单 2成功支付 3取消支付 4退款 5多笔支付支付进行中 |
||||
|
private String liveName; // 直播间名称 |
||||
|
private Integer liveId; // 直播间 id |
||||
|
private Integer channelId; // 频道 id |
||||
|
private Integer classId; // 班级 ID |
||||
|
private String sourceName; // 班级或频道名称 |
||||
|
private Integer platform; // 1 app 2 h5 |
||||
|
private Integer devicePlatform; // 1 pc 2 手机 |
||||
|
private String demo; // 备用字段 |
||||
|
private Integer from; // 1直播间 2crm |
||||
|
private Integer teacherJwcode; // 讲师标识 |
||||
|
private String teacherName; // 讲师名字 |
||||
|
private String oaAccount; // 班主任标识 |
||||
|
private String oaName; // 班主任名字 |
||||
|
private String anchorMark; // 号主标识 |
||||
|
private String anchorName; // 号主名称 |
||||
|
private String transactionId; // 支付成功第三方交易号 |
||||
|
private String transactionNo; // 备用交易号 |
||||
|
private Integer productVersion; // 1半年 2终免 |
||||
|
private Integer autoUpdate; // 是否同步过 0否 1是 |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai") |
||||
|
private LocalDateTime createdAt; |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai") |
||||
|
private LocalDateTime updatedAt; |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai") |
||||
|
private LocalDateTime tradeTime; // 支付成功时间 |
||||
|
} |
||||
@ -0,0 +1,34 @@ |
|||||
|
package com.example.demo.domain.vo.bean; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; |
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.time.LocalDateTime; |
||||
|
|
||||
|
/** |
||||
|
* @program: gold-java |
||||
|
* @ClassName BeanConsumeCartVo |
||||
|
* @description: |
||||
|
* @author: Ethan |
||||
|
* @create: 2025−11-20 15:41 |
||||
|
* @Version 1.0 |
||||
|
**/ |
||||
|
@Data |
||||
|
@NoArgsConstructor |
||||
|
@JsonIgnoreProperties(ignoreUnknown = true) |
||||
|
public class BeanConsumeCartVo { |
||||
|
private Integer id; |
||||
|
private String nickname; // 姓名 |
||||
|
private Integer jwcode; // 精网号 |
||||
|
private Integer productId; // 产品 ID |
||||
|
private String productName; //产品名称 |
||||
|
private String market; //用户地区 |
||||
|
private BigDecimal totalMoney; // 应付金额 |
||||
|
private String liveName; // 直播间名称 |
||||
|
private String sourceName; // 班级或频道名称 |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai") |
||||
|
private LocalDateTime tradeTime; // 支付成功时间 |
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue