Commit f17caac1 authored by yanghao's avatar yanghao

chore: 客户跟进bug修复

parent ea80b86b
...@@ -92,6 +92,7 @@ DROP TABLE IF EXISTS `ecw_customer_followup`; ...@@ -92,6 +92,7 @@ DROP TABLE IF EXISTS `ecw_customer_followup`;
CREATE TABLE `ecw_customer_followup` ( CREATE TABLE `ecw_customer_followup` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键', `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
`number` varchar(64) NULL DEFAULT NULL COMMENT '编号', `number` varchar(64) NULL DEFAULT NULL COMMENT '编号',
`parent_id` bigint NULL DEFAULT NULL COMMENT '上一级跟进单ID',
`parent_number` varchar(64) NULL DEFAULT NULL COMMENT '上一级跟进单号', `parent_number` varchar(64) NULL DEFAULT NULL COMMENT '上一级跟进单号',
`status` int NULL DEFAULT NULL COMMENT '状态 字典customer_followup_status', `status` int NULL DEFAULT NULL COMMENT '状态 字典customer_followup_status',
`customer_id` bigint NULL DEFAULT NULL COMMENT '客户编号', `customer_id` bigint NULL DEFAULT NULL COMMENT '客户编号',
......
package cn.iocoder.yudao.module.customer.dal.dataobject.customerFollowup; package cn.iocoder.yudao.module.customer.dal.dataobject.customerFollowup;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.annotation.*;
...@@ -28,6 +29,10 @@ public class CustomerFollowupDO extends BaseDO { ...@@ -28,6 +29,10 @@ public class CustomerFollowupDO extends BaseDO {
* 编号 * 编号
*/ */
private String number; private String number;
/**
* 上一级跟进id
*/
private Long parentId;
/** /**
* 上一级跟进单号 * 上一级跟进单号
*/ */
...@@ -102,4 +107,6 @@ public class CustomerFollowupDO extends BaseDO { ...@@ -102,4 +107,6 @@ public class CustomerFollowupDO extends BaseDO {
@TableField(exist = false) @TableField(exist = false)
private String updaterName; private String updaterName;
@TableField(exist = false)
private String followUserName;
} }
...@@ -95,6 +95,10 @@ public class CustomerFollowupBackVO { ...@@ -95,6 +95,10 @@ public class CustomerFollowupBackVO {
private String parentNumber; private String parentNumber;
@ApiModelProperty(value = "上一级跟进单ID")
private String parentId;
@ExcelProperty(value = "提交状态", converter = DictConvert.class) @ExcelProperty(value = "提交状态", converter = DictConvert.class)
@DictFormat("customer_followup_status") @DictFormat("customer_followup_status")
@ApiModelProperty(value = "状态 字典customer_followup_status") @ApiModelProperty(value = "状态 字典customer_followup_status")
......
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