解决字典数据编辑颜色清空不能保存问题

pull/2/head
shizhong 2023-04-14 22:15:50 +08:00
parent 27c5b5f369
commit 206b5a5e47
1 changed files with 2 additions and 3 deletions

View File

@ -2,9 +2,7 @@ package cn.iocoder.yudao.module.system.dal.dataobject.dict;
import cn.iocoder.yudao.framework.common.enums.CommonStatusEnum; import cn.iocoder.yudao.framework.common.enums.CommonStatusEnum;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO; import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence; import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
@ -57,6 +55,7 @@ public class DictDataDO extends BaseDO {
/** /**
* css * css
*/ */
@TableField(updateStrategy = FieldStrategy.IGNORED)
private String cssClass; private String cssClass;
/** /**
* *