Commit fbf864b6b400606ec4a8b616b3362b3043984c54
1 parent
033f13c6
fix: 修复客户公海配置设置为不启用时保存字段没有清空的 bug
Showing
1 changed file
with
5 additions
and
3 deletions
yudao-module-crm/yudao-module-crm-biz/src/main/java/cn/iocoder/yudao/module/crm/dal/dataobject/customer/CrmCustomerPoolConfigDO.java
| 1 | package cn.iocoder.yudao.module.crm.dal.dataobject.customer; | 1 | package cn.iocoder.yudao.module.crm.dal.dataobject.customer; |
| 2 | 2 | ||
| 3 | import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO; | 3 | import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO; |
| 4 | -import com.baomidou.mybatisplus.annotation.KeySequence; | ||
| 5 | -import com.baomidou.mybatisplus.annotation.TableId; | ||
| 6 | -import com.baomidou.mybatisplus.annotation.TableName; | 4 | +import com.baomidou.mybatisplus.annotation.*; |
| 7 | import lombok.*; | 5 | import lombok.*; |
| 8 | 6 | ||
| 9 | /** | 7 | /** |
| @@ -33,18 +31,22 @@ public class CrmCustomerPoolConfigDO extends BaseDO { | @@ -33,18 +31,22 @@ public class CrmCustomerPoolConfigDO extends BaseDO { | ||
| 33 | /** | 31 | /** |
| 34 | * 未跟进放入公海天数 | 32 | * 未跟进放入公海天数 |
| 35 | */ | 33 | */ |
| 34 | + @TableField(updateStrategy = FieldStrategy.ALWAYS) | ||
| 36 | private Integer contactExpireDays; | 35 | private Integer contactExpireDays; |
| 37 | /** | 36 | /** |
| 38 | * 未成交放入公海天数 | 37 | * 未成交放入公海天数 |
| 39 | */ | 38 | */ |
| 39 | + @TableField(updateStrategy = FieldStrategy.ALWAYS) | ||
| 40 | private Integer dealExpireDays; | 40 | private Integer dealExpireDays; |
| 41 | /** | 41 | /** |
| 42 | * 是否开启提前提醒 | 42 | * 是否开启提前提醒 |
| 43 | */ | 43 | */ |
| 44 | + @TableField(updateStrategy = FieldStrategy.ALWAYS) | ||
| 44 | private Boolean notifyEnabled; | 45 | private Boolean notifyEnabled; |
| 45 | /** | 46 | /** |
| 46 | * 提前提醒天数 | 47 | * 提前提醒天数 |
| 47 | */ | 48 | */ |
| 49 | + @TableField(updateStrategy = FieldStrategy.ALWAYS) | ||
| 48 | private Integer notifyDays; | 50 | private Integer notifyDays; |
| 49 | 51 | ||
| 50 | } | 52 | } |