Commit 81ec732b authored by Smile's avatar Smile

会员等级操作日志

parent 9ba3d0a1
...@@ -5,6 +5,11 @@ import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; ...@@ -5,6 +5,11 @@ import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
/** /**
* @author Smile * @author Smile
...@@ -30,6 +35,10 @@ public class MemberUserLevelOperateLogBackVO { ...@@ -30,6 +35,10 @@ public class MemberUserLevelOperateLogBackVO {
@ApiModelProperty(value = "备注") @ApiModelProperty(value = "备注")
private String remarks; private String remarks;
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
@ApiModelProperty(value = "创建时间", required = true)
private Date createTime;
@ApiModelProperty(value = "操作类型,1-升级 2-降级 3-修改", required = true) @ApiModelProperty(value = "操作类型,1-升级 2-降级 3-修改", required = true)
private Integer operateType; private Integer operateType;
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
mulol.member_id as memberId, mulol.member_id as memberId,
mulol.operator as operator, mulol.operator as operator,
mulol.remarks as remarks, mulol.remarks as remarks,
mulol.create_time as createTime,
mulol.`level` as level, mulol.`level` as level,
mulol.operate_type as operateType mulol.operate_type as operateType
FROM member_user_level_operate_log mulol FROM member_user_level_operate_log mulol
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment