|
@@ -24,58 +24,67 @@ public class CrmClueRespVO {
|
|
@ExcelProperty("编号")
|
|
@ExcelProperty("编号")
|
|
private Long id;
|
|
private Long id;
|
|
|
|
|
|
- @Schema(description = "转化状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
|
|
|
|
- @ExcelProperty(value = "转化状态", converter = DictConvert.class)
|
|
|
|
- @DictFormat(DictTypeConstants.BOOLEAN_STRING)
|
|
|
|
- private Boolean transformStatus;
|
|
|
|
|
|
+ @Schema(description = "线索名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "线索xxx")
|
|
|
|
+ @ExcelProperty("线索名称")
|
|
|
|
+ private String name;
|
|
|
|
|
|
@Schema(description = "跟进状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
|
|
@Schema(description = "跟进状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
|
|
@ExcelProperty(value = "跟进状态", converter = DictConvert.class)
|
|
@ExcelProperty(value = "跟进状态", converter = DictConvert.class)
|
|
@DictFormat(DictTypeConstants.BOOLEAN_STRING)
|
|
@DictFormat(DictTypeConstants.BOOLEAN_STRING)
|
|
private Boolean followUpStatus;
|
|
private Boolean followUpStatus;
|
|
|
|
|
|
- @Schema(description = "线索名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "线索xxx")
|
|
|
|
- @ExcelProperty("线索名称")
|
|
|
|
- private String name;
|
|
|
|
-
|
|
|
|
- @Schema(description = "客户 id", requiredMode = Schema.RequiredMode.REQUIRED, example = "520")
|
|
|
|
- // TODO 这里需要导出成客户名称
|
|
|
|
- @ExcelProperty("客户id")
|
|
|
|
- private Long customerId;
|
|
|
|
|
|
+ @Schema(description = "最后跟进时间")
|
|
|
|
+ @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
|
|
+ @ExcelProperty("最后跟进时间")
|
|
|
|
+ private LocalDateTime contactLastTime;
|
|
|
|
|
|
@Schema(description = "下次联系时间", example = "2023-10-18 01:00:00")
|
|
@Schema(description = "下次联系时间", example = "2023-10-18 01:00:00")
|
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
@ExcelProperty("下次联系时间")
|
|
@ExcelProperty("下次联系时间")
|
|
private LocalDateTime contactNextTime;
|
|
private LocalDateTime contactNextTime;
|
|
|
|
|
|
- @Schema(description = "电话", example = "18000000000")
|
|
|
|
- @ExcelProperty("电话")
|
|
|
|
- private String telephone;
|
|
|
|
|
|
+ @Schema(description = "负责人编号")
|
|
|
|
+ @ExcelProperty("负责人的用户编号")
|
|
|
|
+ // TODO 这里需要导出成负责人的名字
|
|
|
|
+ private Long ownerUserId;
|
|
|
|
+
|
|
|
|
+ @Schema(description = "转化状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
|
|
|
|
+ @ExcelProperty(value = "转化状态", converter = DictConvert.class)
|
|
|
|
+ @DictFormat(DictTypeConstants.BOOLEAN_STRING)
|
|
|
|
+ private Boolean transformStatus;
|
|
|
|
+
|
|
|
|
+ @Schema(description = "客户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "520")
|
|
|
|
+ // TODO 这里需要导出成客户名称
|
|
|
|
+ @ExcelProperty("客户编号")
|
|
|
|
+ private Long customerId;
|
|
|
|
|
|
@Schema(description = "手机号", example = "18000000000")
|
|
@Schema(description = "手机号", example = "18000000000")
|
|
@ExcelProperty("手机号")
|
|
@ExcelProperty("手机号")
|
|
private String mobile;
|
|
private String mobile;
|
|
|
|
|
|
- @Schema(description = "地址", example = "北京市海淀区")
|
|
|
|
- @ExcelProperty("地址")
|
|
|
|
- private String address;
|
|
|
|
|
|
+ @Schema(description = "电话", example = "18000000000")
|
|
|
|
+ @ExcelProperty("电话")
|
|
|
|
+ private String telephone;
|
|
|
|
|
|
- @Schema(description = "负责人编号")
|
|
|
|
- @ExcelProperty("负责人的用户编号")
|
|
|
|
- private Long ownerUserId;
|
|
|
|
|
|
+ @Schema(description = "网址", example = "25682")
|
|
|
|
+ @ExcelProperty("网址")
|
|
|
|
+ private String website;
|
|
|
|
|
|
- @Schema(description = "最后跟进时间")
|
|
|
|
- @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
|
|
- @ExcelProperty("最后跟进时间")
|
|
|
|
- private LocalDateTime contactLastTime;
|
|
|
|
|
|
+ @Schema(description = "QQ", example = "25682")
|
|
|
|
+ @ExcelProperty("QQ")
|
|
|
|
+ private String qq;
|
|
|
|
|
|
- @Schema(description = "备注", example = "随便")
|
|
|
|
- @ExcelProperty("备注")
|
|
|
|
- private String remark;
|
|
|
|
|
|
+ @Schema(description = "wechat", example = "25682")
|
|
|
|
+ @ExcelProperty("wechat")
|
|
|
|
+ private String wechat;
|
|
|
|
|
|
- @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
|
- @ExcelProperty("创建时间")
|
|
|
|
- private LocalDateTime createTime;
|
|
|
|
|
|
+ @Schema(description = "email", example = "25682")
|
|
|
|
+ @ExcelProperty("email")
|
|
|
|
+ private String email;
|
|
|
|
+
|
|
|
|
+ @Schema(description = "地址", example = "北京市海淀区")
|
|
|
|
+ @ExcelProperty("地址")
|
|
|
|
+ private String address;
|
|
|
|
|
|
@Schema(description = "所属行业", requiredMode = Schema.RequiredMode.REQUIRED, example = "13563")
|
|
@Schema(description = "所属行业", requiredMode = Schema.RequiredMode.REQUIRED, example = "13563")
|
|
@ExcelProperty(value = "所属行业", converter = DictConvert.class)
|
|
@ExcelProperty(value = "所属行业", converter = DictConvert.class)
|
|
@@ -92,24 +101,16 @@ public class CrmClueRespVO {
|
|
@DictFormat(cn.iocoder.yudao.module.crm.enums.DictTypeConstants.CRM_CUSTOMER_SOURCE)
|
|
@DictFormat(cn.iocoder.yudao.module.crm.enums.DictTypeConstants.CRM_CUSTOMER_SOURCE)
|
|
private Integer source;
|
|
private Integer source;
|
|
|
|
|
|
- @Schema(description = "网址", example = "25682")
|
|
|
|
- @ExcelProperty("网址")
|
|
|
|
- private String website;
|
|
|
|
-
|
|
|
|
- @Schema(description = "QQ", example = "25682")
|
|
|
|
- @ExcelProperty("QQ")
|
|
|
|
- private String qq;
|
|
|
|
-
|
|
|
|
- @Schema(description = "wechat", example = "25682")
|
|
|
|
- @ExcelProperty("wechat")
|
|
|
|
- private String wechat;
|
|
|
|
-
|
|
|
|
- @Schema(description = "email", example = "25682")
|
|
|
|
- @ExcelProperty("email")
|
|
|
|
- private String email;
|
|
|
|
-
|
|
|
|
@Schema(description = "客户描述", example = "25682")
|
|
@Schema(description = "客户描述", example = "25682")
|
|
@ExcelProperty("客户描述")
|
|
@ExcelProperty("客户描述")
|
|
private String description;
|
|
private String description;
|
|
|
|
|
|
|
|
+ @Schema(description = "备注", example = "随便")
|
|
|
|
+ @ExcelProperty("备注")
|
|
|
|
+ private String remark;
|
|
|
|
+
|
|
|
|
+ @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
|
+ @ExcelProperty("创建时间")
|
|
|
|
+ private LocalDateTime createTime;
|
|
|
|
+
|
|
}
|
|
}
|