xiaoyong931011
2022-11-11 e87cd6e99ee1993541badeae4c792db0c34b6cd4
src/main/java/cc/mrbird/febs/dapp/entity/DappAccountMoneyChangeEntity.java
@@ -35,11 +35,41 @@
        this.setVersion(1);
    }
    public DappAccountMoneyChangeEntity(Long memberId, BigDecimal preAmount, BigDecimal amount, BigDecimal afterAmount, String content, Integer type,Long orderId) {
        this.memberId = memberId;
        this.preAmount = preAmount;
        this.amount = amount;
        this.afterAmount = afterAmount;
        this.content = content;
        this.type = type;
        this.orderId = orderId;
        this.setCreateBy("system");
        this.setUpdateBy("system");
        this.setCreateTime(new Date());
        this.setUpdateTime(new Date());
        this.setVersion(1);
    }
    public DappAccountMoneyChangeEntity(Long memberId,BigDecimal amount, String content, Integer type) {
        this.memberId = memberId;
        this.amount = amount;
        this.content = content;
        this.type = type;
        this.setCreateBy("system");
        this.setUpdateBy("system");
        this.setCreateTime(new Date());
        this.setUpdateTime(new Date());
        this.setVersion(1);
    }
    public DappAccountMoneyChangeEntity(Long memberId,BigDecimal amount, String content, Integer type,Long orderId) {
        this.memberId = memberId;
        this.amount = amount;
        this.content = content;
        this.type = type;
        this.orderId = orderId;
        this.setCreateBy("system");
        this.setUpdateBy("system");
@@ -62,6 +92,8 @@
    private Long memberId;
    private Long orderId;
    private BigDecimal preAmount;
    private BigDecimal amount;