75 changed files with 2719 additions and 36 deletions
@ -0,0 +1,63 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.supervise.crm.api.projectfiles; |
||||
|
|
||||
|
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; |
||||
|
|
||||
|
/** |
||||
|
* Project: project_credit(企业用信登记) <br/> |
||||
|
* File: ProjectCreditFile.java <br/> |
||||
|
* Class: com.yxt.supervise.enterprisecentre.api.projectcreditfile.ProjectCreditFile <br/> |
||||
|
* Description: 用还信登记附件. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-12-28 22:51:10 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "项目附件", description = "项目附件") |
||||
|
@TableName("project_files") |
||||
|
public class ProjectFiles extends BaseEntity { |
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
@ApiModelProperty("主表sid") |
||||
|
private String mainsid; // 主表sid
|
||||
|
@ApiModelProperty("项目附件链接") |
||||
|
private String url; // 项目附件链接
|
||||
|
private String absolutePath; // 项目附件链接
|
||||
|
private String name; // 项目附件链接
|
||||
|
|
||||
|
private String typeKey; // 项目附件类型
|
||||
|
private String typeValue; // 项目附件类型
|
||||
|
|
||||
|
} |
@ -0,0 +1,65 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.supervise.crm.api.projectfiles; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* Project: project_credit(企业用信登记) <br/> |
||||
|
* File: ProjectCreditFileVo.java <br/> |
||||
|
* Class: com.yxt.supervise.enterprisecentre.api.projectcreditfile.ProjectCreditFileVo <br/> |
||||
|
* Description: 用还信登记附件 视图数据对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-12-28 22:51:10 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "项目附件 视图数据详情", description = "项目附件 视图数据详情") |
||||
|
public class ProjectFilesDetailsVo implements Vo { |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("创建者") |
||||
|
private String createSid; // 创建者
|
||||
|
@ApiModelProperty("更新者") |
||||
|
private String modifySid; // 更新者
|
||||
|
@ApiModelProperty("主表sid") |
||||
|
private String mainsid; // 主表sid
|
||||
|
@ApiModelProperty("项目附件链接") |
||||
|
private String url; // 项目附件链接
|
||||
|
private String absolutePath; // 项目附件链接
|
||||
|
private String typeKey; // 项目附件类型
|
||||
|
private String typeValue; // 项目附件类型
|
||||
|
|
||||
|
} |
@ -0,0 +1,66 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.supervise.crm.api.projectfiles; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: project_credit(企业用信登记) <br/> |
||||
|
* File: ProjectCreditFileDto.java <br/> |
||||
|
* Class: com.yxt.supervise.enterprisecentre.api.projectcreditfile.ProjectCreditFileDto <br/> |
||||
|
* Description: 用还信登记附件 数据传输对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-12-28 22:51:10 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "项目附件 数据传输对象", description = "项目附件 数据传输对象") |
||||
|
public class ProjectFilesDto implements Dto { |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("创建者") |
||||
|
private String createSid; // 创建者
|
||||
|
@ApiModelProperty("更新者") |
||||
|
private String modifySid; // 更新者
|
||||
|
@ApiModelProperty("主表sid") |
||||
|
private String mainsid; // 主表sid
|
||||
|
List<UrlVo> reportList=new ArrayList<>(); |
||||
|
private String typeKey; // 项目附件类型
|
||||
|
private String typeValue; // 项目附件类型
|
||||
|
|
||||
|
} |
@ -0,0 +1,60 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.supervise.crm.api.projectfiles; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* Project: project_credit(企业用信登记) <br/> |
||||
|
* File: ProjectCreditFileQuery.java <br/> |
||||
|
* Class: com.yxt.supervise.enterprisecentre.api.projectcreditfile.ProjectCreditFileQuery <br/> |
||||
|
* Description: 用还信登记附件 查询条件. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-12-28 22:51:10 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "项目附件 查询条件", description = "项目附件 查询条件") |
||||
|
public class ProjectFilesQuery implements Query { |
||||
|
|
||||
|
@ApiModelProperty("创建者") |
||||
|
private String createSid; // 创建者
|
||||
|
@ApiModelProperty("更新者") |
||||
|
private String modifySid; // 更新者
|
||||
|
@ApiModelProperty("主表sid") |
||||
|
private String mainsid; // 主表sid
|
||||
|
@ApiModelProperty("凭证图片") |
||||
|
private String pzfile; // 凭证图片
|
||||
|
|
||||
|
} |
@ -0,0 +1,66 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.supervise.crm.api.projectfiles; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* Project: project_credit(企业用信登记) <br/> |
||||
|
* File: ProjectCreditFileVo.java <br/> |
||||
|
* Class: com.yxt.supervise.enterprisecentre.api.projectcreditfile.ProjectCreditFileVo <br/> |
||||
|
* Description: 用还信登记附件 视图数据对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-12-28 22:51:10 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "项目附件 视图数据对象", description = "项目附件 视图数据对象") |
||||
|
public class ProjectFilesVo implements Vo { |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("创建者") |
||||
|
private String createSid; // 创建者
|
||||
|
@ApiModelProperty("更新者") |
||||
|
private String modifySid; // 更新者
|
||||
|
@ApiModelProperty("主表sid") |
||||
|
private String mainsid; // 主表sid
|
||||
|
@ApiModelProperty("项目附件链接") |
||||
|
private String url; // 项目附件链接
|
||||
|
private String absolutePath; // 项目附件链接
|
||||
|
|
||||
|
private String typeKey; // 项目附件类型
|
||||
|
private String typeValue; // 项目附件类型
|
||||
|
|
||||
|
} |
@ -0,0 +1,16 @@ |
|||||
|
package com.yxt.supervise.crm.api.projectfiles; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/9/13 14:19 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class UrlVo { |
||||
|
@ApiModelProperty("项目附件链接") |
||||
|
private String url; // 项目附件链接
|
||||
|
private String absolutePath; // 绝对路径
|
||||
|
private String fileSrcName; // 绝对路径
|
||||
|
} |
@ -0,0 +1,19 @@ |
|||||
|
package com.yxt.supervise.crm.api.projectphase; |
||||
|
|
||||
|
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("project_phase") |
||||
|
public class ProjectPhase extends BaseEntity { |
||||
|
private String projectSid; |
||||
|
private String nodeKey; |
||||
|
private String nodeValue; |
||||
|
} |
@ -0,0 +1,16 @@ |
|||||
|
package com.yxt.supervise.crm.api.projectphase; |
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2023/7/19 15:37 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ProjectPhaseDto implements Dto { |
||||
|
private String sid; |
||||
|
private String projectSid; |
||||
|
private String nodeKey; |
||||
|
private String nodeValue; |
||||
|
} |
@ -0,0 +1,16 @@ |
|||||
|
package com.yxt.supervise.crm.api.projectphase; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2023/7/19 15:37 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ProjectPhaseQuery implements Query { |
||||
|
private String id; |
||||
|
private String sid; |
||||
|
private String shSid; |
||||
|
private String projectSid; |
||||
|
} |
@ -0,0 +1,15 @@ |
|||||
|
package com.yxt.supervise.crm.api.projectphase; |
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2023/7/19 15:37 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ProjectPhaseVo implements Vo { |
||||
|
private String projectSid; |
||||
|
private String nodeKey; |
||||
|
private String nodeValue; |
||||
|
} |
@ -0,0 +1,19 @@ |
|||||
|
package com.yxt.supervise.crm.api.projectphaserecord; |
||||
|
|
||||
|
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("project_phase") |
||||
|
public class ProjectPhaseRecord extends BaseEntity { |
||||
|
private String projectSid; |
||||
|
private String nodeKey; |
||||
|
private String nodeValue; |
||||
|
} |
@ -0,0 +1,18 @@ |
|||||
|
package com.yxt.supervise.crm.api.projectphaserecord; |
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2023/7/19 15:37 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ProjectPhaseRecordDto implements Dto { |
||||
|
private String sid; |
||||
|
private String enterpriseSid; |
||||
|
private String orderDate; |
||||
|
private String total; |
||||
|
private String nodeKey; |
||||
|
private String nodeValue; |
||||
|
} |
@ -0,0 +1,16 @@ |
|||||
|
package com.yxt.supervise.crm.api.projectphaserecord; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2023/7/19 15:37 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ProjectPhaseRecordQuery implements Query { |
||||
|
private String id; |
||||
|
private String sid; |
||||
|
private String shSid; |
||||
|
private String projectSid; |
||||
|
} |
@ -0,0 +1,15 @@ |
|||||
|
package com.yxt.supervise.crm.api.projectphaserecord; |
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2023/7/19 15:37 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ProjectPhaseRecordVo implements Vo { |
||||
|
private String projectSid; |
||||
|
private String nodeKey; |
||||
|
private String nodeValue; |
||||
|
} |
@ -0,0 +1,67 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.supervise.crm.biz.projectfiles; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.core.conditions.Wrapper; |
||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
import com.baomidou.mybatisplus.core.toolkit.Constants; |
||||
|
import com.yxt.supervise.crm.api.projectfiles.ProjectFiles; |
||||
|
import com.yxt.supervise.crm.api.projectfiles.ProjectFilesVo; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
import org.apache.ibatis.annotations.Select; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: project_credit(企业用信登记) <br/> |
||||
|
* File: ProjectFilesMapper.java <br/> |
||||
|
* Class: com.yxt.supervise.enterprisecentre.biz.ProjectFiles.ProjectFilesMapper <br/> |
||||
|
* Description: 用还信登记附件. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-12-28 22:51:10 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface ProjectFilesMapper extends BaseMapper<ProjectFiles> { |
||||
|
|
||||
|
//@Update("update project_credit_file set name=#{msg} where id=#{id}")
|
||||
|
//IPage<ProjectFilesVo> voPage(IPage<ProjectFiles> page, @Param(Constants.WRAPPER) QueryWrapper<ProjectFiles> qw);
|
||||
|
|
||||
|
IPage<ProjectFilesVo> selectPageVo(IPage<ProjectFiles> page, @Param(Constants.WRAPPER) Wrapper<ProjectFiles> qw); |
||||
|
|
||||
|
List<ProjectFilesVo> selectListAllVo(@Param(Constants.WRAPPER) Wrapper<ProjectFiles> qw); |
||||
|
|
||||
|
@Select("select * from project_credit_file") |
||||
|
List<ProjectFilesVo> selectListVo(); |
||||
|
@Select("select * from project_credit_file where mainsid=#{mainsid}") |
||||
|
List<ProjectFiles> fetchByMainSid(@Param("mainsid") String sid); |
||||
|
} |
@ -0,0 +1,13 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
|
<mapper namespace="com.yxt.supervise.crm.biz.projectfiles.ProjectFilesMapper"> |
||||
|
<!-- <where> ${ew.sqlSegment} </where>--> |
||||
|
<!-- ${ew.customSqlSegment} --> |
||||
|
<select id="selectPageVo" resultType="com.yxt.supervise.crm.api.projectfiles.ProjectFilesVo"> |
||||
|
SELECT * FROM project_file <where> ${ew.sqlSegment} </where> |
||||
|
</select> |
||||
|
|
||||
|
<select id="selectListAllVo" resultType="com.yxt.supervise.crm.api.projectfiles.ProjectFilesVo"> |
||||
|
SELECT * FROM project_file <where> ${ew.sqlSegment} </where> |
||||
|
</select> |
||||
|
</mapper> |
@ -0,0 +1,99 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.supervise.crm.biz.projectfiles; |
||||
|
|
||||
|
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.projectfiles.ProjectFilesDetailsVo; |
||||
|
import com.yxt.supervise.crm.api.projectfiles.ProjectFilesDto; |
||||
|
import com.yxt.supervise.crm.api.projectfiles.ProjectFilesQuery; |
||||
|
import com.yxt.supervise.crm.api.projectfiles.ProjectFilesVo; |
||||
|
import com.yxt.supervise.crm.biz.projectfiles.ProjectFilesService; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* Project: project_credit(企业用信登记) <br/> |
||||
|
* File: ProjectFilesFeignFallback.java <br/> |
||||
|
* Class: com.yxt.supervise.enterprisecentre.biz.ProjectFiles.ProjectFilesRest <br/> |
||||
|
* Description: 用还信登记附件. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-12-28 22:51:10 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Api(tags = "项目附件") |
||||
|
@RestController("com.yxt.supervise.enterprisecentre.biz.ProjectFiles.ProjectFilesRest") |
||||
|
@RequestMapping("v1/projectfiles") |
||||
|
public class ProjectFilesRest { |
||||
|
|
||||
|
@Autowired |
||||
|
private ProjectFilesService projectFilesService; |
||||
|
|
||||
|
|
||||
|
@ApiOperation("根据条件分页查询数据的列表") |
||||
|
@PostMapping("/listPage") |
||||
|
public ResultBean<PagerVo<ProjectFilesVo>> listPage(@RequestBody PagerQuery<ProjectFilesQuery> pq){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
PagerVo<ProjectFilesVo> pv = projectFilesService.listPageVo(pq); |
||||
|
return rb.success().setData(pv); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
@ApiOperation("新增或修改") |
||||
|
@PostMapping("/save") |
||||
|
public ResultBean save(@RequestBody ProjectFilesDto dto){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
projectFilesService.saveOrUpdateDto(dto); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
@ApiOperation("根据sid批量删除") |
||||
|
@PostMapping("/delBySids") |
||||
|
public ResultBean delBySids(@RequestBody String[] sids){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
projectFilesService.delBySids(sids); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
@ApiOperation("根据SID获取一条记录") |
||||
|
@GetMapping("/fetchDetailsBySid/{sid}") |
||||
|
public ResultBean<ProjectFilesDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
ProjectFilesDetailsVo vo = projectFilesService.fetchDetailsVoBySid(sid); |
||||
|
return rb.success().setData(vo); |
||||
|
} |
||||
|
} |
@ -0,0 +1,120 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.supervise.crm.biz.projectfiles; |
||||
|
|
||||
|
import cn.hutool.core.bean.BeanUtil; |
||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
import com.yxt.common.base.config.component.FileUploadComponent; |
||||
|
import com.yxt.common.base.service.MybatisBaseService; |
||||
|
import com.yxt.common.base.utils.PagerUtil; |
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import com.yxt.supervise.crm.api.projectfiles.*; |
||||
|
import org.apache.commons.lang3.StringUtils; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: project_credit(企业用信登记) <br/> |
||||
|
* File: ProjectFilesService.java <br/> |
||||
|
* Class: com.yxt.supervise.enterprisecentre.biz.ProjectFiles.ProjectFilesService <br/> |
||||
|
* Description: 用还信登记附件 业务逻辑. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-12-28 22:51:10 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Service |
||||
|
public class ProjectFilesService extends MybatisBaseService<ProjectFilesMapper, ProjectFiles> { |
||||
|
|
||||
|
@Autowired |
||||
|
private FileUploadComponent fileUploadComponent; |
||||
|
private QueryWrapper<ProjectFiles> createQueryWrapper(ProjectFilesQuery query) { |
||||
|
// todo: 这里根据具体业务调整查询条件
|
||||
|
// 多字段Like示例:qw.and(wrapper -> wrapper.like("name", query.getName()).or().like("remark", query.getName()));
|
||||
|
QueryWrapper<ProjectFiles> qw = new QueryWrapper<>(); |
||||
|
return qw; |
||||
|
} |
||||
|
|
||||
|
public PagerVo<ProjectFilesVo> listPageVo(PagerQuery<ProjectFilesQuery> pq) { |
||||
|
ProjectFilesQuery query = pq.getParams(); |
||||
|
QueryWrapper<ProjectFiles> qw = createQueryWrapper(query); |
||||
|
IPage<ProjectFiles> page = PagerUtil.queryToPage(pq); |
||||
|
IPage<ProjectFilesVo> pagging = baseMapper.selectPageVo(page, qw); |
||||
|
PagerVo<ProjectFilesVo> p = PagerUtil.pageToVo(pagging, null); |
||||
|
return p; |
||||
|
} |
||||
|
|
||||
|
public void saveOrUpdateDto(ProjectFilesDto dto){ |
||||
|
String dtoSid = dto.getSid(); |
||||
|
if (StringUtils.isBlank(dtoSid)) { |
||||
|
this.insertByDto(dto); |
||||
|
return; |
||||
|
} |
||||
|
this.updateByDto(dto); |
||||
|
} |
||||
|
|
||||
|
public void insertByDto(ProjectFilesDto dto){ |
||||
|
ProjectFiles entity = new ProjectFiles(); |
||||
|
String urlPrefix = fileUploadComponent.getUrlPrefix(); |
||||
|
for (UrlVo urlVo : dto.getReportList()) { |
||||
|
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
||||
|
entity.setAbsolutePath(urlVo.getUrl()); |
||||
|
String path = urlVo.getUrl().substring(urlPrefix.length()); |
||||
|
urlVo.setUrl(path); |
||||
|
entity.setName(urlVo.getFileSrcName()); |
||||
|
entity.setUrl(urlVo.getUrl()); |
||||
|
baseMapper.insert(entity); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public void updateByDto(ProjectFilesDto dto){ |
||||
|
String dtoSid = dto.getSid(); |
||||
|
if (StringUtils.isBlank(dtoSid)) { |
||||
|
return; |
||||
|
} |
||||
|
ProjectFiles entity = fetchBySid(dtoSid); |
||||
|
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
||||
|
baseMapper.updateById(entity); |
||||
|
} |
||||
|
|
||||
|
public ProjectFilesDetailsVo fetchDetailsVoBySid(String sid){ |
||||
|
ProjectFiles entity = fetchBySid(sid); |
||||
|
ProjectFilesDetailsVo vo = new ProjectFilesDetailsVo(); |
||||
|
BeanUtil.copyProperties(entity, vo); |
||||
|
return vo; |
||||
|
} |
||||
|
public List<ProjectFiles> fetchDetailsVoByMainSid(String sid){ |
||||
|
List<ProjectFiles> entitys = baseMapper.fetchByMainSid(sid); |
||||
|
return entitys; |
||||
|
} |
||||
|
} |
@ -0,0 +1,31 @@ |
|||||
|
package com.yxt.supervise.crm.biz.projectinformation; |
||||
|
|
||||
|
import com.yxt.common.core.domain.BaseEntity; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/2/26 13:36 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WarehouseInfo extends BaseEntity { |
||||
|
|
||||
|
private String warehouseName;//仓库名称
|
||||
|
private String warehouseCode;//仓库编码
|
||||
|
private String contacts;//联系人
|
||||
|
private String mob;//手机
|
||||
|
private String telephone;//联系电话
|
||||
|
private String manager;//主管
|
||||
|
private String areaSid;//地区sid
|
||||
|
private String address;//地址
|
||||
|
private String lngAndLat;//经纬度
|
||||
|
private String longitude;//经度
|
||||
|
private String latitude;//纬度
|
||||
|
private String warehouseTypeKey;//仓库类型Key
|
||||
|
private String warehouseTypeValue;//仓库类型value
|
||||
|
private Integer usageStatus;//使用状态,0停用 1正常
|
||||
|
private String squareMeter;//平方米
|
||||
|
private Integer sortNo;//排序
|
||||
|
private String useOrgSid;//创建组织sid
|
||||
|
private String createOrgSid;//创建组织sid
|
||||
|
} |
@ -0,0 +1,48 @@ |
|||||
|
package com.yxt.supervise.crm.biz.projectinformation; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.Date; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/2/26 13:37 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WarehouseInfoVo implements Vo { |
||||
|
private String id; |
||||
|
private String sid; |
||||
|
private String lockVersion; |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
||||
|
private Date createTime; |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
||||
|
private Date modifyTime; |
||||
|
private String remarks; |
||||
|
private Integer isEnable; |
||||
|
private Integer state; |
||||
|
private Integer isDelete; |
||||
|
private String warehouseName;//仓库名称
|
||||
|
private String warehouseCode;//仓库编码
|
||||
|
private String contacts;//联系人
|
||||
|
private String mob;//手机
|
||||
|
private String telephone;//联系电话
|
||||
|
private String manager;//主管
|
||||
|
private String areaSid;//地区sid
|
||||
|
private String address;//地址
|
||||
|
private String lngAndLat;//经纬度
|
||||
|
private String longitude;//经度
|
||||
|
private String latitude;//纬度
|
||||
|
private String warehouseTypeKey;//仓库类型Key
|
||||
|
private String warehouseTypeValue;//仓库类型value
|
||||
|
private Integer usageStatus;//使用状态,0停用 1正常
|
||||
|
private String squareMeter;//平方米
|
||||
|
private Integer sortNo;//排序
|
||||
|
private String useOrgSid;//创建组织sid
|
||||
|
private String createOrgSid;//创建组织sid
|
||||
|
|
||||
|
private String userSid; |
||||
|
private String orgPath; |
||||
|
private String gsd; |
||||
|
} |
@ -0,0 +1,23 @@ |
|||||
|
package com.yxt.supervise.crm.biz.projectphase; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.core.conditions.Wrapper; |
||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
import com.baomidou.mybatisplus.core.toolkit.Constants; |
||||
|
import com.yxt.supervise.crm.api.projectphase.ProjectPhase; |
||||
|
import com.yxt.supervise.crm.api.projectphase.ProjectPhaseVo; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2023/4/23 11:49 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface ProjectPhaseMapper extends BaseMapper<ProjectPhase> { |
||||
|
IPage<ProjectPhaseVo> selectPageVo(IPage<ProjectPhase> page, @Param(Constants.WRAPPER) Wrapper<ProjectPhase> qw); |
||||
|
List<ProjectPhaseVo> getNodeByProjectSid(@Param("projectSid") String projectSid); |
||||
|
|
||||
|
} |
@ -0,0 +1,16 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
|
<mapper namespace="com.yxt.supervise.crm.biz.projectphase.ProjectPhaseMapper"> |
||||
|
<!-- <where> ${ew.sqlSegment} </where>--> |
||||
|
<!-- ${ew.customSqlSegment} --> |
||||
|
<select id="selectPageVo" resultType="com.yxt.supervise.crm.api.projectphase.ProjectPhaseVo"> |
||||
|
SELECT cct.* |
||||
|
FROM project_phase cct |
||||
|
<where> |
||||
|
${ew.sqlSegment} |
||||
|
</where> |
||||
|
</select> |
||||
|
<select id="getNodeByProjectSid" resultType="com.yxt.supervise.crm.api.projectphase.ProjectPhaseVo"> |
||||
|
select * from project_phase_dictionary where projectSid=#{projectSid} |
||||
|
</select> |
||||
|
</mapper> |
@ -0,0 +1,78 @@ |
|||||
|
package com.yxt.supervise.crm.biz.projectphase; |
||||
|
|
||||
|
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.projectphase.ProjectPhaseDto; |
||||
|
import com.yxt.supervise.crm.api.projectphase.ProjectPhaseQuery; |
||||
|
import com.yxt.supervise.crm.api.projectphase.ProjectPhaseVo; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2023/4/23 11:49 |
||||
|
*/ |
||||
|
@Api(tags = "银行负责人信息") |
||||
|
@RestController |
||||
|
@RequestMapping("v1/ProjectPhase") |
||||
|
public class ProjectPhaseRest { |
||||
|
|
||||
|
@Autowired |
||||
|
private ProjectPhaseService ProjectPhaseService; |
||||
|
@ApiOperation("根据条件分页查询数据的列表") |
||||
|
@PostMapping("/listPage") |
||||
|
public ResultBean<PagerVo<ProjectPhaseVo>> listPage(@RequestBody PagerQuery<ProjectPhaseQuery> pq) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
PagerVo<ProjectPhaseVo> pv = ProjectPhaseService.listPageVo(pq); |
||||
|
return rb.success().setData(pv); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
@ApiOperation("保存") |
||||
|
@PostMapping("/save") |
||||
|
public ResultBean save(@RequestBody ProjectPhaseDto dto) { |
||||
|
return ProjectPhaseService.saveProjectPhase(dto); |
||||
|
} |
||||
|
|
||||
|
// @ApiOperation("修改")
|
||||
|
// @PostMapping("/update")
|
||||
|
// public ResultBean update(@RequestBody ProjectPhaseDto dto) {
|
||||
|
// ResultBean rb = ResultBean.fireFail();
|
||||
|
//
|
||||
|
// ResultBean resultBean = ProjectPhaseService.updateProjectPhase(dto);
|
||||
|
// if (!resultBean.getSuccess()) {
|
||||
|
// return rb.setMsg(resultBean.getMsg());
|
||||
|
// }
|
||||
|
// return rb.success().setMsg(resultBean.getMsg());
|
||||
|
// }
|
||||
|
|
||||
|
@ApiOperation("删除") |
||||
|
@DeleteMapping("/delete") |
||||
|
public ResultBean del(@RequestBody String[] sids) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
ProjectPhaseService.delBySids(sids); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
@ApiOperation("根据sid查询") |
||||
|
@GetMapping("/getManagerBySid/{sid}") |
||||
|
public ResultBean<ProjectPhaseVo> getManagerBySid(@PathVariable String sid) { |
||||
|
ResultBean<ProjectPhaseVo> rb = ResultBean.fireFail(); |
||||
|
ProjectPhaseVo vo = ProjectPhaseService.getManagerBySid(sid); |
||||
|
if (vo == null) { |
||||
|
return rb.setMsg("该银行联系人不存在"); |
||||
|
} |
||||
|
return rb.success().setData(vo); |
||||
|
} |
||||
|
@ApiOperation("根据sid查询") |
||||
|
@GetMapping("/getNodeByProjectSid") |
||||
|
public ResultBean<List<ProjectPhaseVo>> getNodeByProjectSid(@RequestParam("projectSid") String projectSid) { |
||||
|
return ProjectPhaseService.getNodeByProjectSid(projectSid); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,84 @@ |
|||||
|
package com.yxt.supervise.crm.biz.projectphase; |
||||
|
|
||||
|
import cn.hutool.core.bean.BeanUtil; |
||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
import com.yxt.common.base.service.MybatisBaseService; |
||||
|
import com.yxt.common.base.utils.PagerUtil; |
||||
|
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.projectphase.ProjectPhase; |
||||
|
import com.yxt.supervise.crm.api.projectphase.ProjectPhaseDto; |
||||
|
import com.yxt.supervise.crm.api.projectphase.ProjectPhaseQuery; |
||||
|
import com.yxt.supervise.crm.api.projectphase.ProjectPhaseVo; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2023/4/23 11:49 |
||||
|
*/ |
||||
|
@Service |
||||
|
public class ProjectPhaseService extends MybatisBaseService<ProjectPhaseMapper, ProjectPhase> { |
||||
|
@Autowired |
||||
|
com.yxt.supervise.crm.feign.system.SysUserFeign sysUserFeign; |
||||
|
|
||||
|
public PagerVo<ProjectPhaseVo> listPageVo(PagerQuery<ProjectPhaseQuery> pq) { |
||||
|
ProjectPhaseQuery query = pq.getParams(); |
||||
|
QueryWrapper<ProjectPhase> qw = new QueryWrapper<>(); |
||||
|
// if(StringUtils.isNotBlank(query.getEnterpriseName())){
|
||||
|
// qw.like("enterpriseName",query.getEnterpriseName());
|
||||
|
// }
|
||||
|
// if(StringUtils.isNotBlank(query.getTelephone())){
|
||||
|
// qw.like("telephone",query.getTelephone());
|
||||
|
// }
|
||||
|
IPage<ProjectPhase> page = PagerUtil.queryToPage(pq); |
||||
|
IPage<ProjectPhaseVo> pagging = baseMapper.selectPageVo(page, qw); |
||||
|
PagerVo<ProjectPhaseVo> p = PagerUtil.pageToVo(pagging, null); |
||||
|
return p; |
||||
|
} |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 新增 |
||||
|
* @param dto 数据传输对象 |
||||
|
* @return |
||||
|
*/ |
||||
|
public ResultBean saveProjectPhase(ProjectPhaseDto dto) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
ProjectPhase entity=new ProjectPhase(); |
||||
|
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
||||
|
baseMapper.insert(entity); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 编辑保存银行负责人 |
||||
|
* @param dto 数据传输对象 |
||||
|
* @return |
||||
|
*/ |
||||
|
public ResultBean updateProjectPhase(ProjectPhaseDto dto) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
String dtoSid = dto.getSid(); |
||||
|
ProjectPhase entity=fetchBySid(dtoSid); |
||||
|
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
||||
|
baseMapper.updateById(entity); |
||||
|
return rb.success().setMsg("更新成功"); |
||||
|
} |
||||
|
|
||||
|
public ProjectPhaseVo getManagerBySid(String sid) { |
||||
|
ProjectPhaseVo vo = new ProjectPhaseVo(); |
||||
|
ProjectPhase ProjectPhase = this.fetchBySid(sid); |
||||
|
BeanUtil.copyProperties(ProjectPhase, vo); |
||||
|
return vo; |
||||
|
} |
||||
|
public ResultBean<List<ProjectPhaseVo>> getNodeByProjectSid(String projectSid) { |
||||
|
ResultBean rb =new ResultBean().fail(); |
||||
|
List<ProjectPhaseVo> projectPhaseVoList=baseMapper.getNodeByProjectSid(projectSid); |
||||
|
return rb.success().setData(projectPhaseVoList); |
||||
|
} |
||||
|
} |
@ -0,0 +1,23 @@ |
|||||
|
package com.yxt.supervise.crm.biz.projectphaserecord; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.core.conditions.Wrapper; |
||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
import com.baomidou.mybatisplus.core.toolkit.Constants; |
||||
|
import com.yxt.supervise.crm.api.projectphase.ProjectPhase; |
||||
|
import com.yxt.supervise.crm.api.projectphase.ProjectPhaseVo; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2023/4/23 11:49 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface ProjectPhaseRecordMapper extends BaseMapper<ProjectPhase> { |
||||
|
IPage<ProjectPhaseVo> selectPageVo(IPage<ProjectPhase> page, @Param(Constants.WRAPPER) Wrapper<ProjectPhase> qw); |
||||
|
List<ProjectPhaseVo> getNodeByProjectSid(@Param("projectSid") String projectSid); |
||||
|
|
||||
|
} |
@ -0,0 +1,16 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
|
<mapper namespace="com.yxt.supervise.crm.biz.projectphaserecord.ProjectPhaseRecordMapper"> |
||||
|
<!-- <where> ${ew.sqlSegment} </where>--> |
||||
|
<!-- ${ew.customSqlSegment} --> |
||||
|
<select id="selectPageVo" resultType="com.yxt.supervise.crm.api.projectphase.ProjectPhaseVo"> |
||||
|
SELECT cct.* |
||||
|
FROM project_phase cct |
||||
|
<where> |
||||
|
${ew.sqlSegment} |
||||
|
</where> |
||||
|
</select> |
||||
|
<select id="getNodeByProjectSid" resultType="com.yxt.supervise.crm.api.projectphase.ProjectPhaseVo"> |
||||
|
select * from project_phase_dictionary where projectSid=#{projectSid} |
||||
|
</select> |
||||
|
</mapper> |
@ -0,0 +1,40 @@ |
|||||
|
package com.yxt.supervise.crm.biz.projectphaserecord; |
||||
|
|
||||
|
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.projectphase.ProjectPhaseDto; |
||||
|
import com.yxt.supervise.crm.api.projectphase.ProjectPhaseQuery; |
||||
|
import com.yxt.supervise.crm.api.projectphase.ProjectPhaseVo; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2023/4/23 11:49 |
||||
|
*/ |
||||
|
@Api(tags = "银行负责人信息") |
||||
|
@RestController |
||||
|
@RequestMapping("v1/ProjectPhaserecord") |
||||
|
public class ProjectPhaseRecordRest { |
||||
|
|
||||
|
@Autowired |
||||
|
private ProjectPhaseRecordService ProjectPhaseService; |
||||
|
|
||||
|
|
||||
|
|
||||
|
@ApiOperation("保存") |
||||
|
@PostMapping("/save") |
||||
|
public ResultBean save(@RequestBody ProjectPhaseDto dto) { |
||||
|
return ProjectPhaseService.saveProjectPhase(dto); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,45 @@ |
|||||
|
package com.yxt.supervise.crm.biz.projectphaserecord; |
||||
|
|
||||
|
import cn.hutool.core.bean.BeanUtil; |
||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
import com.yxt.common.base.service.MybatisBaseService; |
||||
|
import com.yxt.common.base.utils.PagerUtil; |
||||
|
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.projectphase.ProjectPhase; |
||||
|
import com.yxt.supervise.crm.api.projectphase.ProjectPhaseDto; |
||||
|
import com.yxt.supervise.crm.api.projectphase.ProjectPhaseQuery; |
||||
|
import com.yxt.supervise.crm.api.projectphase.ProjectPhaseVo; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2023/4/23 11:49 |
||||
|
*/ |
||||
|
@Service |
||||
|
public class ProjectPhaseRecordService extends MybatisBaseService<ProjectPhaseRecordMapper, ProjectPhase> { |
||||
|
@Autowired |
||||
|
com.yxt.supervise.crm.feign.system.SysUserFeign sysUserFeign; |
||||
|
|
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 新增 |
||||
|
* @param dto 数据传输对象 |
||||
|
* @return |
||||
|
*/ |
||||
|
public ResultBean saveProjectPhase(ProjectPhaseDto dto) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
ProjectPhase entity=new ProjectPhase(); |
||||
|
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
||||
|
baseMapper.insert(entity); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
package com.yxt.supervise.report.biz.datacenter; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/9/11 11:08 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ShCreditBalanceRecordVo { |
||||
|
private String sid; |
||||
|
private String tddate; |
||||
|
private String type; |
||||
|
private String typename; |
||||
|
private String money; |
||||
|
private String pzfile; |
||||
|
} |
@ -0,0 +1,19 @@ |
|||||
|
package com.yxt.supervise.report.biz.datacenter; |
||||
|
|
||||
|
import com.yxt.supervise.report.ds.crm.ShCreditBalanceCrmVo; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/9/10 9:31 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ShCreditBalanceVo { |
||||
|
private BigDecimal useLimit=new BigDecimal(0); |
||||
|
private BigDecimal repayment=new BigDecimal(0); |
||||
|
List<ShCreditBalanceCrmVo> List=new ArrayList<>(); |
||||
|
} |
@ -0,0 +1,21 @@ |
|||||
|
package com.yxt.supervise.report.biz.datacenter; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/9/10 9:24 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ShDateCenterVo { |
||||
|
|
||||
|
private Integer upstreamEnterprises;//上游
|
||||
|
private Integer downstreamEnterprises;//下游
|
||||
|
private BigDecimal totalSxLimit=new BigDecimal(0);//授信
|
||||
|
private BigDecimal totalYxLimit=new BigDecimal(0);//用信
|
||||
|
private List<ShValueVo> shValueVoList; |
||||
|
|
||||
|
} |
@ -0,0 +1,15 @@ |
|||||
|
package com.yxt.supervise.report.biz.datacenter; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/9/11 15:07 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ShListVo { |
||||
|
private String name; |
||||
|
private Object [] list; |
||||
|
} |
@ -0,0 +1,25 @@ |
|||||
|
package com.yxt.supervise.report.biz.datacenter; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/9/10 9:24 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ShProjectDateCenterVo { |
||||
|
|
||||
|
private Integer LoanEnterprise;//上游
|
||||
|
private Integer ensureEnterprise;//下游
|
||||
|
private Integer bank;//授信
|
||||
|
private String[] dateList; |
||||
|
private ShListVo list1; |
||||
|
private ShListVo list2; |
||||
|
private ShListVo list3; |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,16 @@ |
|||||
|
package com.yxt.supervise.report.biz.datacenter; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/9/10 9:31 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ShValueVo { |
||||
|
private String name; |
||||
|
private BigDecimal value=new BigDecimal(0); |
||||
|
// private String value;
|
||||
|
} |
@ -0,0 +1,21 @@ |
|||||
|
package com.yxt.supervise.report.biz.datacenter; |
||||
|
|
||||
|
import com.yxt.supervise.report.biz.projectinformation.WarehouseInfoVo; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/9/12 14:08 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WarehouseInfoVoSheng { |
||||
|
private String belongingPlace;//归属地
|
||||
|
List<WarehouseInfoVo> list=new ArrayList<>(); |
||||
|
private Integer dd=0; |
||||
|
private Integer zj=0; |
||||
|
private Integer jg=0; |
||||
|
|
||||
|
} |
@ -0,0 +1,21 @@ |
|||||
|
package com.yxt.supervise.report.biz.datacenter; |
||||
|
|
||||
|
import com.yxt.supervise.report.biz.projectinformation.WarehouseInfoVo; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/9/12 14:08 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WarehouseInfoVoSheng1 { |
||||
|
private String name;//归属地
|
||||
|
private Integer value=0;//归属地
|
||||
|
private Integer dd=0; |
||||
|
private Integer zj=0; |
||||
|
private Integer jg=0; |
||||
|
|
||||
|
} |
@ -0,0 +1,92 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.supervise.report.biz.projectcreditbalance; |
||||
|
|
||||
|
import cn.hutool.core.lang.Assert; |
||||
|
import com.alibaba.excel.EasyExcel; |
||||
|
import com.yxt.common.base.utils.StringUtils; |
||||
|
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.report.feign.crm.projectcreditbalance.ProjectCreditBalanceDetailsVo; |
||||
|
import com.yxt.supervise.report.feign.crm.projectcreditbalance.ProjectCreditBalanceDto; |
||||
|
import com.yxt.supervise.report.feign.crm.projectcreditbalance.ProjectCreditBalanceFeign; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.beans.factory.annotation.Value; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
import org.springframework.web.multipart.MultipartFile; |
||||
|
|
||||
|
import javax.servlet.ServletOutputStream; |
||||
|
import javax.servlet.http.HttpServletRequest; |
||||
|
import javax.servlet.http.HttpServletResponse; |
||||
|
import java.io.File; |
||||
|
import java.io.IOException; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: project_credit(企业用信登记) <br/> |
||||
|
* File: ProjectCreditBalanceFeignFallback.java <br/> |
||||
|
* Class: com.yxt.supervise.enterprisecentre.biz.projectcreditbalance.ProjectCreditBalanceRest <br/> |
||||
|
* Description: 用还信登记. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-12-28 22:51:09 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Api(tags = "用还信登记") |
||||
|
@RestController("com.yxt.supervise.enterprisecentre.biz.projectcreditbalance.ProjectCreditBalanceRest") |
||||
|
@RequestMapping("v1/projectcreditbalance") |
||||
|
public class ProjectCreditBalanceRest implements ProjectCreditBalanceFeign { |
||||
|
|
||||
|
@Autowired |
||||
|
private ProjectCreditBalanceFeign projectCreditBalanceFeign; |
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
@ApiOperation("新增或修改") |
||||
|
@PostMapping("/save") |
||||
|
public ResultBean save(@RequestBody ProjectCreditBalanceDto dto){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
projectCreditBalanceFeign.save(dto); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
|
||||
|
@ApiOperation("根据SID获取一条记录") |
||||
|
@GetMapping("/fetchDetailsBySid/{sid}") |
||||
|
public ResultBean<ProjectCreditBalanceDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
return projectCreditBalanceFeign.fetchDetailsBySid(sid); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,66 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.supervise.report.biz.projectfiles; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: project_credit(企业用信登记) <br/> |
||||
|
* File: ProjectCreditFileDto.java <br/> |
||||
|
* Class: com.yxt.supervise.enterprisecentre.api.projectcreditfile.ProjectCreditFileDto <br/> |
||||
|
* Description: 用还信登记附件 数据传输对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-12-28 22:51:10 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "项目附件 数据传输对象", description = "项目附件 数据传输对象") |
||||
|
public class ProjectFilesDto implements Dto { |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("创建者") |
||||
|
private String createSid; // 创建者
|
||||
|
@ApiModelProperty("更新者") |
||||
|
private String modifySid; // 更新者
|
||||
|
@ApiModelProperty("主表sid") |
||||
|
private String mainsid; // 主表sid
|
||||
|
List<UrlVo> reportList=new ArrayList<>(); |
||||
|
private String typeKey; // 项目附件类型
|
||||
|
private String typeValue; // 项目附件类型
|
||||
|
|
||||
|
} |
@ -0,0 +1,69 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.supervise.report.biz.projectfiles; |
||||
|
|
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.supervise.report.feign.crm.projectfiles.ProjectFilesFeign; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* Project: project_credit(企业用信登记) <br/> |
||||
|
* File: ProjectFilesFeignFallback.java <br/> |
||||
|
* Class: com.yxt.supervise.enterprisecentre.biz.ProjectFiles.ProjectFilesRest <br/> |
||||
|
* Description: 用还信登记附件. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-12-28 22:51:10 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Api(tags = "项目附件") |
||||
|
@RestController("com.yxt.supervise.enterprisecentre.biz.ProjectFiles.ProjectFilesRest") |
||||
|
@RequestMapping("v1/ProjectFiles") |
||||
|
public class ProjectFilesRest { |
||||
|
|
||||
|
@Autowired |
||||
|
private ProjectFilesFeign projectFilesFeign; |
||||
|
|
||||
|
|
||||
|
@ApiOperation("新增或修改") |
||||
|
@PostMapping("/save") |
||||
|
public ResultBean save(@RequestBody ProjectFilesDto dto){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
return projectFilesFeign.save(dto); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,16 @@ |
|||||
|
package com.yxt.supervise.report.biz.projectfiles; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/9/13 14:19 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class UrlVo { |
||||
|
@ApiModelProperty("项目附件链接") |
||||
|
private String url; // 项目附件链接
|
||||
|
private String absolutePath; // 绝对路径
|
||||
|
private String fileSrcName; // 绝对路径
|
||||
|
} |
@ -0,0 +1,20 @@ |
|||||
|
package com.yxt.supervise.report.biz.projectinformation; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2023/10/17 16:14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ProjectInfoDto { |
||||
|
private String id; |
||||
|
private String sid; |
||||
|
|
||||
|
//仓库信息dto
|
||||
|
private List<StoreHouseProjectDto> warehouse; |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,21 @@ |
|||||
|
package com.yxt.supervise.report.biz.projectinformation; |
||||
|
|
||||
|
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 warehouseSid;//仓库sid
|
||||
|
private String projectSid;//项目sid
|
||||
|
private List<String> shSids; |
||||
|
private String type; |
||||
|
} |
@ -0,0 +1,49 @@ |
|||||
|
package com.yxt.supervise.report.biz.projectinformation; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/2/26 13:37 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WarehouseInfoVo implements Vo { |
||||
|
private String id; |
||||
|
private String sid; |
||||
|
private String lockVersion; |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
||||
|
private Date createTime; |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
||||
|
private Date modifyTime; |
||||
|
private String remarks; |
||||
|
private Integer isEnable; |
||||
|
private Integer state; |
||||
|
private Integer isDelete; |
||||
|
private String warehouseName;//仓库名称
|
||||
|
private String warehouseCode;//仓库编码
|
||||
|
private String contacts;//联系人
|
||||
|
private String mob;//手机
|
||||
|
private String telephone;//联系电话
|
||||
|
private String manager;//主管
|
||||
|
private String areaSid;//地区sid
|
||||
|
private String address;//地址
|
||||
|
private String lngAndLat;//经纬度
|
||||
|
private String longitude;//经度
|
||||
|
private String latitude;//纬度
|
||||
|
private String warehouseTypeKey;//仓库类型Key
|
||||
|
private String warehouseTypeValue;//仓库类型value
|
||||
|
private Integer usageStatus;//使用状态,0停用 1正常
|
||||
|
private String squareMeter;//平方米
|
||||
|
private Integer sortNo;//排序
|
||||
|
private String useOrgSid;//创建组织sid
|
||||
|
private String createOrgSid;//创建组织sid
|
||||
|
|
||||
|
private String userSid; |
||||
|
private String orgPath; |
||||
|
private String gsd; |
||||
|
} |
@ -0,0 +1,33 @@ |
|||||
|
package com.yxt.supervise.report.biz.projectphase; |
||||
|
|
||||
|
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.report.feign.crm.projectphase.ProjectPhaseFeign; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2023/4/23 11:49 |
||||
|
*/ |
||||
|
@Api(tags = "银行负责人信息") |
||||
|
@RestController |
||||
|
@RequestMapping("v1/projectphase") |
||||
|
public class ProjectPhaseRest { |
||||
|
|
||||
|
@Autowired |
||||
|
private ProjectPhaseFeign projectPhaseFeign; |
||||
|
|
||||
|
@ApiOperation("根据sid查询") |
||||
|
@GetMapping("/getNodeByProjectSid") |
||||
|
public ResultBean<List<ProjectPhaseVo>> getNodeByProjectSid(@RequestParam("projectSid") String projectSid) { |
||||
|
return projectPhaseFeign.getNodeByProjectSid(projectSid); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,15 @@ |
|||||
|
package com.yxt.supervise.report.biz.projectphase; |
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2023/7/19 15:37 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ProjectPhaseVo implements Vo { |
||||
|
private String projectSid; |
||||
|
private String nodeKey; |
||||
|
private String nodeValue; |
||||
|
} |
@ -0,0 +1,20 @@ |
|||||
|
package com.yxt.supervise.report.biz.projectphaserecord; |
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2023/7/19 15:37 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ProjectPhaseRecordDto implements Dto { |
||||
|
private String sid; |
||||
|
private String enterpriseSid; |
||||
|
private String orderDate; |
||||
|
private BigDecimal total; |
||||
|
private String nodeKey; |
||||
|
private String nodeValue; |
||||
|
} |
@ -0,0 +1,37 @@ |
|||||
|
package com.yxt.supervise.report.biz.projectphaserecord; |
||||
|
|
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.supervise.report.feign.crm.projectphaserecord.ProjectPhaseRecordFeign; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.PostMapping; |
||||
|
import org.springframework.web.bind.annotation.RequestBody; |
||||
|
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
import org.springframework.web.bind.annotation.RestController; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2023/4/23 11:49 |
||||
|
*/ |
||||
|
@Api(tags = "银行负责人信息") |
||||
|
@RestController |
||||
|
@RequestMapping("v1/projectphaserecord") |
||||
|
public class ProjectPhaseRecordRest { |
||||
|
|
||||
|
@Autowired |
||||
|
private ProjectPhaseRecordFeign projectPhaseRecordFeign; |
||||
|
|
||||
|
|
||||
|
|
||||
|
@ApiOperation("保存") |
||||
|
@PostMapping("/save") |
||||
|
public ResultBean save(@RequestBody ProjectPhaseRecordDto dto) { |
||||
|
return projectPhaseRecordFeign.save(dto); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,18 @@ |
|||||
|
package com.yxt.supervise.report.ds.crm; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/9/11 17:15 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class PhaseRecord { |
||||
|
private String sid; |
||||
|
private String orderDate; |
||||
|
private String enterpriseSid; |
||||
|
private String total; |
||||
|
private String nodeKey; |
||||
|
private String nodeValue; |
||||
|
|
||||
|
} |
@ -0,0 +1,16 @@ |
|||||
|
package com.yxt.supervise.report.ds.crm; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/9/13 15:10 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ProjectRecordVo { |
||||
|
private String createTime; |
||||
|
private String absolutePath; |
||||
|
private String url; |
||||
|
private String name; |
||||
|
private String entryName; |
||||
|
} |
@ -0,0 +1,24 @@ |
|||||
|
package com.yxt.supervise.report.ds.crm; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/9/11 11:53 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ShCreditBalanceCrmVo { |
||||
|
private String sid; |
||||
|
private String type; |
||||
|
private String tbdate; |
||||
|
private BigDecimal money; |
||||
|
private String projectsid; |
||||
|
private String projectname; |
||||
|
private String enterpriseSid; |
||||
|
private String enterpriseName; |
||||
|
private String pzfile; |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,22 @@ |
|||||
|
package com.yxt.supervise.report.ds.crm; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/9/11 11:53 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ShPhaseRecordVo { |
||||
|
private String sid; |
||||
|
private String orderDate; |
||||
|
private String enterpriseSid; |
||||
|
private BigDecimal total; |
||||
|
private String projectSid; |
||||
|
private String nodeKey; |
||||
|
private String nodeValue; |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,74 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.supervise.report.feign.crm.projectcreditbalance; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: project_credit(企业用信登记) <br/> |
||||
|
* File: ProjectCreditBalanceVo.java <br/> |
||||
|
* Class: com.yxt.supervise.enterprisecentre.api.projectcreditbalance.ProjectCreditBalanceVo <br/> |
||||
|
* Description: 用还信登记 视图数据对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-12-28 22:51:09 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "用还信登记 视图数据详情", description = "用还信登记 视图数据详情") |
||||
|
public class ProjectCreditBalanceDetailsVo implements Vo { |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("创建者") |
||||
|
private String createSid; // 创建者
|
||||
|
@ApiModelProperty("更新者") |
||||
|
private String modifySid; // 更新者
|
||||
|
@ApiModelProperty("项目sid") |
||||
|
private String projectsid; // 项目sid
|
||||
|
@ApiModelProperty("项目名称") |
||||
|
private String projectname; // 项目名称
|
||||
|
@ApiModelProperty("填报日期") |
||||
|
private String tbdate; // 填报日期
|
||||
|
@ApiModelProperty("用还信类型:1借方用信,2贷方还信") |
||||
|
private String type; // 用还信类型:1借方用信,2贷方还信
|
||||
|
@ApiModelProperty("用还信名称:1借方用信,2贷方还信") |
||||
|
private String typename; // 用还信名称:1借方用信,2贷方还信
|
||||
|
@ApiModelProperty("金额") |
||||
|
private String money; // 金额
|
||||
|
@ApiModelProperty("凭证图片") |
||||
|
private List<String> pzfiles; // 凭证图片
|
||||
|
|
||||
|
} |
@ -0,0 +1,74 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.supervise.report.feign.crm.projectcreditbalance; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: project_credit(企业用信登记) <br/> |
||||
|
* File: ProjectCreditBalanceDto.java <br/> |
||||
|
* Class: com.yxt.supervise.enterprisecentre.api.projectcreditbalance.ProjectCreditBalanceDto <br/> |
||||
|
* Description: 用还信登记 数据传输对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-12-28 22:51:09 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "用还信登记 数据传输对象", description = "用还信登记 数据传输对象") |
||||
|
public class ProjectCreditBalanceDto implements Dto { |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("项目sid") |
||||
|
private String projectsid; // 项目sid
|
||||
|
@ApiModelProperty("项目名称") |
||||
|
private String projectname; // 项目名称
|
||||
|
@ApiModelProperty("填报日期") |
||||
|
private String tbdate; // 填报日期
|
||||
|
@ApiModelProperty("用还信类型:1借方用信,2贷方还信") |
||||
|
private String type; // 用还信类型:1借方用信,2贷方还信
|
||||
|
@ApiModelProperty("用还信名称:1借方用信,2贷方还信") |
||||
|
private String typename; // 用还信名称:1借方用信,2贷方还信
|
||||
|
@ApiModelProperty("金额") |
||||
|
private String money; // 金额
|
||||
|
@ApiModelProperty("凭证图片") |
||||
|
private List<String> pzfiles; // 凭证图片
|
||||
|
@ApiModelProperty("用户sid") |
||||
|
private String usersid; // 用户sid
|
||||
|
@ApiModelProperty("摘要") |
||||
|
private String remarks; |
||||
|
|
||||
|
} |
@ -0,0 +1,84 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.supervise.report.feign.crm.projectcreditbalance; |
||||
|
|
||||
|
import cn.hutool.core.lang.Assert; |
||||
|
import com.alibaba.excel.EasyExcel; |
||||
|
import com.yxt.common.base.utils.StringUtils; |
||||
|
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.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.beans.factory.annotation.Value; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
import org.springframework.web.multipart.MultipartFile; |
||||
|
|
||||
|
import javax.servlet.ServletOutputStream; |
||||
|
import javax.servlet.http.HttpServletRequest; |
||||
|
import javax.servlet.http.HttpServletResponse; |
||||
|
import java.io.File; |
||||
|
import java.io.IOException; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: project_credit(企业用信登记) <br/> |
||||
|
* File: ProjectCreditBalanceFeignFallback.java <br/> |
||||
|
* Class: com.yxt.supervise.enterprisecentre.biz.projectcreditbalance.ProjectCreditBalanceRest <br/> |
||||
|
* Description: 用还信登记. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-12-28 22:51:09 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@FeignClient( |
||||
|
contextId = "supervise-crm-ProjectCreditBalance", |
||||
|
name = "supervise-crm", |
||||
|
path = "v1/projectcreditbalance") |
||||
|
public interface ProjectCreditBalanceFeign { |
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
@ApiOperation("新增或修改") |
||||
|
@PostMapping("/save") |
||||
|
public ResultBean save(@RequestBody ProjectCreditBalanceDto dto); |
||||
|
|
||||
|
|
||||
|
|
||||
|
@ApiOperation("根据SID获取一条记录") |
||||
|
@GetMapping("/fetchDetailsBySid/{sid}") |
||||
|
public ResultBean<ProjectCreditBalanceDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,63 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.supervise.report.feign.crm.projectfiles; |
||||
|
|
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.supervise.report.biz.projectfiles.ProjectFilesDto; |
||||
|
import com.yxt.supervise.report.feign.crm.projectcreditbalance.ProjectCreditBalanceDetailsVo; |
||||
|
import com.yxt.supervise.report.feign.crm.projectcreditbalance.ProjectCreditBalanceDto; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
import org.springframework.web.bind.annotation.GetMapping; |
||||
|
import org.springframework.web.bind.annotation.PathVariable; |
||||
|
import org.springframework.web.bind.annotation.PostMapping; |
||||
|
import org.springframework.web.bind.annotation.RequestBody; |
||||
|
|
||||
|
/** |
||||
|
* Project: project_credit(企业用信登记) <br/> |
||||
|
* File: ProjectCreditBalanceFeignFallback.java <br/> |
||||
|
* Class: com.yxt.supervise.enterprisecentre.biz.projectcreditbalance.ProjectCreditBalanceRest <br/> |
||||
|
* Description: 用还信登记. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-12-28 22:51:09 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@FeignClient( |
||||
|
contextId = "supervise-crm-ProjectFiles", |
||||
|
name = "supervise-crm", |
||||
|
path = "v1/projectfiles") |
||||
|
public interface ProjectFilesFeign { |
||||
|
|
||||
|
|
||||
|
@ApiOperation("新增或修改") |
||||
|
@PostMapping("/save") |
||||
|
public ResultBean save(@RequestBody ProjectFilesDto dto); |
||||
|
|
||||
|
} |
@ -0,0 +1,31 @@ |
|||||
|
package com.yxt.supervise.report.feign.crm.projectphase; |
||||
|
|
||||
|
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.report.biz.projectphase.ProjectPhaseVo; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2023/4/23 11:49 |
||||
|
*/ |
||||
|
@FeignClient( |
||||
|
contextId = "supervise-crm-projectphase", |
||||
|
name = "supervise-crm", |
||||
|
path = "v1/ProjectPhase") |
||||
|
public interface ProjectPhaseFeign { |
||||
|
|
||||
|
|
||||
|
@ApiOperation("根据sid查询") |
||||
|
@GetMapping("/getNodeByProjectSid") |
||||
|
public ResultBean<List<ProjectPhaseVo>> getNodeByProjectSid(@RequestParam("projectSid") String projectSid); |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,26 @@ |
|||||
|
package com.yxt.supervise.report.feign.crm.projectphaserecord; |
||||
|
|
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.supervise.report.biz.projectphaserecord.ProjectPhaseRecordDto; |
||||
|
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/23 11:49 |
||||
|
*/ |
||||
|
@FeignClient( |
||||
|
contextId = "supervise-crm-projectphaserecord", |
||||
|
name = "supervise-crm", |
||||
|
path = "v1/projectphaserecord") |
||||
|
public interface ProjectPhaseRecordFeign { |
||||
|
|
||||
|
|
||||
|
@ApiOperation("保存") |
||||
|
@PostMapping("/save") |
||||
|
public ResultBean save(@RequestBody ProjectPhaseRecordDto dto); |
||||
|
|
||||
|
|
||||
|
} |
Loading…
Reference in new issue