
81 changed files with 0 additions and 2654 deletions
@ -1,54 +0,0 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" |
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
||||
|
|
||||
<!-- <parent>--> |
|
||||
<!-- <groupId>com.yxt.supervise</groupId>--> |
|
||||
<!-- <artifactId>supervise-crm</artifactId>--> |
|
||||
<!-- <version>0.0.1</version>--> |
|
||||
<!-- </parent>--> |
|
||||
<parent> |
|
||||
<groupId>com.yxt</groupId> |
|
||||
<artifactId>yxt-parent</artifactId> |
|
||||
<version>0.0.1</version> |
|
||||
<relativePath/> |
|
||||
</parent> |
|
||||
<modelVersion>4.0.0</modelVersion> |
|
||||
|
|
||||
<artifactId>supervise-crm-api</artifactId> |
|
||||
<groupId>com.yxt.supervise</groupId> |
|
||||
<version>0.0.1-SNAPSHOT</version> |
|
||||
|
|
||||
<dependencies> |
|
||||
<dependency> |
|
||||
<groupId>com.yxt</groupId> |
|
||||
<artifactId>yxt-common-core</artifactId> |
|
||||
<version>0.0.1</version> |
|
||||
</dependency> |
|
||||
<dependency> |
|
||||
<groupId>org.springframework.cloud</groupId> |
|
||||
<artifactId>spring-cloud-starter-openfeign</artifactId> |
|
||||
</dependency> |
|
||||
<dependency> |
|
||||
<groupId>org.projectlombok</groupId> |
|
||||
<artifactId>lombok</artifactId> |
|
||||
<version>1.18.24</version> |
|
||||
<optional>true</optional> |
|
||||
</dependency> |
|
||||
|
|
||||
</dependencies> |
|
||||
|
|
||||
<distributionManagement> |
|
||||
<repository> |
|
||||
<id>nexus-releases</id> |
|
||||
<url>http://172.18.0.3:8081/repository/yxt-mvn-releases/</url> |
|
||||
</repository> |
|
||||
<snapshotRepository> |
|
||||
<id>nexus-snapshots</id> |
|
||||
<url>http://172.18.0.3:8081/repository/yxt-mvn-snapshot/</url> |
|
||||
</snapshotRepository> |
|
||||
</distributionManagement> |
|
||||
|
|
||||
|
|
||||
</project> |
|
@ -1,25 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.bankmanager; |
|
||||
|
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
|
||||
import com.yxt.common.core.domain.BaseEntity; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 9:40 |
|
||||
*/ |
|
||||
@Data |
|
||||
@ApiModel(value = "银行联系人信息", description = "银行联系人信息") |
|
||||
@TableName("bank_manager") |
|
||||
public class BankManager extends BaseEntity { |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String name; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
@ApiModelProperty("职务") |
|
||||
private String post; |
|
||||
@ApiModelProperty("银行sid") |
|
||||
private String bankSid; |
|
||||
} |
|
@ -1,34 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.bankmanager; |
|
||||
|
|
||||
import com.yxt.common.core.vo.Vo; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 9:40 |
|
||||
*/ |
|
||||
@Data |
|
||||
@ApiModel(value = "银行联系人信息 视图数据详情", description = "银行联系人信息 视图数据详情") |
|
||||
public class BankManagerDetailsVo implements Vo { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String lockVersion; |
|
||||
private String createTime; |
|
||||
private String modifyTime; |
|
||||
private String isEnable; |
|
||||
private String state; |
|
||||
private String isDeletec; |
|
||||
private String remarks; |
|
||||
private String createBySid; |
|
||||
private String updateBySid; |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String name; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
@ApiModelProperty("职务") |
|
||||
private String post; |
|
||||
@ApiModelProperty("银行sid") |
|
||||
private String bankSid; |
|
||||
} |
|
@ -1,34 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.bankmanager; |
|
||||
|
|
||||
import com.yxt.common.core.dto.Dto; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 9:41 |
|
||||
*/ |
|
||||
@ApiModel(value = "银行联系人信息 数据传输对象", description = "银行联系人信息 数据传输对象") |
|
||||
@Data |
|
||||
public class BankManagerDto implements Dto { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String lockVersion; |
|
||||
private String createTime; |
|
||||
private String modifyTime; |
|
||||
private String isEnable; |
|
||||
private String state; |
|
||||
private String isDeletec; |
|
||||
private String remarks; |
|
||||
private String createBySid; |
|
||||
private String updateBySid; |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String name; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
@ApiModelProperty("职务") |
|
||||
private String post; |
|
||||
@ApiModelProperty("银行sid") |
|
||||
private String bankSid; |
|
||||
} |
|
@ -1,18 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.bankmanager; |
|
||||
|
|
||||
import com.yxt.supervise.crm.api.loanbankinformation.LoanBankInformationFeignFallback; |
|
||||
import io.swagger.annotations.Api; |
|
||||
import org.springframework.cloud.openfeign.FeignClient; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 9:41 |
|
||||
*/ |
|
||||
@Api(tags = "银行联系人信息") |
|
||||
@FeignClient( |
|
||||
contextId = "supervise-crm-BankManager", |
|
||||
name = "supervise-crm", |
|
||||
path = "v1/bankmanager", |
|
||||
fallback = LoanBankInformationFeignFallback.class) |
|
||||
public interface BankManagerFeign { |
|
||||
} |
|
@ -1,11 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.bankmanager; |
|
||||
|
|
||||
import org.springframework.stereotype.Component; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 9:41 |
|
||||
*/ |
|
||||
@Component |
|
||||
public class BankManagerFeignFallback implements BankManagerFeign{ |
|
||||
} |
|
@ -1,34 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.bankmanager; |
|
||||
|
|
||||
import com.yxt.common.core.query.Query; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 9:41 |
|
||||
*/ |
|
||||
@ApiModel(value = "银行联系人信息 查询条件", description = "银行联系人信息 查询条件") |
|
||||
@Data |
|
||||
public class BankManagerQuery implements Query { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String lockVersion; |
|
||||
private String createTime; |
|
||||
private String modifyTime; |
|
||||
private String isEnable; |
|
||||
private String state; |
|
||||
private String isDeletec; |
|
||||
private String remarks; |
|
||||
private String createBySid; |
|
||||
private String updateBySid; |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String name; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
@ApiModelProperty("职务") |
|
||||
private String post; |
|
||||
@ApiModelProperty("银行sid") |
|
||||
private String bankSid; |
|
||||
} |
|
@ -1,34 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.bankmanager; |
|
||||
|
|
||||
import com.yxt.common.core.vo.Vo; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 9:41 |
|
||||
*/ |
|
||||
@ApiModel(value = "银行联系人信息 视图数据对象", description = "银行联系人信息 视图数据对象") |
|
||||
@Data |
|
||||
public class BankManagerVo implements Vo { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String lockVersion; |
|
||||
private String createTime; |
|
||||
private String modifyTime; |
|
||||
private String isEnable; |
|
||||
private String state; |
|
||||
private String isDeletec; |
|
||||
private String remarks; |
|
||||
private String createBySid; |
|
||||
private String updateBySid; |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String name; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
@ApiModelProperty("职务") |
|
||||
private String post; |
|
||||
@ApiModelProperty("银行sid") |
|
||||
private String bankSid; |
|
||||
} |
|
@ -1,22 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.crmcustomertemp; |
|
||||
|
|
||||
import com.yxt.common.core.dto.Dto; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
import java.util.ArrayList; |
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* @Author dimengzhe |
|
||||
* @Date 2022/11/16 11:56 |
|
||||
* @Description |
|
||||
*/ |
|
||||
@Data |
|
||||
public class CrmCustomerFileDDto implements Dto { |
|
||||
private static final long serialVersionUID = -5399631895644837616L; |
|
||||
|
|
||||
private String userSid; |
|
||||
private String customerSid; |
|
||||
|
|
||||
private List<String> idImages = new ArrayList<>(); |
|
||||
} |
|
@ -1,144 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.crmcustomertemp; |
|
||||
|
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
|
||||
import com.yxt.common.core.domain.BaseEntity; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
@ApiModel(value = "潜在客户信息", description = "潜在客户信息") |
|
||||
@TableName("crm_customer_temp") |
|
||||
@Data |
|
||||
public class CrmCustomerTemp extends BaseEntity { |
|
||||
private static final long serialVersionUID = 1L; |
|
||||
|
|
||||
|
|
||||
@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; |
|
||||
} |
|
@ -1,117 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.crmcustomertemp; |
|
||||
import com.yxt.common.core.dto.Dto; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
import javax.validation.constraints.NotBlank; |
|
||||
import java.util.List; |
|
||||
|
|
||||
@ApiModel(value = "潜在客户信息 数据传输对象", description = "潜在客户信息 数据传输对象") |
|
||||
@Data |
|
||||
public class CrmCustomerTempDto implements Dto { |
|
||||
|
|
||||
private static final long serialVersionUID = 793474187074718535L; |
|
||||
|
|
||||
@ApiModelProperty(value = "当前登录用户的sid") |
|
||||
private String userSid; |
|
||||
|
|
||||
@ApiModelProperty(value = "客户类型(1个人/2企业)", required = true) |
|
||||
@NotBlank(message = "客户类型为必选项") |
|
||||
private String customerType; |
|
||||
|
|
||||
@ApiModelProperty(value = "客户类型key", required = true) |
|
||||
@NotBlank(message = "客户类型为必选项") |
|
||||
private String customerTypeKey; |
|
||||
|
|
||||
@ApiModelProperty(value = "见面方式key", required = true) |
|
||||
@NotBlank(message = "见面方式为必选项") |
|
||||
private String visitWayKey; |
|
||||
|
|
||||
@ApiModelProperty(value = "见面方式(到店/电话/拜访)", required = true) |
|
||||
@NotBlank(message = "见面方式为必选项") |
|
||||
private String visitWay; |
|
||||
|
|
||||
@ApiModelProperty(value = "客户名称", required = true) |
|
||||
@NotBlank(message = "客户名称为必填项") |
|
||||
private String name; |
|
||||
|
|
||||
@ApiModelProperty("联系电话") |
|
||||
@NotBlank(message = "联系电话为必填项") |
|
||||
private String mobile; |
|
||||
|
|
||||
@ApiModelProperty("微信号码") |
|
||||
private String weixin; |
|
||||
|
|
||||
@ApiModelProperty("公司名称:个人客户时显示") |
|
||||
private String companyName; |
|
||||
|
|
||||
@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 level; |
|
||||
@ApiModelProperty("客户级别key") |
|
||||
private String levelKey; |
|
||||
@ApiModelProperty("是否开启提醒(1开启,0不开启)") |
|
||||
private String isOnRemindkey; |
|
||||
@ApiModelProperty("是否开启提醒(1开启,0不开启)") |
|
||||
private String isOnRemind; |
|
||||
@ApiModelProperty("提醒日期") |
|
||||
private String remind_day; |
|
||||
@ApiModelProperty("提醒备注") |
|
||||
private String remind_remark; |
|
||||
//更多信息
|
|
||||
@ApiModelProperty("客户生日:个人客户时显示") |
|
||||
private String birthday; |
|
||||
@ApiModelProperty("性别:个人客户时显示") |
|
||||
private String sex; |
|
||||
@ApiModelProperty("性别key:个人客户时") |
|
||||
private String sexKey; |
|
||||
@ApiModelProperty("证件类型key") |
|
||||
private String certificateTypeKey; |
|
||||
@ApiModelProperty("证件类型(个人为身份证/企业为营业执照)") |
|
||||
private String certificateType; |
|
||||
@ApiModelProperty("证件号码(个人为身份证号/企业为统一社会信用代码)") |
|
||||
private String IDNumber; |
|
||||
@ApiModelProperty("证件有效期") |
|
||||
private String endDate; |
|
||||
@ApiModelProperty("电子邮箱") |
|
||||
private String e_mail; |
|
||||
@ApiModelProperty(value = "联系人") |
|
||||
private String contacts; |
|
||||
@ApiModelProperty("紧急联系人") |
|
||||
private String emergencyContact; |
|
||||
|
|
||||
@ApiModelProperty("紧急联系电话") |
|
||||
private String emergencyMobile; |
|
||||
|
|
||||
@ApiModelProperty("客户来源(公司资源/自主开发/交接客户/转介绍客户/集团内销)") |
|
||||
private String source; |
|
||||
|
|
||||
@ApiModelProperty("客户来源key") |
|
||||
private String sourceKey; |
|
||||
@ApiModelProperty("客户分类(个人:司机/个体老板/其他。企业:企业型客户/一级经销商/二级经销商/终端物流客户)") |
|
||||
private String customerClass; |
|
||||
@ApiModelProperty("客户分类key") |
|
||||
private String customerClassKey; |
|
||||
@ApiModelProperty(value = "备注") |
|
||||
private String remarks; |
|
||||
@ApiModelProperty("业务人员sid") |
|
||||
private String staffSid; |
|
||||
|
|
||||
|
|
||||
} |
|
@ -1,86 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.crmcustomertemp; |
|
||||
|
|
||||
import com.yxt.common.core.query.PagerQuery; |
|
||||
import com.yxt.common.core.result.ResultBean; |
|
||||
import com.yxt.common.core.vo.PagerVo; |
|
||||
import io.swagger.annotations.Api; |
|
||||
import io.swagger.annotations.ApiOperation; |
|
||||
import org.springframework.cloud.openfeign.FeignClient; |
|
||||
import org.springframework.web.bind.annotation.*; |
|
||||
|
|
||||
import javax.validation.Valid; |
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* Project: supervise-crm(客户管理) <br/> |
|
||||
* File: CrmCustomerTempFeign.java <br/> |
|
||||
* Class: com.yxt.supervise.crm.api.crmcustomertemp.CrmCustomerTempFeign <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 |
|
||||
*/ |
|
||||
@Api(tags = "潜在客户信息") |
|
||||
@FeignClient( |
|
||||
contextId = "supervise-crm-CrmCustomerTemp", |
|
||||
name = "supervise-crm", |
|
||||
path = "v1/crmcustomertemp", |
|
||||
fallback = CrmCustomerTempFeignFallback.class) |
|
||||
public interface CrmCustomerTempFeign { |
|
||||
|
|
||||
/** |
|
||||
* 潜在客户管理的分页查询 |
|
||||
* |
|
||||
* @param pq |
|
||||
* @return |
|
||||
*/ |
|
||||
@ApiOperation("根据条件分页查询数据的列表") |
|
||||
@PostMapping("/listPage") |
|
||||
public ResultBean<PagerVo<CrmCustomerTempVo>> listPage(@RequestBody PagerQuery<CrmCustomerTempQuery> pq); |
|
||||
|
|
||||
/** |
|
||||
* pc端潜在客户新增保存 |
|
||||
* |
|
||||
* @param dto 客户信息及运行信息数据传输对象 |
|
||||
* @return |
|
||||
*/ |
|
||||
@ApiOperation("新增保存") |
|
||||
@PostMapping("/save") |
|
||||
public ResultBean save(@Valid @RequestBody CrmCustomerTempDto dto); |
|
||||
|
|
||||
/** |
|
||||
* pc端潜在客户编辑保存 |
|
||||
* |
|
||||
* @param dto 数据传输对象 |
|
||||
* @param sid 潜在客户sid |
|
||||
* @return |
|
||||
*/ |
|
||||
@ApiOperation("修改保存") |
|
||||
@PostMapping("/update/{sid}") |
|
||||
public ResultBean update(@RequestBody CrmCustomerTempUpdateDto dto, @PathVariable("sid") String sid); |
|
||||
|
|
||||
/** |
|
||||
* pc潜在客户的批量删除 |
|
||||
* |
|
||||
* @param sid |
|
||||
* @return |
|
||||
*/ |
|
||||
@ApiOperation("删除记录") |
|
||||
@DeleteMapping("/del") |
|
||||
public ResultBean del(@RequestBody String[] sid); |
|
||||
|
|
||||
/** |
|
||||
* pc潜在客户的编辑回显 |
|
||||
* |
|
||||
* @param sid |
|
||||
* @return |
|
||||
*/ |
|
||||
@ApiOperation("获取一条记录") |
|
||||
@GetMapping("/fetchSid/{sid}") |
|
||||
public ResultBean<CrmCustomerTempVo> fetchSid(@PathVariable("sid") String sid); |
|
||||
|
|
||||
} |
|
@ -1,51 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.crmcustomertemp; |
|
||||
import com.yxt.common.core.query.PagerQuery; |
|
||||
import com.yxt.common.core.result.ResultBean; |
|
||||
import com.yxt.common.core.vo.PagerVo; |
|
||||
import org.springframework.stereotype.Component; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* Project: supervise-crm(客户管理) <br/> |
|
||||
* File: CrmCustomerTempFeignFallback.java <br/> |
|
||||
* Class: com.yxt.supervise.crm.api.crmcustomertemp.CrmCustomerTempFeignFallback <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 |
|
||||
*/ |
|
||||
@Component |
|
||||
public class CrmCustomerTempFeignFallback implements CrmCustomerTempFeign { |
|
||||
|
|
||||
|
|
||||
@Override |
|
||||
public ResultBean<PagerVo<CrmCustomerTempVo>> listPage(PagerQuery<CrmCustomerTempQuery> pq) { |
|
||||
return null; |
|
||||
} |
|
||||
|
|
||||
|
|
||||
@Override |
|
||||
public ResultBean save(CrmCustomerTempDto dto) { |
|
||||
return null; |
|
||||
} |
|
||||
|
|
||||
@Override |
|
||||
public ResultBean update(CrmCustomerTempUpdateDto dto, String sid) { |
|
||||
return null; |
|
||||
} |
|
||||
|
|
||||
@Override |
|
||||
public ResultBean del(String[] sid) { |
|
||||
return null; |
|
||||
} |
|
||||
|
|
||||
@Override |
|
||||
public ResultBean<CrmCustomerTempVo> fetchSid(String sid) { |
|
||||
return null; |
|
||||
} |
|
||||
} |
|
@ -1,20 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.crmcustomertemp; |
|
||||
|
|
||||
import com.yxt.common.core.query.Query; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @Author dimengzhe |
|
||||
* @Date 2022/9/26 14:30 |
|
||||
* @Description |
|
||||
*/ |
|
||||
@Data |
|
||||
public class CrmCustomerTempListQuery implements Query { |
|
||||
private static final long serialVersionUID = -8235453055415557265L; |
|
||||
|
|
||||
private String userSid; |
|
||||
private String staffSid; |
|
||||
@ApiModelProperty("组织机构全路径sid") |
|
||||
private String orgPath; |
|
||||
} |
|
@ -1,22 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.crmcustomertemp; |
|
||||
|
|
||||
import com.yxt.common.core.vo.Vo; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @Author dimengzhe |
|
||||
* @Date 2022/9/26 14:28 |
|
||||
* @Description |
|
||||
*/ |
|
||||
@Data |
|
||||
public class CrmCustomerTempListVo implements Vo { |
|
||||
private static final long serialVersionUID = 5338688085476236821L; |
|
||||
|
|
||||
private String name; |
|
||||
private String sid; |
|
||||
private String mobile; |
|
||||
@ApiModelProperty("客户编码") |
|
||||
private String customerNo; |
|
||||
|
|
||||
} |
|
@ -1,53 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.crmcustomertemp; |
|
||||
|
|
||||
|
|
||||
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: supervise-crm(客户管理) <br/> |
|
||||
* File: CrmCustomerTempQuery.java <br/> |
|
||||
* Class: com.yxt.supervise.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("客户类型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 List<String> customerSidList; |
|
||||
|
|
||||
} |
|
@ -1,32 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.crmcustomertemp; |
|
||||
|
|
||||
|
|
||||
import com.yxt.common.core.vo.Vo; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
import java.util.Date; |
|
||||
|
|
||||
/** |
|
||||
* Project: supervise-crm(客户管理) <br/> |
|
||||
* File: CrmCustomerTempVo.java <br/> |
|
||||
* Class: com.yxt.supervise.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 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class CrmCustomerTempToFin implements Vo { |
|
||||
|
|
||||
@ApiModelProperty("潜在客户sid") |
|
||||
private String sid; |
|
||||
@ApiModelProperty("客户名称") |
|
||||
private String name; |
|
||||
@ApiModelProperty("车架号") |
|
||||
private String vinNo; |
|
||||
} |
|
@ -1,109 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.crmcustomertemp; |
|
||||
|
|
||||
import com.yxt.common.core.dto.Dto; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
import javax.validation.constraints.NotBlank; |
|
||||
import javax.validation.constraints.Pattern; |
|
||||
|
|
||||
/** |
|
||||
* @Author dimengzhe |
|
||||
* @Date 2022/7/12 14:04 |
|
||||
* @Description |
|
||||
*/ |
|
||||
@Data |
|
||||
public class CrmCustomerTempUpdateDto implements Dto { |
|
||||
private static final long serialVersionUID = -1744083007571476652L; |
|
||||
|
|
||||
@ApiModelProperty(value = "当前登录用户的sid") |
|
||||
private String userSid; |
|
||||
|
|
||||
@ApiModelProperty(value = "客户类型(个人/企业)", required = true) |
|
||||
@NotBlank(message = "客户类型为必选项") |
|
||||
private String customerType; |
|
||||
|
|
||||
@ApiModelProperty(value = "客户类型key", required = true) |
|
||||
@NotBlank(message = "客户类型为必选项") |
|
||||
private String customerTypeKey; |
|
||||
|
|
||||
@ApiModelProperty(value = "见面方式key", required = true) |
|
||||
@NotBlank(message = "见面方式为必选项") |
|
||||
private String visitWayKey; |
|
||||
|
|
||||
@ApiModelProperty(value = "见面方式(到店/电话/拜访)", required = true) |
|
||||
@NotBlank(message = "见面方式为必选项") |
|
||||
private String visitWay; |
|
||||
|
|
||||
@ApiModelProperty(value = "客户名称", required = true) |
|
||||
@NotBlank(message = "客户名称为必填项") |
|
||||
private String name; |
|
||||
|
|
||||
@ApiModelProperty("联系电话") |
|
||||
@NotBlank(message = "联系电话为必填项") |
|
||||
@Pattern(regexp = "^((13[0-9])|(14[5,7])|(15[0-3,5-9])|(17[0,3,5-8])|(18[0-9])|166|198|199|(147))\\d{8}$", message = "手机号码格式不正确") |
|
||||
private String mobile; |
|
||||
|
|
||||
@ApiModelProperty("微信号码") |
|
||||
private String weixin; |
|
||||
|
|
||||
@ApiModelProperty("公司名称:个人客户时显示") |
|
||||
private String companyName; |
|
||||
|
|
||||
@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 level; |
|
||||
@ApiModelProperty("客户级别key") |
|
||||
private String levelKey; |
|
||||
//更多信息
|
|
||||
@ApiModelProperty("客户生日:个人客户时显示") |
|
||||
private String birthday; |
|
||||
@ApiModelProperty("性别:个人客户时显示") |
|
||||
private String sex; |
|
||||
@ApiModelProperty("性别key:个人客户时") |
|
||||
private String sexKey; |
|
||||
@ApiModelProperty("证件类型key") |
|
||||
private String certificateTypeKey; |
|
||||
@ApiModelProperty("证件类型(个人为身份证/企业为营业执照)") |
|
||||
private String certificateType; |
|
||||
@ApiModelProperty("证件号码(个人为身份证号/企业为统一社会信用代码)") |
|
||||
private String IDNumber; |
|
||||
@ApiModelProperty("证件有效期") |
|
||||
private String endDate; |
|
||||
@ApiModelProperty("电子邮箱") |
|
||||
private String e_mail; |
|
||||
@ApiModelProperty(value = "联系人") |
|
||||
private String contacts; |
|
||||
@ApiModelProperty("紧急联系人") |
|
||||
private String emergencyContact; |
|
||||
|
|
||||
@ApiModelProperty("紧急联系电话") |
|
||||
private String emergencyMobile; |
|
||||
|
|
||||
@ApiModelProperty("客户来源(公司资源/自主开发/交接客户/转介绍客户/集团内销)") |
|
||||
private String source; |
|
||||
|
|
||||
@ApiModelProperty("客户来源key") |
|
||||
private String sourceKey; |
|
||||
@ApiModelProperty("客户分类(个人:司机/个体老板/其他。企业:企业型客户/一级经销商/二级经销商/终端物流客户)") |
|
||||
private String customerClass; |
|
||||
@ApiModelProperty("客户分类key") |
|
||||
private String customerClassKey; |
|
||||
@ApiModelProperty(value = "备注") |
|
||||
private String remarks; |
|
||||
} |
|
@ -1,181 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.crmcustomertemp; |
|
||||
|
|
||||
|
|
||||
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; |
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* Project: supervise-crm(客户管理) <br/> |
|
||||
* File: CrmCustomerTempVo.java <br/> |
|
||||
* Class: com.yxt.supervise.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; |
|
||||
} |
|
@ -1,44 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.enterpriseinformation; |
|
||||
|
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
|
||||
import com.yxt.common.core.domain.BaseEntity; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 11:43 |
|
||||
*/ |
|
||||
@Data |
|
||||
@ApiModel(value = "企业信息", description = "企业信息") |
|
||||
@TableName("enterprise_information") |
|
||||
public class EnterpriseInformation extends BaseEntity { |
|
||||
@ApiModelProperty("企业名称") |
|
||||
private String enterpriseName; |
|
||||
@ApiModelProperty("企业简称") |
|
||||
private String enterpriseAbbreviation; |
|
||||
@ApiModelProperty("银行账户") |
|
||||
private String bankAccount; |
|
||||
@ApiModelProperty("账号") |
|
||||
private String accountNumber; |
|
||||
@ApiModelProperty("开户行") |
|
||||
private String openingBankName; |
|
||||
@ApiModelProperty("法人") |
|
||||
private String juridicalPerson; |
|
||||
@ApiModelProperty("营业执照号") |
|
||||
private String businessLicenseNumber; |
|
||||
@ApiModelProperty("地址") |
|
||||
private String address; |
|
||||
@ApiModelProperty("省") |
|
||||
private String province; |
|
||||
@ApiModelProperty("市") |
|
||||
private String city; |
|
||||
@ApiModelProperty("区") |
|
||||
private String county; |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String contacts; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
|
|
||||
} |
|
@ -1,43 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.enterpriseinformation; |
|
||||
|
|
||||
import com.yxt.common.core.vo.Vo; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 11:43 |
|
||||
*/ |
|
||||
@Data |
|
||||
@ApiModel(value = "企业信息 视图数据详情", description = "企业信息 视图数据详情") |
|
||||
public class EnterpriseInformationDetailsVo implements Vo { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
@ApiModelProperty("企业名称") |
|
||||
private String enterpriseName; |
|
||||
@ApiModelProperty("企业简称") |
|
||||
private String enterpriseAbbreviation; |
|
||||
@ApiModelProperty("银行账户") |
|
||||
private String bankAccount; |
|
||||
@ApiModelProperty("账号") |
|
||||
private String accountNumber; |
|
||||
@ApiModelProperty("开户行") |
|
||||
private String openingBankName; |
|
||||
@ApiModelProperty("法人") |
|
||||
private String juridicalPerson; |
|
||||
@ApiModelProperty("营业执照号") |
|
||||
private String businessLicenseNumber; |
|
||||
@ApiModelProperty("地址") |
|
||||
private String address; |
|
||||
@ApiModelProperty("省") |
|
||||
private String province; |
|
||||
@ApiModelProperty("市") |
|
||||
private String city; |
|
||||
@ApiModelProperty("区") |
|
||||
private String county; |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String contacts; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
} |
|
@ -1,43 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.enterpriseinformation; |
|
||||
|
|
||||
import com.yxt.common.core.dto.Dto; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 11:43 |
|
||||
*/ |
|
||||
@ApiModel(value = "企业信息 数据传输对象", description = "企业信息 数据传输对象") |
|
||||
@Data |
|
||||
public class EnterpriseInformationDto implements Dto { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
@ApiModelProperty("企业名称") |
|
||||
private String enterpriseName; |
|
||||
@ApiModelProperty("企业简称") |
|
||||
private String enterpriseAbbreviation; |
|
||||
@ApiModelProperty("银行账户") |
|
||||
private String bankAccount; |
|
||||
@ApiModelProperty("账号") |
|
||||
private String accountNumber; |
|
||||
@ApiModelProperty("开户行") |
|
||||
private String openingBankName; |
|
||||
@ApiModelProperty("法人") |
|
||||
private String juridicalPerson; |
|
||||
@ApiModelProperty("营业执照号") |
|
||||
private String businessLicenseNumber; |
|
||||
@ApiModelProperty("地址") |
|
||||
private String address; |
|
||||
@ApiModelProperty("省") |
|
||||
private String province; |
|
||||
@ApiModelProperty("市") |
|
||||
private String city; |
|
||||
@ApiModelProperty("区") |
|
||||
private String county; |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String contacts; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
} |
|
@ -1,18 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.enterpriseinformation; |
|
||||
|
|
||||
import com.yxt.supervise.crm.api.loanbankinformation.LoanBankInformationFeignFallback; |
|
||||
import io.swagger.annotations.Api; |
|
||||
import org.springframework.cloud.openfeign.FeignClient; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 11:44 |
|
||||
*/ |
|
||||
@Api(tags = "企业信息") |
|
||||
@FeignClient( |
|
||||
contextId = "supervise-crm-EnterpriseInformation", |
|
||||
name = "supervise-crm", |
|
||||
path = "v1/enterpriseinformation", |
|
||||
fallback = EnterpriseInformationFeignFallback.class) |
|
||||
public interface EnterpriseInformationFeign { |
|
||||
} |
|
@ -1,11 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.enterpriseinformation; |
|
||||
|
|
||||
import org.springframework.stereotype.Component; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 11:44 |
|
||||
*/ |
|
||||
@Component |
|
||||
public class EnterpriseInformationFeignFallback implements EnterpriseInformationFeign{ |
|
||||
} |
|
@ -1,43 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.enterpriseinformation; |
|
||||
|
|
||||
import com.yxt.common.core.query.Query; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 11:44 |
|
||||
*/ |
|
||||
@ApiModel(value = "企业信息 查询条件", description = "企业信息 查询条件") |
|
||||
@Data |
|
||||
public class EnterpriseInformationQuery implements Query { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
@ApiModelProperty("企业名称") |
|
||||
private String enterpriseName; |
|
||||
@ApiModelProperty("企业简称") |
|
||||
private String enterpriseAbbreviation; |
|
||||
@ApiModelProperty("银行账户") |
|
||||
private String bankAccount; |
|
||||
@ApiModelProperty("账号") |
|
||||
private String accountNumber; |
|
||||
@ApiModelProperty("开户行") |
|
||||
private String openingBankName; |
|
||||
@ApiModelProperty("法人") |
|
||||
private String juridicalPerson; |
|
||||
@ApiModelProperty("营业执照号") |
|
||||
private String businessLicenseNumber; |
|
||||
@ApiModelProperty("地址") |
|
||||
private String address; |
|
||||
@ApiModelProperty("省") |
|
||||
private String province; |
|
||||
@ApiModelProperty("市") |
|
||||
private String city; |
|
||||
@ApiModelProperty("区") |
|
||||
private String county; |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String contacts; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
} |
|
@ -1,43 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.enterpriseinformation; |
|
||||
|
|
||||
import com.yxt.common.core.vo.Vo; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 11:44 |
|
||||
*/ |
|
||||
@ApiModel(value = "企业信息 视图数据对象", description = "企业信息 视图数据对象") |
|
||||
@Data |
|
||||
public class EnterpriseInformationVo implements Vo { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
@ApiModelProperty("企业名称") |
|
||||
private String enterpriseName; |
|
||||
@ApiModelProperty("企业简称") |
|
||||
private String enterpriseAbbreviation; |
|
||||
@ApiModelProperty("银行账户") |
|
||||
private String bankAccount; |
|
||||
@ApiModelProperty("账号") |
|
||||
private String accountNumber; |
|
||||
@ApiModelProperty("开户行") |
|
||||
private String openingBankName; |
|
||||
@ApiModelProperty("法人") |
|
||||
private String juridicalPerson; |
|
||||
@ApiModelProperty("营业执照号") |
|
||||
private String businessLicenseNumber; |
|
||||
@ApiModelProperty("地址") |
|
||||
private String address; |
|
||||
@ApiModelProperty("省") |
|
||||
private String province; |
|
||||
@ApiModelProperty("市") |
|
||||
private String city; |
|
||||
@ApiModelProperty("区") |
|
||||
private String county; |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String contacts; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
} |
|
@ -1,18 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.enterpriseproject; |
|
||||
|
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
|
||||
import com.yxt.common.core.domain.BaseEntity; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/7/24 10:45 |
|
||||
*/ |
|
||||
@Data |
|
||||
@ApiModel(value = "企业项目关联", description = "企业项目关联") |
|
||||
@TableName("enterprise_project") |
|
||||
public class EnterpriseProject extends BaseEntity { |
|
||||
private String projectSid; |
|
||||
private String enterpriseSid; |
|
||||
} |
|
@ -1,21 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.enterpriseproject; |
|
||||
|
|
||||
import com.yxt.common.core.dto.Dto; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/7/24 10:46 |
|
||||
*/ |
|
||||
@ApiModel(value = "企业信息 数据传输对象", description = "企业信息 数据传输对象") |
|
||||
@Data |
|
||||
public class EnterpriseProjectDto implements Dto { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String projectSid; |
|
||||
private String enterpriseSid; |
|
||||
private List<String> enterpriseSids; |
|
||||
} |
|
@ -1,16 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.enterpriseproject; |
|
||||
|
|
||||
import com.yxt.common.core.query.Query; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/7/24 10:47 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class EnterpriseProjectQuery implements Query { |
|
||||
private String id; |
|
||||
private String ids; |
|
||||
private String projectSid; |
|
||||
private String enterpriseSid; |
|
||||
} |
|
@ -1,23 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.enterpriseproject; |
|
||||
|
|
||||
import com.yxt.common.core.vo.Vo; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/7/24 10:45 |
|
||||
*/ |
|
||||
@Data |
|
||||
|
|
||||
public class EnterpriseProjectVo implements Vo { |
|
||||
private String id; |
|
||||
private String ids; |
|
||||
private String projectSid; |
|
||||
private String enterpriseName; |
|
||||
private String enterpriseSid; |
|
||||
private String type="担保企业"; |
|
||||
private String telephone; |
|
||||
private String contacts; |
|
||||
|
|
||||
|
|
||||
} |
|
@ -1,17 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.industrydictionary; |
|
||||
|
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
|
||||
import com.yxt.common.core.domain.BaseEntity; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/25 9:34 |
|
||||
*/ |
|
||||
@Data |
|
||||
@ApiModel(value = "所属行业字典", description = "所属行业字典") |
|
||||
@TableName("industry_dictionary") |
|
||||
public class IndustryDictionary extends BaseEntity { |
|
||||
private String industryName; |
|
||||
} |
|
@ -1,17 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.industrydictionary; |
|
||||
|
|
||||
import com.yxt.common.core.vo.Vo; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/25 9:36 |
|
||||
*/ |
|
||||
@Data |
|
||||
@ApiModel(value = "所属行业字典 视图数据详情", description = "所属行业字典 视图数据详情") |
|
||||
public class IndustryDictionaryDetailsVo implements Vo { |
|
||||
private String industryName; |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
} |
|
@ -1,18 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.industrydictionary; |
|
||||
|
|
||||
import com.yxt.common.core.dto.Dto; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/25 9:36 |
|
||||
*/ |
|
||||
@ApiModel(value = "所属行业字典 数据传输对象", description = "所属行业字典 数据传输对象") |
|
||||
@Data |
|
||||
public class IndustryDictionaryDto implements Dto { |
|
||||
private String industryName; |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String remarks; |
|
||||
} |
|
@ -1,18 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.industrydictionary; |
|
||||
|
|
||||
import com.yxt.supervise.crm.api.warehouselocation.WarehouseLocationFeignFallback; |
|
||||
import io.swagger.annotations.Api; |
|
||||
import org.springframework.cloud.openfeign.FeignClient; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/25 9:36 |
|
||||
*/ |
|
||||
@Api(tags = "所属行业字典") |
|
||||
@FeignClient( |
|
||||
contextId = "supervise-crm-industrydictionary", |
|
||||
name = "supervise-crm", |
|
||||
path = "v1/industrydictionary", |
|
||||
fallback = IndustryDictionaryFeignFallback.class) |
|
||||
public interface IndustryDictionaryFeign { |
|
||||
} |
|
@ -1,11 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.industrydictionary; |
|
||||
|
|
||||
import org.springframework.stereotype.Component; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/25 9:37 |
|
||||
*/ |
|
||||
@Component |
|
||||
public class IndustryDictionaryFeignFallback { |
|
||||
} |
|
@ -1,17 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.industrydictionary; |
|
||||
|
|
||||
import com.yxt.common.core.query.Query; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/25 9:37 |
|
||||
*/ |
|
||||
@ApiModel(value = "所属行业字典 查询条件", description = "所属行业字典 查询条件") |
|
||||
@Data |
|
||||
public class IndustryDictionaryQuery implements Query { |
|
||||
private String industryName; |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
} |
|
@ -1,18 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.industrydictionary; |
|
||||
|
|
||||
import com.yxt.common.core.vo.Vo; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/25 9:37 |
|
||||
*/ |
|
||||
@ApiModel(value = "所属行业字典 视图数据对象", description = "所属行业字典 视图数据对象") |
|
||||
@Data |
|
||||
public class IndustryDictionaryVo implements Vo { |
|
||||
private String industryName; |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String remarks; |
|
||||
} |
|
@ -1,35 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.loanbankinformation; |
|
||||
|
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
|
||||
import com.yxt.common.core.domain.BaseEntity; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/11 16:04 |
|
||||
*/ |
|
||||
@Data |
|
||||
@ApiModel(value = "贷款银行信息", description = "贷款银行信息") |
|
||||
@TableName("loan_bank_information") |
|
||||
public class LoanBankInformation extends BaseEntity { |
|
||||
@ApiModelProperty("银行名称") |
|
||||
private String bankName; |
|
||||
@ApiModelProperty("银行简称") |
|
||||
private String bankAbbreviation; |
|
||||
@ApiModelProperty("地址") |
|
||||
private String address; |
|
||||
@ApiModelProperty("省") |
|
||||
private String province; |
|
||||
@ApiModelProperty("市") |
|
||||
private String city; |
|
||||
@ApiModelProperty("区") |
|
||||
private String county; |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String contacts; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
@ApiModelProperty("上级sid") |
|
||||
private String pSid; |
|
||||
} |
|
@ -1,37 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.loanbankinformation; |
|
||||
|
|
||||
import com.yxt.common.core.vo.Vo; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/11 16:07 |
|
||||
*/ |
|
||||
@Data |
|
||||
@ApiModel(value = "贷款银行信息 视图数据详情", description = "贷款银行信息 视图数据详情") |
|
||||
public class LoanBankInformationDetailsVo implements Vo { |
|
||||
@ApiModelProperty("id") |
|
||||
private Integer id; |
|
||||
@ApiModelProperty("sid") |
|
||||
private String sid; |
|
||||
@ApiModelProperty("银行名称") |
|
||||
private String bankName; |
|
||||
@ApiModelProperty("银行简称") |
|
||||
private String bankAbbreviation; |
|
||||
@ApiModelProperty("地址") |
|
||||
private String address; |
|
||||
@ApiModelProperty("省") |
|
||||
private String province; |
|
||||
@ApiModelProperty("市") |
|
||||
private String city; |
|
||||
@ApiModelProperty("区") |
|
||||
private String county; |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String contacts; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
@ApiModelProperty("上级sid") |
|
||||
private String pSid; |
|
||||
} |
|
@ -1,37 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.loanbankinformation; |
|
||||
|
|
||||
import com.yxt.common.core.dto.Dto; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/11 16:07 |
|
||||
*/ |
|
||||
@ApiModel(value = "贷款银行信息 数据传输对象", description = "贷款银行信息 数据传输对象") |
|
||||
@Data |
|
||||
public class LoanBankInformationDto implements Dto { |
|
||||
@ApiModelProperty("id") |
|
||||
private String id; |
|
||||
@ApiModelProperty("sid") |
|
||||
private String sid; |
|
||||
@ApiModelProperty("银行名称") |
|
||||
private String bankName; |
|
||||
@ApiModelProperty("银行简称") |
|
||||
private String bankAbbreviation; |
|
||||
@ApiModelProperty("地址") |
|
||||
private String address; |
|
||||
@ApiModelProperty("省") |
|
||||
private String province; |
|
||||
@ApiModelProperty("市") |
|
||||
private String city; |
|
||||
@ApiModelProperty("区") |
|
||||
private String county; |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String contacts; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
@ApiModelProperty("上级sid") |
|
||||
private String pSid; |
|
||||
} |
|
@ -1,29 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.loanbankinformation; |
|
||||
|
|
||||
import com.yxt.common.core.query.PagerQuery; |
|
||||
import com.yxt.common.core.result.ResultBean; |
|
||||
import com.yxt.common.core.vo.PagerVo; |
|
||||
import com.yxt.supervise.crm.api.loanbankinformation.LoanBankInformationFeignFallback; |
|
||||
import com.yxt.supervise.crm.api.loanbankinformation.LoanBankInformationQuery; |
|
||||
import com.yxt.supervise.crm.api.loanbankinformation.LoanBankInformationVo; |
|
||||
import io.swagger.annotations.Api; |
|
||||
import io.swagger.annotations.ApiOperation; |
|
||||
import org.springframework.cloud.openfeign.FeignClient; |
|
||||
import org.springframework.web.bind.annotation.PostMapping; |
|
||||
import org.springframework.web.bind.annotation.RequestBody; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/11 16:08 |
|
||||
*/ |
|
||||
@Api(tags = "贷款银行信息") |
|
||||
@FeignClient( |
|
||||
contextId = "supervise-crm-LoanBankInformation", |
|
||||
name = "supervise-crm", |
|
||||
path = "v1/loanbankinformation", |
|
||||
fallback = LoanBankInformationFeignFallback.class) |
|
||||
public interface LoanBankInformationFeign { |
|
||||
@ApiOperation("根据条件分页查询数据的列表") |
|
||||
@PostMapping("/listPage") |
|
||||
public ResultBean<PagerVo<LoanBankInformationVo>> listPage(@RequestBody PagerQuery<LoanBankInformationQuery> pq); |
|
||||
} |
|
@ -1,20 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.loanbankinformation; |
|
||||
|
|
||||
import com.yxt.common.core.query.PagerQuery; |
|
||||
import com.yxt.common.core.result.ResultBean; |
|
||||
import com.yxt.common.core.vo.PagerVo; |
|
||||
import com.yxt.supervise.crm.api.loanbankinformation.LoanBankInformationQuery; |
|
||||
import com.yxt.supervise.crm.api.loanbankinformation.LoanBankInformationVo; |
|
||||
import org.springframework.stereotype.Component; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/11 16:08 |
|
||||
*/ |
|
||||
@Component |
|
||||
public class LoanBankInformationFeignFallback implements LoanBankInformationFeign{ |
|
||||
@Override |
|
||||
public ResultBean<PagerVo<LoanBankInformationVo>> listPage(PagerQuery<LoanBankInformationQuery> pq) { |
|
||||
return null; |
|
||||
} |
|
||||
} |
|
@ -1,37 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.loanbankinformation; |
|
||||
|
|
||||
import com.yxt.common.core.query.Query; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/11 16:08 |
|
||||
*/ |
|
||||
@ApiModel(value = "贷款银行信息 查询条件", description = "贷款银行信息 查询条件") |
|
||||
@Data |
|
||||
public class LoanBankInformationQuery implements Query { |
|
||||
@ApiModelProperty("id") |
|
||||
private Integer id; |
|
||||
@ApiModelProperty("sid") |
|
||||
private String sid; |
|
||||
@ApiModelProperty("银行名称") |
|
||||
private String bankName; |
|
||||
@ApiModelProperty("银行简称") |
|
||||
private String bankAbbreviation; |
|
||||
@ApiModelProperty("地址") |
|
||||
private String address; |
|
||||
@ApiModelProperty("省") |
|
||||
private String province; |
|
||||
@ApiModelProperty("市") |
|
||||
private String city; |
|
||||
@ApiModelProperty("区") |
|
||||
private String county; |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String contacts; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
@ApiModelProperty("上级sid") |
|
||||
private String pSid; |
|
||||
} |
|
@ -1,44 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.loanbankinformation; |
|
||||
|
|
||||
import com.yxt.common.core.vo.Vo; |
|
||||
import com.yxt.supervise.crm.api.bankmanager.BankManager; |
|
||||
import com.yxt.supervise.crm.api.bankmanager.BankManagerVo; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/11 16:08 |
|
||||
*/ |
|
||||
@ApiModel(value = "贷款银行信息 视图数据对象", description = "贷款银行信息 视图数据对象") |
|
||||
@Data |
|
||||
public class LoanBankInformationVo implements Vo { |
|
||||
@ApiModelProperty("id") |
|
||||
private Integer id; |
|
||||
@ApiModelProperty("sid") |
|
||||
private String sid; |
|
||||
@ApiModelProperty("银行名称") |
|
||||
private String bankName; |
|
||||
@ApiModelProperty("银行简称") |
|
||||
private String bankAbbreviation; |
|
||||
@ApiModelProperty("地址") |
|
||||
private String address; |
|
||||
@ApiModelProperty("省") |
|
||||
private String province; |
|
||||
@ApiModelProperty("市") |
|
||||
private String city; |
|
||||
@ApiModelProperty("区") |
|
||||
private String county; |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String contacts; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
@ApiModelProperty("上级sid") |
|
||||
private String pSid; |
|
||||
//下级银行
|
|
||||
private List<LoanBankInformationVo> pBank; |
|
||||
private List<BankManagerVo> managerList; |
|
||||
} |
|
@ -1,26 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.projectinformation; |
|
||||
|
|
||||
import com.yxt.common.core.result.ResultBean; |
|
||||
import io.swagger.annotations.Api; |
|
||||
import io.swagger.annotations.ApiOperation; |
|
||||
import org.springframework.cloud.openfeign.FeignClient; |
|
||||
import org.springframework.web.bind.annotation.PostMapping; |
|
||||
import org.springframework.web.bind.annotation.RequestParam; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/25 9:28 |
|
||||
*/ |
|
||||
@Api(tags = "项目信息") |
|
||||
@FeignClient( |
|
||||
contextId = "supervise-crm-projectinformation", |
|
||||
name = "supervise-crm", |
|
||||
path = "v1/projectinformation", |
|
||||
fallback = ProjectInformationFeignFallback.class) |
|
||||
public interface ProjectInformationFeign { |
|
||||
@ApiOperation("根据userSid查询该人的项目") |
|
||||
@PostMapping("/getProjectSidByUserSid") |
|
||||
ResultBean<List<ProjectInformationVo>> getProjectSidByUserSid(@RequestParam("userSid") String userSid); |
|
||||
} |
|
@ -1,11 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.projectinformation; |
|
||||
|
|
||||
import org.springframework.stereotype.Component; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/25 9:29 |
|
||||
*/ |
|
||||
@Component |
|
||||
public class ProjectInformationFeignFallback { |
|
||||
} |
|
@ -1,61 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.projectinformation; |
|
||||
|
|
||||
import com.yxt.common.core.vo.Vo; |
|
||||
import com.yxt.supervise.crm.api.enterpriseproject.EnterpriseProjectVo; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/25 9:29 |
|
||||
*/ |
|
||||
@ApiModel(value = "项目信息 视图数据对象", description = "项目信息 视图数据对象") |
|
||||
@Data |
|
||||
public class ProjectInformationVo implements Vo { |
|
||||
private String id ; |
|
||||
private String sid; |
|
||||
//项目名称
|
|
||||
private String entryName; |
|
||||
//所属行业
|
|
||||
private String industryName; |
|
||||
//项目类型
|
|
||||
private String typeName; |
|
||||
//授信额度
|
|
||||
private String creditLimit; |
|
||||
//贷款行
|
|
||||
private String bankName; |
|
||||
//客户经理
|
|
||||
private String bManagerName; |
|
||||
//签约日期
|
|
||||
private String signingDate; |
|
||||
//结束日期
|
|
||||
private String endDate; |
|
||||
//企业名称
|
|
||||
private String enterpriseName; |
|
||||
//联系人
|
|
||||
private String eContacts; |
|
||||
//监管负责人
|
|
||||
private String regulatoryLeader; |
|
||||
|
|
||||
private String generalManager; |
|
||||
private String fillInDate; |
|
||||
private String bankSid; |
|
||||
private String managerSid; |
|
||||
private String enterpriseSid; |
|
||||
private String industrySid; |
|
||||
private String typeSid; |
|
||||
private String remarks; |
|
||||
private String engaDate; |
|
||||
private String url; |
|
||||
private List<EnterpriseProjectVo> enterpriseProjectVoList; |
|
||||
private String useLimit; |
|
||||
private String loanDate; |
|
||||
private String useDate; |
|
||||
private String bankPledgeRate; |
|
||||
//状态名称
|
|
||||
private String stateName; |
|
||||
//状态说明
|
|
||||
private String stateRemarks; |
|
||||
} |
|
@ -1,19 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.projecttemplate; |
|
||||
|
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/9/27 15:43 |
|
||||
*/ |
|
||||
@Data |
|
||||
@ApiModel(value = "模版消息发送的员工", description = "模版消息发送的员工") |
|
||||
@TableName("project_template") |
|
||||
public class ProjectTemplate { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String userProjectSid;//用户项目关联sid
|
|
||||
private String templateSid;//微信模版消息sid
|
|
||||
} |
|
@ -1,18 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.projecttemplate; |
|
||||
|
|
||||
import com.yxt.common.core.dto.Dto; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/9/27 15:45 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class ProjectTemplateDto implements Dto { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String userProjectSid;//用户项目关联sid
|
|
||||
private List<String> templateSid;//微信模版消息sid
|
|
||||
} |
|
@ -1,16 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.projecttemplate; |
|
||||
|
|
||||
import com.yxt.common.core.query.Query; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/9/27 15:46 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class ProjectTemplateQuery implements Query { |
|
||||
private String id; |
|
||||
private String ids; |
|
||||
private String userProjectSid;//用户项目关联sid
|
|
||||
private String templateSid;//微信模版消息sid
|
|
||||
} |
|
@ -1,17 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.projecttemplate; |
|
||||
|
|
||||
import com.yxt.common.core.vo.Vo; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/9/27 15:46 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class ProjectTemplateVo implements Vo { |
|
||||
private String id; |
|
||||
private String ids; |
|
||||
private String userProjectSid;//用户项目关联sid
|
|
||||
private String templateSid;//微信模版消息sid
|
|
||||
private String userSid; |
|
||||
} |
|
@ -1,17 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.projecttypedictionary; |
|
||||
|
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
|
||||
import com.yxt.common.core.domain.BaseEntity; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/25 9:27 |
|
||||
*/ |
|
||||
@Data |
|
||||
@ApiModel(value = "项目类型字典", description = "项目类型字典") |
|
||||
@TableName("project_type_dictionary") |
|
||||
public class ProjectTypeDictionary extends BaseEntity { |
|
||||
private String projectType; |
|
||||
} |
|
@ -1,17 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.projecttypedictionary; |
|
||||
|
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/25 9:28 |
|
||||
*/ |
|
||||
@Data |
|
||||
@ApiModel(value = "项目类型字典 视图数据详情", description = "项目类型字典 视图数据详情") |
|
||||
public class ProjectTypeDictionaryDetailsVo { |
|
||||
private String typeName; |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
|
|
||||
} |
|
@ -1,19 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.projecttypedictionary; |
|
||||
|
|
||||
import com.yxt.common.core.dto.Dto; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/25 9:28 |
|
||||
*/ |
|
||||
@ApiModel(value = "项目类型字典 数据传输对象", description = "项目类型字典 数据传输对象") |
|
||||
@Data |
|
||||
public class ProjectTypeDictionaryDto implements Dto { |
|
||||
private String typeName; |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String remarks; |
|
||||
private String projectType; |
|
||||
} |
|
@ -1,17 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.projecttypedictionary; |
|
||||
|
|
||||
import io.swagger.annotations.Api; |
|
||||
import org.springframework.cloud.openfeign.FeignClient; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/25 9:28 |
|
||||
*/ |
|
||||
@Api(tags = "项目类型字典") |
|
||||
@FeignClient( |
|
||||
contextId = "supervise-crm-projecttypedictionary", |
|
||||
name = "supervise-crm", |
|
||||
path = "v1/projecttypedictionary", |
|
||||
fallback = ProjectTypeDictionaryFeignFallback.class) |
|
||||
public interface ProjectTypeDictionaryFeign { |
|
||||
} |
|
@ -1,11 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.projecttypedictionary; |
|
||||
|
|
||||
import org.springframework.stereotype.Component; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/25 9:29 |
|
||||
*/ |
|
||||
@Component |
|
||||
public class ProjectTypeDictionaryFeignFallback { |
|
||||
} |
|
@ -1,18 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.projecttypedictionary; |
|
||||
|
|
||||
import com.yxt.common.core.query.Query; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/25 9:29 |
|
||||
*/ |
|
||||
@ApiModel(value = "项目类型字典 查询条件", description = "项目类型字典 查询条件") |
|
||||
@Data |
|
||||
public class ProjectTypeDictionaryQuery implements Query { |
|
||||
private String typeName; |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
|
|
||||
} |
|
@ -1,19 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.projecttypedictionary; |
|
||||
|
|
||||
import com.yxt.common.core.vo.Vo; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/25 9:29 |
|
||||
*/ |
|
||||
@ApiModel(value = "项目类型字典 视图数据对象", description = "项目类型字典 视图数据对象") |
|
||||
@Data |
|
||||
public class ProjectTypeDictionaryVo implements Vo { |
|
||||
private String typeName; |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String remarks; |
|
||||
private String projectType; |
|
||||
} |
|
@ -1,18 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.storehouseproject; |
|
||||
|
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
|
||||
import com.yxt.common.core.domain.BaseEntity; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/7/19 15:37 |
|
||||
*/ |
|
||||
@Data |
|
||||
@ApiModel(value = "仓库 项目关联表", description = "仓库项目关联表") |
|
||||
@TableName("storehouse_project") |
|
||||
public class StoreHouseProject extends BaseEntity { |
|
||||
private String shSid; |
|
||||
private String projectSid; |
|
||||
} |
|
@ -1,19 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.storehouseproject; |
|
||||
|
|
||||
import com.yxt.common.core.dto.Dto; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/7/19 15:37 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class StoreHouseProjectDto implements Dto { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String shSid;//仓库sid
|
|
||||
private String projectSid;//项目sid
|
|
||||
private List<String> shSids; |
|
||||
} |
|
@ -1,16 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.storehouseproject; |
|
||||
|
|
||||
import com.yxt.common.core.query.Query; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/7/19 15:37 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class StoreHouseProjectQuery implements Query { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String shSid; |
|
||||
private String projectSid; |
|
||||
} |
|
@ -1,23 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.storehouseproject; |
|
||||
|
|
||||
import com.yxt.common.core.vo.Vo; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/7/19 15:37 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class StoreHouseProjectVo implements Vo { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String shSid; |
|
||||
private String projectSid; |
|
||||
//仓库名称
|
|
||||
private String name; |
|
||||
private String address; |
|
||||
private String linkerName; // 联系人姓名
|
|
||||
private String linkerPhone; // 联系人电话
|
|
||||
private String picUrl; // 图片访问url
|
|
||||
} |
|
@ -1,18 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.templatemessage; |
|
||||
|
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
|
||||
import com.yxt.common.core.domain.BaseEntity; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/9/27 15:43 |
|
||||
*/ |
|
||||
@Data |
|
||||
@ApiModel(value = "模版消息", description = "模版消息") |
|
||||
@TableName("template_message") |
|
||||
public class TemplateMessage extends BaseEntity { |
|
||||
private String typeSid; |
|
||||
private String name;//
|
|
||||
} |
|
@ -1,18 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.templatemessage; |
|
||||
|
|
||||
import com.yxt.common.core.dto.Dto; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/9/27 15:45 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class TemplateMessageDto implements Dto { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String typeSid; |
|
||||
private String name;//
|
|
||||
} |
|
@ -1,14 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.templatemessage; |
|
||||
|
|
||||
import com.yxt.common.core.query.Query; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/9/27 15:46 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class TemplateMessageQuery implements Query { |
|
||||
private String typeSid; |
|
||||
private String name;//
|
|
||||
} |
|
@ -1,18 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.templatemessage; |
|
||||
|
|
||||
import com.yxt.common.core.vo.Vo; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/9/27 15:46 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class TemplateMessageVo implements Vo { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String typeSid; |
|
||||
private String name;//
|
|
||||
//1 未选中 2选中
|
|
||||
private String state; |
|
||||
} |
|
@ -1,17 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.templatemessagetype; |
|
||||
|
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
|
||||
import com.yxt.common.core.domain.BaseEntity; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/9/27 15:43 |
|
||||
*/ |
|
||||
@Data |
|
||||
@ApiModel(value = "模版消息类型", description = "模版消息类型") |
|
||||
@TableName("template_message_message") |
|
||||
public class TemplateMessageType extends BaseEntity { |
|
||||
private String name;//
|
|
||||
} |
|
@ -1,16 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.templatemessagetype; |
|
||||
|
|
||||
import com.yxt.common.core.dto.Dto; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/9/27 15:45 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class TemplateMessageTypeDto implements Dto { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String typeSid; |
|
||||
private String name;//
|
|
||||
} |
|
@ -1,14 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.templatemessagetype; |
|
||||
|
|
||||
import com.yxt.common.core.query.Query; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/9/27 15:46 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class TemplateMessageTypeQuery implements Query { |
|
||||
private String typeSid; |
|
||||
private String name;//
|
|
||||
} |
|
@ -1,22 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.templatemessagetype; |
|
||||
|
|
||||
import com.yxt.common.core.vo.Vo; |
|
||||
import com.yxt.supervise.crm.api.templatemessage.TemplateMessageVo; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/9/27 15:46 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class TemplateMessageTypeVo implements Vo { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String name;//
|
|
||||
private List<TemplateMessageVo> list; |
|
||||
//1 未选中 2选中
|
|
||||
|
|
||||
private String state; |
|
||||
} |
|
@ -1,20 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.userproject; |
|
||||
|
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
|
||||
import com.yxt.common.core.domain.EntityWithId; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/8/6 11:34 |
|
||||
*/ |
|
||||
@Data |
|
||||
@TableName("user_project") |
|
||||
public class UserProject extends EntityWithId { |
|
||||
|
|
||||
private String sid; |
|
||||
private String projectSid; |
|
||||
private String userSid; |
|
||||
private String userType; |
|
||||
|
|
||||
} |
|
@ -1,22 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.userproject; |
|
||||
|
|
||||
import com.yxt.common.core.dto.Dto; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/8/6 11:34 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class UserProjectDto implements Dto { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String projectSid; |
|
||||
private String userSid; |
|
||||
private String userType; |
|
||||
private List<String> bankUsers; |
|
||||
private List<String> users; |
|
||||
|
|
||||
} |
|
@ -1,46 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.userproject; |
|
||||
|
|
||||
import com.yxt.common.core.query.Query; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/8/6 11:35 |
|
||||
*/ |
|
||||
public class UserProjectQuery implements Query { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String projectSid; |
|
||||
private String userSid; |
|
||||
|
|
||||
public String getId() { |
|
||||
return id; |
|
||||
} |
|
||||
|
|
||||
public void setId(String id) { |
|
||||
this.id = id; |
|
||||
} |
|
||||
|
|
||||
public String getSid() { |
|
||||
return sid; |
|
||||
} |
|
||||
|
|
||||
public void setSid(String sid) { |
|
||||
this.sid = sid; |
|
||||
} |
|
||||
|
|
||||
public String getProjectSid() { |
|
||||
return projectSid; |
|
||||
} |
|
||||
|
|
||||
public void setProjectSid(String projectSid) { |
|
||||
this.projectSid = projectSid; |
|
||||
} |
|
||||
|
|
||||
public String getUserSid() { |
|
||||
return userSid; |
|
||||
} |
|
||||
|
|
||||
public void setUserSid(String userSid) { |
|
||||
this.userSid = userSid; |
|
||||
} |
|
||||
} |
|
@ -1,74 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.userproject; |
|
||||
|
|
||||
import com.yxt.common.core.query.Query; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/8/6 11:35 |
|
||||
*/ |
|
||||
public class UserProjectVo implements Query { |
|
||||
private String id; |
|
||||
private String sid; |
|
||||
private String projectSid; |
|
||||
private String userSid; |
|
||||
private String name; |
|
||||
private String orgName; |
|
||||
//是否绑定openid;1 未绑定 2绑定
|
|
||||
private String isOpenId; |
|
||||
|
|
||||
public String getIsOpenId() { |
|
||||
return isOpenId; |
|
||||
} |
|
||||
|
|
||||
public void setIsOpenId(String isOpenId) { |
|
||||
this.isOpenId = isOpenId; |
|
||||
} |
|
||||
|
|
||||
public String getName() { |
|
||||
return name; |
|
||||
} |
|
||||
|
|
||||
public void setName(String name) { |
|
||||
this.name = name; |
|
||||
} |
|
||||
|
|
||||
public String getOrgName() { |
|
||||
return orgName; |
|
||||
} |
|
||||
|
|
||||
public void setOrgName(String orgName) { |
|
||||
this.orgName = orgName; |
|
||||
} |
|
||||
|
|
||||
public String getId() { |
|
||||
return id; |
|
||||
} |
|
||||
|
|
||||
public void setId(String id) { |
|
||||
this.id = id; |
|
||||
} |
|
||||
|
|
||||
public String getSid() { |
|
||||
return sid; |
|
||||
} |
|
||||
|
|
||||
public void setSid(String sid) { |
|
||||
this.sid = sid; |
|
||||
} |
|
||||
|
|
||||
public String getProjectSid() { |
|
||||
return projectSid; |
|
||||
} |
|
||||
|
|
||||
public void setProjectSid(String projectSid) { |
|
||||
this.projectSid = projectSid; |
|
||||
} |
|
||||
|
|
||||
public String getUserSid() { |
|
||||
return userSid; |
|
||||
} |
|
||||
|
|
||||
public void setUserSid(String userSid) { |
|
||||
this.userSid = userSid; |
|
||||
} |
|
||||
} |
|
@ -1,39 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.warehouselocation; |
|
||||
|
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
|
||||
import com.yxt.common.core.domain.BaseEntity; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 16:48 |
|
||||
*/ |
|
||||
@Data |
|
||||
@ApiModel(value = "仓库位置信息", description = "仓库位置信息") |
|
||||
@TableName("warehouse_location") |
|
||||
public class WarehouseLocation extends BaseEntity { |
|
||||
@ApiModelProperty("位置") |
|
||||
private String address; |
|
||||
@ApiModelProperty("省") |
|
||||
private String province; |
|
||||
@ApiModelProperty("市") |
|
||||
private String city; |
|
||||
@ApiModelProperty("区") |
|
||||
private String county; |
|
||||
@ApiModelProperty("面积") |
|
||||
private String squareMeasure; |
|
||||
@ApiModelProperty("层高") |
|
||||
private String floorHeight; |
|
||||
@ApiModelProperty("性质") |
|
||||
private String properties; |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String contacts; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
@ApiModelProperty("价格") |
|
||||
private String price; |
|
||||
@ApiModelProperty("房源") |
|
||||
private String housingResources; |
|
||||
} |
|
@ -1,39 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.warehouselocation; |
|
||||
|
|
||||
import com.yxt.common.core.vo.Vo; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 16:48 |
|
||||
*/ |
|
||||
@Data |
|
||||
@ApiModel(value = "仓库位置信息 视图数据详情", description = "仓库位置信息 视图数据详情") |
|
||||
public class WarehouseLocationDetailsVo implements Vo { |
|
||||
private String sid; |
|
||||
private String id; |
|
||||
@ApiModelProperty("位置") |
|
||||
private String address; |
|
||||
@ApiModelProperty("省") |
|
||||
private String province; |
|
||||
@ApiModelProperty("市") |
|
||||
private String city; |
|
||||
@ApiModelProperty("区") |
|
||||
private String county; |
|
||||
@ApiModelProperty("面积") |
|
||||
private String squareMeasure; |
|
||||
@ApiModelProperty("层高") |
|
||||
private String floorHeight; |
|
||||
@ApiModelProperty("性质") |
|
||||
private String properties; |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String contacts; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
@ApiModelProperty("价格") |
|
||||
private String price; |
|
||||
@ApiModelProperty("房源") |
|
||||
private String housingResources; |
|
||||
} |
|
@ -1,46 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.warehouselocation; |
|
||||
|
|
||||
import com.yxt.common.core.dto.Dto; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
import java.util.HashMap; |
|
||||
import java.util.Map; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 16:48 |
|
||||
*/ |
|
||||
@ApiModel(value = "仓库位置信息 数据传输对象", description = "仓库位置信息 数据传输对象") |
|
||||
@Data |
|
||||
public class WarehouseLocationDto implements Dto { |
|
||||
private String sid; |
|
||||
private String id; |
|
||||
@ApiModelProperty("位置") |
|
||||
private String address; |
|
||||
@ApiModelProperty("省") |
|
||||
private String province; |
|
||||
@ApiModelProperty("市") |
|
||||
private String city; |
|
||||
@ApiModelProperty("区") |
|
||||
private String county; |
|
||||
@ApiModelProperty("面积") |
|
||||
private String squareMeasure; |
|
||||
@ApiModelProperty("层高") |
|
||||
private String floorHeight; |
|
||||
@ApiModelProperty("性质") |
|
||||
private String properties; |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String contacts; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
@ApiModelProperty("价格") |
|
||||
private String price; |
|
||||
@ApiModelProperty("房源") |
|
||||
private String housingResources; |
|
||||
@ApiModelProperty("备注") |
|
||||
private String remarks; |
|
||||
private String [] imageFiles; |
|
||||
|
|
||||
} |
|
@ -1,18 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.warehouselocation; |
|
||||
|
|
||||
import com.yxt.supervise.crm.api.loanbankinformation.LoanBankInformationFeignFallback; |
|
||||
import io.swagger.annotations.Api; |
|
||||
import org.springframework.cloud.openfeign.FeignClient; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 16:48 |
|
||||
*/ |
|
||||
@Api(tags = "贷款银行信息") |
|
||||
@FeignClient( |
|
||||
contextId = "supervise-crm-WarehouseLocation", |
|
||||
name = "supervise-crm", |
|
||||
path = "v1/warehouselocation", |
|
||||
fallback = WarehouseLocationFeignFallback.class) |
|
||||
public interface WarehouseLocationFeign { |
|
||||
} |
|
@ -1,11 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.warehouselocation; |
|
||||
|
|
||||
import org.springframework.stereotype.Component; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 16:49 |
|
||||
*/ |
|
||||
@Component |
|
||||
public class WarehouseLocationFeignFallback { |
|
||||
} |
|
@ -1,39 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.warehouselocation; |
|
||||
|
|
||||
import com.yxt.common.core.query.Query; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 16:49 |
|
||||
*/ |
|
||||
@ApiModel(value = "仓库位置信息 查询条件", description = "仓库位置信息 查询条件") |
|
||||
@Data |
|
||||
public class WarehouseLocationQuery implements Query { |
|
||||
private String sid; |
|
||||
private String id; |
|
||||
@ApiModelProperty("位置") |
|
||||
private String address; |
|
||||
@ApiModelProperty("省") |
|
||||
private String province; |
|
||||
@ApiModelProperty("市") |
|
||||
private String city; |
|
||||
@ApiModelProperty("区") |
|
||||
private String county; |
|
||||
@ApiModelProperty("面积") |
|
||||
private String squareMeasure; |
|
||||
@ApiModelProperty("层高") |
|
||||
private String floorHeight; |
|
||||
@ApiModelProperty("性质") |
|
||||
private String properties; |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String contacts; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
@ApiModelProperty("价格") |
|
||||
private String price; |
|
||||
@ApiModelProperty("房源") |
|
||||
private String housingResources; |
|
||||
} |
|
@ -1,42 +0,0 @@ |
|||||
package com.yxt.supervise.crm.api.warehouselocation; |
|
||||
|
|
||||
import com.yxt.common.core.vo.Vo; |
|
||||
import io.swagger.annotations.ApiModel; |
|
||||
import io.swagger.annotations.ApiModelProperty; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2023/4/12 16:49 |
|
||||
*/ |
|
||||
@ApiModel(value = "仓库位置信息 视图数据对象", description = "仓库位置信息 视图数据对象") |
|
||||
@Data |
|
||||
public class WarehouseLocationVo implements Vo { |
|
||||
private String sid; |
|
||||
private String id; |
|
||||
@ApiModelProperty("位置") |
|
||||
private String address; |
|
||||
@ApiModelProperty("省") |
|
||||
private String province; |
|
||||
@ApiModelProperty("市") |
|
||||
private String city; |
|
||||
@ApiModelProperty("区") |
|
||||
private String county; |
|
||||
@ApiModelProperty("面积") |
|
||||
private String squareMeasure; |
|
||||
@ApiModelProperty("层高") |
|
||||
private String floorHeight; |
|
||||
@ApiModelProperty("性质") |
|
||||
private String properties; |
|
||||
@ApiModelProperty("联系人") |
|
||||
private String contacts; |
|
||||
@ApiModelProperty("电话") |
|
||||
private String telephone; |
|
||||
@ApiModelProperty("价格") |
|
||||
private String price; |
|
||||
@ApiModelProperty("房源") |
|
||||
private String housingResources; |
|
||||
@ApiModelProperty("备注") |
|
||||
private String remarks; |
|
||||
private String url; |
|
||||
} |
|
Loading…
Reference in new issue