init
This commit is contained in:
@@ -48,6 +48,7 @@ public class AccountChangeLog implements Serializable {
|
||||
* 名称
|
||||
*/
|
||||
private String cateAdminName;
|
||||
private Integer changeType;
|
||||
private Long traceId;
|
||||
private String traceLinkType;
|
||||
/**
|
||||
@@ -76,6 +77,7 @@ public class AccountChangeLog implements Serializable {
|
||||
|
||||
public void init(AccountChangeCodeEnum change){
|
||||
this.setAccountType(change.getAccountType().getCode());
|
||||
this.setChangeType(change.getCode());
|
||||
this.setCateId(change.getCate().getCode());
|
||||
this.setCateAdminName(change.getText());
|
||||
this.setTraceLinkType(change.getCate().name());
|
||||
|
||||
Reference in New Issue
Block a user