Commit d90afc74 authored by Smile's avatar Smile Committed by wux

会员等级修改时页面等级无变化问题修改

parent 77aed268
......@@ -65,7 +65,7 @@ public class MemberUserLevelDetailsController {
if (configDO == null) {
return error(ErrorCodeConstants.LEVEL_RULE_NOT_EXISTS);
}
if(configDO.getLevel().equals(reqVO.getLevel())){
if(!configDO.getLevel().equals(reqVO.getLevel())){
memberUserLevelDetailsDO.setConfigId(null);
}
}
......
package cn.iocoder.yudao.module.member.dal.dataobject.memberUserLevelDetail;
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.*;
......@@ -24,6 +26,7 @@ public class MemberUserLevelDetailsDO extends BaseDO {
@TableId
private Long id;
@TableField(updateStrategy = FieldStrategy.IGNORED)
private Long configId;
private Long memberId;
......
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