
19 changed files with 900 additions and 14 deletions
@ -0,0 +1,67 @@ |
|||
package com.yxt.customer.biz.crmcustomer; |
|||
|
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-crm(客户管理) <br/> |
|||
* File: CrmCustomerTempQuery.java <br/> |
|||
* Class: com.yxt.anrui.crm.api.crmcustomertemp.CrmCustomerTempQuery <br/> |
|||
* Description: 潜在客户信息 查询条件. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-01-12 11:21:16 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@ApiModel(value = "潜在客户信息 查询条件", description = "潜在客户信息 查询条件") |
|||
@Data |
|||
public class CrmCustomerTempQuery implements Query { |
|||
|
|||
@ApiModelProperty(value = "组织全路径") |
|||
private String orgSidPath; |
|||
|
|||
@ApiModelProperty("客户类型key(自然人/法人)") |
|||
private String customerTypeKey; |
|||
|
|||
@ApiModelProperty("客户级别(意向客户/准客户/成交客户/集团内销/黑名单客户)") |
|||
private String levelKey; |
|||
|
|||
@ApiModelProperty("客户名称") |
|||
private String name; |
|||
|
|||
@ApiModelProperty("联系电话") |
|||
private String mobile; |
|||
|
|||
@ApiModelProperty("提醒开始日期") |
|||
private String remindStartDay; |
|||
|
|||
@ApiModelProperty("提醒结束日期") |
|||
private String remindEndDay; |
|||
|
|||
@ApiModelProperty("业务员sid") |
|||
private String staffSid; |
|||
|
|||
@ApiModelProperty("用户sid") |
|||
private String userSid; |
|||
|
|||
@ApiModelProperty("客户sid") |
|||
private List<String> customerSidList; |
|||
|
|||
@ApiModelProperty("创建开始日期") |
|||
private String createStartDate; |
|||
|
|||
@ApiModelProperty("创建结束日期") |
|||
private String createEndDate; |
|||
|
|||
@ApiModelProperty("销售专员") |
|||
private String staffName; |
|||
|
|||
} |
@ -0,0 +1,192 @@ |
|||
package com.yxt.customer.biz.crmcustomer; |
|||
|
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* Project: anrui-crm(客户管理) <br/> |
|||
* File: CrmCustomerTempVo.java <br/> |
|||
* Class: com.yxt.anrui.crm.api.crmcustomertemp.CrmCustomerTempVo <br/> |
|||
* Description: 潜在客户信息 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-01-12 11:21:16 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@ApiModel(value = "潜在客户信息 视图数据对象", description = "潜在客户信息 视图数据对象") |
|||
@Data |
|||
public class CrmCustomerTempVo implements Vo { |
|||
|
|||
@ApiModelProperty("潜在客户sid") |
|||
private String sid; |
|||
|
|||
@ApiModelProperty("分公司名称") |
|||
private String createOrgName; |
|||
|
|||
@ApiModelProperty("业务员名称") |
|||
private String staffName; |
|||
|
|||
@ApiModelProperty("部门名称") |
|||
private String deptName; |
|||
|
|||
@ApiModelProperty("创建人sid") |
|||
private String createBySid; |
|||
|
|||
@ApiModelProperty("登记日期") |
|||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
|||
private Date createTime; |
|||
|
|||
@ApiModelProperty("客户编号(部门编码+客户类型(1位,0个人,1企业)+部门内部流水号(6位))") |
|||
private String customerNo; |
|||
|
|||
@ApiModelProperty("客户类型(自然人/法人)") |
|||
private String customerType; |
|||
|
|||
@ApiModelProperty("客户类型key") |
|||
private String customerTypeKey; |
|||
|
|||
@ApiModelProperty("客户分类(个人:司机/个体老板/其他。企业:企业型客户/一级经销商/二级经销商/终端物流客户)") |
|||
private String customerClass; |
|||
|
|||
@ApiModelProperty("客户分类key") |
|||
private String customerClassKey; |
|||
|
|||
@ApiModelProperty("客户来源(公司资源/自主开发/交接客户/转介绍客户/集团内销)") |
|||
private String source; |
|||
|
|||
@ApiModelProperty("客户来源key") |
|||
private String sourceKey; |
|||
|
|||
@ApiModelProperty("客户级别(意向客户/准客户/成交客户/集团内销/黑名单客户)") |
|||
private String level; |
|||
|
|||
@ApiModelProperty("客户级别key") |
|||
private String levelKey; |
|||
|
|||
@ApiModelProperty("客户名称") |
|||
private String name; |
|||
|
|||
@ApiModelProperty("证件类型key") |
|||
private String certificateTypeKey; |
|||
|
|||
@ApiModelProperty("证件类型(个人为身份证/企业为营业执照)") |
|||
private String certificateType; |
|||
|
|||
@ApiModelProperty("证件号码(个人为身份证号/企业为统一社会信用代码)") |
|||
private String IDNumber; |
|||
|
|||
@ApiModelProperty("证件有效期") |
|||
private String endDate; |
|||
|
|||
@ApiModelProperty("行政区划代码(省)") |
|||
private String address_province; |
|||
|
|||
@ApiModelProperty("行政区划代码(市)") |
|||
private String address_city; |
|||
|
|||
@ApiModelProperty("行政区划代码(县)") |
|||
private String address_county; |
|||
|
|||
@ApiModelProperty("省") |
|||
private String province; |
|||
|
|||
@ApiModelProperty("市") |
|||
private String city; |
|||
|
|||
@ApiModelProperty("县") |
|||
private String county; |
|||
|
|||
@ApiModelProperty("客户地址") |
|||
private String address; |
|||
|
|||
@ApiModelProperty("邮编") |
|||
private String zipCode; |
|||
|
|||
@ApiModelProperty("电子邮箱") |
|||
private String e_mail; |
|||
|
|||
@ApiModelProperty("联系人") |
|||
private String contacts; |
|||
|
|||
@ApiModelProperty("联系电话") |
|||
private String mobile; |
|||
|
|||
@ApiModelProperty("紧急联系电话") |
|||
private String emergencyContact; |
|||
|
|||
@ApiModelProperty("紧急联系电话") |
|||
private String emergencyMobile; |
|||
|
|||
@ApiModelProperty("微信号码") |
|||
private String weixin; |
|||
|
|||
@ApiModelProperty("业务人员sid") |
|||
private String staffSid; |
|||
|
|||
@ApiModelProperty("创建组织sid") |
|||
private String createOrgSid; |
|||
|
|||
@ApiModelProperty("性别") |
|||
private String sex; |
|||
|
|||
@ApiModelProperty("性别key") |
|||
private String sexKey; |
|||
|
|||
@ApiModelProperty("客户生日") |
|||
private String birthday; |
|||
|
|||
@ApiModelProperty("所在公司名称") |
|||
private String companyName; |
|||
|
|||
@ApiModelProperty("跟进状态key") |
|||
private String follow_state_key; |
|||
|
|||
@ApiModelProperty("跟进状态") |
|||
private String follow_state; |
|||
|
|||
@ApiModelProperty("是否开启提醒key(1开启,0不开启)") |
|||
private String isOnRemindkey; |
|||
|
|||
@ApiModelProperty("是否开启提醒(1开启,0不开启)") |
|||
private String isOnRemind; |
|||
|
|||
@ApiModelProperty("提醒日期") |
|||
private String remind_day; |
|||
|
|||
@ApiModelProperty("提醒备注") |
|||
private String remind_remark; |
|||
|
|||
@ApiModelProperty("客户头像") |
|||
private String customerPhoto; |
|||
|
|||
@ApiModelProperty("见面方式key") |
|||
private String visitWayKey; |
|||
|
|||
@ApiModelProperty("见面方式(到店/电话/拜访)") |
|||
private String visitWay; |
|||
|
|||
@ApiModelProperty("备注") |
|||
private String remarks; |
|||
|
|||
@ApiModelProperty("意向车型数量") |
|||
private String yxcounts; |
|||
|
|||
@ApiModelProperty("跟进记录数量") |
|||
private String gjcounts; |
|||
|
|||
|
|||
|
|||
private String useOrgSid; |
|||
private String customerOrgSid; |
|||
private String customerOrgName; |
|||
|
|||
} |
@ -0,0 +1,62 @@ |
|||
package com.yxt.customer.biz.crmfile; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: anrui-base(安瑞基础信息模块) <br/> |
|||
* File: CommonAppendixVo.java <br/> |
|||
* Class: com.yxt.anrui.base.api.commonappendix.CommonAppendixVo <br/> |
|||
* Description: 公共附件表 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2021-10-28 08:59:25 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@ApiModel(value = "公共附件表 视图数据对象", description = "公共附件表 视图数据对象") |
|||
@Data |
|||
public class CommonAppendixVo implements Vo { |
|||
|
|||
@ApiModelProperty("sid") |
|||
private String sid; |
|||
|
|||
@ApiModelProperty("上传人姓名") |
|||
private String name; |
|||
|
|||
@ApiModelProperty("文件名") |
|||
private String fileName; |
|||
|
|||
@ApiModelProperty("文件类型") |
|||
private String fileType; |
|||
|
|||
@ApiModelProperty("关联业务对象sid") |
|||
private String linkSid; |
|||
|
|||
@ApiModelProperty("附件类型") |
|||
private String attachType; |
|||
|
|||
@ApiModelProperty("文件大小") |
|||
private String fileSize; |
|||
|
|||
@ApiModelProperty("文件的路径") |
|||
private String filePath; |
|||
|
|||
@ApiModelProperty("文件的路径") |
|||
private String fileUrl; |
|||
|
|||
@ApiModelProperty("备注") |
|||
private String remarks; |
|||
|
|||
@ApiModelProperty("上传人sid") |
|||
private String createBySid; |
|||
|
|||
@ApiModelProperty("上传时间") |
|||
// @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|||
private String createTime; |
|||
} |
@ -0,0 +1,85 @@ |
|||
package com.yxt.customer.biz.crmfile; |
|||
|
|||
/** |
|||
* @Author dimengzhe |
|||
* @Date 2022/2/12 10:13 |
|||
* @Description 附件类型枚举 |
|||
*/ |
|||
public enum CommonAttachTypeEnum { |
|||
/** |
|||
* 附件类型: |
|||
* 1、0001:合同, |
|||
* 2、0002:人行征信, |
|||
* 3、0003:开票申请附件, |
|||
* 4、0004:跟进记录的材料 |
|||
* 5、0005:家访照片 |
|||
* 6、0006_1:贷款人证明文_担保人人行征信查询授权书(原件) |
|||
* 7、0006_2:贷款人证明文_贷款人人行征信查询授权书(手持) |
|||
* 8、0006_3:贷款人证明文_配偶人行征信查询授权书(原件) |
|||
* 9、0006_4:贷款人证明文_配偶人行征信查询授权书(手持) |
|||
* 10、0006_5:贷款人证明文_配偶数据查询授权书 |
|||
* 11、0006_6:贷款人证明文_征信查询报告(有效期:3个月以内) |
|||
* 12、0006_7:贷款人证明文_贷款人及配偶居住证明 |
|||
* 13、0007_1:担保人文件_担保人人行征信查询授权书(原件) |
|||
* 14、0007_2:担保人文件_担保人人行征信查询授权书(手持) |
|||
* 15、0008:资产证明 |
|||
* 16、0009_01:放款文件_家访照片 |
|||
* 17、0009_02:放款文件_交车照片 |
|||
* 18、0009_03:放款文件_车辆合格证 |
|||
* 19、0009_04:放款文件_挂车合格证 |
|||
* 20、0009_05:放款文件_新车全车照片 |
|||
* 21、0009_06:放款文件_挂车照片 |
|||
* 22、0009_07:放款文件_新车发动机号照片 |
|||
* 23、0009_08:放款文件_新车车架号照片 |
|||
* 24、0009_09:放款文件_挂车车架号照片 |
|||
* 25、0009_10:放款文件_放款文件其它资料 |
|||
* 26、0009_11:放款文件_首付款证明 |
|||
*/ |
|||
CONTRACT("0001", "合同"), |
|||
CONTRACT_UPLOAD("0001_1", "合同下载"), |
|||
CREDIT("0002", "人行征信"), |
|||
INVOICE("0003", "开票申请附件"), |
|||
INVOICE_KHKPSQS("0003_1", "客户开票申请书"), |
|||
INVOICE_CLDJHT("0003_2", "车辆登记合同"), |
|||
INVOICE_KPXXQRS("0003_3", "开票信息确认书"), |
|||
WITNESS("0004", "跟进记录的材料"), |
|||
ADVANCE_GIN("0005", "提前开票附件"), |
|||
ADVANCE_KHKPSQS("0005_1", "客户开票申请书"), |
|||
ADVANCE_CLDJHT("0005_2", "车辆登记合同"), |
|||
ADVANCE_KPXXQRS("0005_3", "开票信息确认书"), |
|||
CUSTOMER_FILE("0006", "客户资料附件"), |
|||
ARREARS("0007", "欠款提车附件"), |
|||
SCENESIGN("0008", "现场签署附件"), |
|||
PAYMENT_VOUCHER("0009", "打款凭证附件"), |
|||
REMITTAN_CECONFIRMATION("0010", "汇款确认书附件"), |
|||
SEAL_APPLY("0011", "盖章附件"), |
|||
BILL_APPLICAYION("0012", "开票申请附件"), |
|||
MANUFACTOR_SUB("0013", "厂商认款附件"), |
|||
MANUFACTOR_RETWARE("0014", "厂家退库车辆附件"), |
|||
SHUNTINGINVOICINAPPLY("0015", "调车开票附件"), |
|||
OUTSOURCINGAPPLY("0016", "外采申请附件"), |
|||
INBOUNDAPPLY("0017", "入账申请附件"), |
|||
VEHBUYBLANK("0018", "车辆买断附件"); |
|||
/** |
|||
* 附件类型 |
|||
*/ |
|||
private final String attachType; |
|||
|
|||
/** |
|||
* 代号 |
|||
*/ |
|||
private final String mark; |
|||
|
|||
CommonAttachTypeEnum(String attachType, String mark) { |
|||
this.attachType = attachType; |
|||
this.mark = mark; |
|||
} |
|||
|
|||
public String getAttachType() { |
|||
return attachType; |
|||
} |
|||
|
|||
public String getMark() { |
|||
return mark; |
|||
} |
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.yxt.customer.biz.crmfile; |
|||
|
|||
import com.yxt.common.core.dto.Dto; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @Description |
|||
* @Author liuguohui |
|||
* @Date 2021/11/22 |
|||
*/ |
|||
@Data |
|||
public class PcCommonAppendixDto implements Dto { |
|||
|
|||
private static final long serialVersionUID = 2211027947432178940L; |
|||
@ApiModelProperty("上传人sid") |
|||
private String createBySid; |
|||
@ApiModelProperty("上传人") |
|||
private String name; |
|||
@ApiModelProperty("文件名") |
|||
private String fileName; |
|||
@ApiModelProperty("文件类型") |
|||
private String fileType; |
|||
@ApiModelProperty("文件大小") |
|||
private String fileSize; |
|||
@ApiModelProperty("文件的路径") |
|||
private String filePath; |
|||
} |
Loading…
Reference in new issue