fix: 修复客户公海配置设置为不启用时保存字段没有清空的 bug

This commit is contained in:
Wanwan 2023-11-26 02:00:23 +08:00
parent 033f13c6ad
commit fbf864b6b4

View File

@ -1,9 +1,7 @@
package cn.iocoder.yudao.module.crm.dal.dataobject.customer; package cn.iocoder.yudao.module.crm.dal.dataobject.customer;
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.*; import lombok.*;
/** /**
@ -33,18 +31,22 @@ public class CrmCustomerPoolConfigDO extends BaseDO {
/** /**
* 未跟进放入公海天数 * 未跟进放入公海天数
*/ */
@TableField(updateStrategy = FieldStrategy.ALWAYS)
private Integer contactExpireDays; private Integer contactExpireDays;
/** /**
* 未成交放入公海天数 * 未成交放入公海天数
*/ */
@TableField(updateStrategy = FieldStrategy.ALWAYS)
private Integer dealExpireDays; private Integer dealExpireDays;
/** /**
* 是否开启提前提醒 * 是否开启提前提醒
*/ */
@TableField(updateStrategy = FieldStrategy.ALWAYS)
private Boolean notifyEnabled; private Boolean notifyEnabled;
/** /**
* 提前提醒天数 * 提前提醒天数
*/ */
@TableField(updateStrategy = FieldStrategy.ALWAYS)
private Integer notifyDays; private Integer notifyDays;
} }