Commit 8152f2ec authored by honghy's avatar honghy Committed by wux

【后台-会员等级-修改】有些字段更新值不成功

parent 81aba34f
package cn.iocoder.yudao.module.member.dal.dataobject.level;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
......@@ -50,6 +52,7 @@ public class MemberUserLevelConfigDO extends BaseDO {
/**
* 等级有效期(数字正整数或为空)
*/
@TableField(updateStrategy = FieldStrategy.IGNORED)
private Integer validityPeriod;
/**
* 积分累计周期(数字正整数或为空)
......@@ -58,6 +61,7 @@ public class MemberUserLevelConfigDO extends BaseDO {
/**
* 积分累计开始日期(时间选择框,时间选择,不需要日期,可为空)
*/
@TableField(updateStrategy = FieldStrategy.IGNORED)
private Date startDate;
/**
* 启用日期
......@@ -70,6 +74,7 @@ public class MemberUserLevelConfigDO extends BaseDO {
/**
* 等级规则有效期结束时间(时间选择框,结束时间可不填写,代表长期有效)
*/
@TableField(updateStrategy = FieldStrategy.IGNORED)
private Date endTime;
/**
* 等级说明
......
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