123
This commit is contained in:
@@ -2,6 +2,7 @@ package com.ruoyi.cai.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.ruoyi.cai.enums.account.AccountChangeCodeEnum;
|
||||
import lombok.Data;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
|
||||
@@ -34,6 +35,9 @@ public class AccountChangeLog implements Serializable {
|
||||
* 蜜瓜号
|
||||
*/
|
||||
private String usercode;
|
||||
private Long tarUserId;
|
||||
private String tarParam;
|
||||
private String tarImg;
|
||||
/**
|
||||
* 账户类型 1-余额 2-收益
|
||||
*/
|
||||
@@ -70,4 +74,14 @@ public class AccountChangeLog implements Serializable {
|
||||
|
||||
private LocalDateTime createTime;
|
||||
|
||||
|
||||
public void init(AccountChangeCodeEnum change){
|
||||
this.setAccountType(change.getAccountType().getCode());
|
||||
this.setCateId(change.getCate().getCode());
|
||||
this.setCateAppName(change.getText());
|
||||
this.setCateAdminName(change.getText());
|
||||
this.setTraceLinkType(change.getCate().name());
|
||||
this.setRemark(change.getDesc());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user