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 | 1 | package cn.iocoder.yudao.module.crm.dal.dataobject.customer; |
| 2 | 2 | |
| 3 | 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 | 5 | import lombok.*; |
| 8 | 6 | |
| 9 | 7 | /** |
| ... | ... | @@ -33,18 +31,22 @@ public class CrmCustomerPoolConfigDO extends BaseDO { |
| 33 | 31 | /** |
| 34 | 32 | * 未跟进放入公海天数 |
| 35 | 33 | */ |
| 34 | + @TableField(updateStrategy = FieldStrategy.ALWAYS) | |
| 36 | 35 | private Integer contactExpireDays; |
| 37 | 36 | /** |
| 38 | 37 | * 未成交放入公海天数 |
| 39 | 38 | */ |
| 39 | + @TableField(updateStrategy = FieldStrategy.ALWAYS) | |
| 40 | 40 | private Integer dealExpireDays; |
| 41 | 41 | /** |
| 42 | 42 | * 是否开启提前提醒 |
| 43 | 43 | */ |
| 44 | + @TableField(updateStrategy = FieldStrategy.ALWAYS) | |
| 44 | 45 | private Boolean notifyEnabled; |
| 45 | 46 | /** |
| 46 | 47 | * 提前提醒天数 |
| 47 | 48 | */ |
| 49 | + @TableField(updateStrategy = FieldStrategy.ALWAYS) | |
| 48 | 50 | private Integer notifyDays; |
| 49 | 51 | |
| 50 | 52 | } | ... | ... |