From f702239506e1813b194a97d0143a7a687df93503 Mon Sep 17 00:00:00 2001
From: yz <3614508250@qq.com>
Date: Mon, 4 Dec 2023 13:46:10 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=A1=B9=E7=9B=AE=E5=B0=BD?=
=?UTF-8?q?=E8=B0=83=E5=8A=9F=E8=83=BD=E3=80=81=E9=A1=B9=E7=9B=AE=E4=BC=B0?=
=?UTF-8?q?=E5=80=BCPE=E3=80=81PB=E3=80=81PS=E7=AD=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 5 +
.../controller/FoundProjectController.java | 17 +-
.../controller/FundraisingController.java | 3 +
.../controller/ProjectDueDiligence.java | 713 +++++++-
.../controller/ProjectValuation.java | 51 +
.../fund_investment/entity/EduCompany.java | 31 +
.../entity/EduCompanyExample.java | 339 ++++
.../entity/EduProjectValuation.java | 198 +++
.../entity/EduProjectValuationExample.java | 1250 ++++++++++++++
.../entity/ProBusinessInfo.java | 218 +++
.../entity/ProBusinessInfoExample.java | 1529 +++++++++++++++++
.../entity/ProFinancialIndexDetail.java | 3 +
.../entity/treeSelect/TreeSelect.java | 93 +
.../mapper/EduCompanyMapper.java | 30 +
.../mapper/EduProjectValuationMapper.java | 32 +
.../mapper/ProBusinessInfoMapper.java | 32 +
.../mapper/ProFinancialIndexDetailMapper.java | 6 +-
.../mapper/ProFinancialIndexMapper.java | 6 +
.../ProFinancialStatementDetailMapper.java | 6 +-
.../mapper/ProFinancialStatementMapper.java | 6 +-
.../ISysProjectDueDiligenceService.java | 12 +
.../service/ISysProjectValuationService.java | 11 +
.../SysProjectDueDiligenceServiceImpl.java | 71 +-
.../SysProjectValuationServiceImpl.java | 49 +
.../util/pdfUtils/HeaderAndFooterEvent.java | 193 +++
.../resources/mappers/EduCompanyMapper.xml | 164 ++
.../mappers/EduProjectValuationMapper.xml | 401 +++++
.../mappers/ProBusinessInfoMapper.xml | 434 +++++
.../mappers/ProFinancialIndexDetailMapper.xml | 11 +
.../mappers/ProFinancialIndexMapper.xml | 7 +
.../ProFinancialStatementDetailMapper.xml | 23 +-
.../mappers/ProFinancialStatementMapper.xml | 6 +
32 files changed, 5889 insertions(+), 61 deletions(-)
create mode 100644 src/main/java/com/sztzjy/fund_investment/controller/ProjectValuation.java
create mode 100644 src/main/java/com/sztzjy/fund_investment/entity/EduCompany.java
create mode 100644 src/main/java/com/sztzjy/fund_investment/entity/EduCompanyExample.java
create mode 100644 src/main/java/com/sztzjy/fund_investment/entity/EduProjectValuation.java
create mode 100644 src/main/java/com/sztzjy/fund_investment/entity/EduProjectValuationExample.java
create mode 100644 src/main/java/com/sztzjy/fund_investment/entity/ProBusinessInfo.java
create mode 100644 src/main/java/com/sztzjy/fund_investment/entity/ProBusinessInfoExample.java
create mode 100644 src/main/java/com/sztzjy/fund_investment/entity/treeSelect/TreeSelect.java
create mode 100644 src/main/java/com/sztzjy/fund_investment/mapper/EduCompanyMapper.java
create mode 100644 src/main/java/com/sztzjy/fund_investment/mapper/EduProjectValuationMapper.java
create mode 100644 src/main/java/com/sztzjy/fund_investment/mapper/ProBusinessInfoMapper.java
create mode 100644 src/main/java/com/sztzjy/fund_investment/service/ISysProjectValuationService.java
create mode 100644 src/main/java/com/sztzjy/fund_investment/service/serviceImpl/SysProjectValuationServiceImpl.java
create mode 100644 src/main/java/com/sztzjy/fund_investment/util/pdfUtils/HeaderAndFooterEvent.java
create mode 100644 src/main/resources/mappers/EduCompanyMapper.xml
create mode 100644 src/main/resources/mappers/EduProjectValuationMapper.xml
create mode 100644 src/main/resources/mappers/ProBusinessInfoMapper.xml
diff --git a/pom.xml b/pom.xml
index d3559c6..f404f1b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,6 +35,11 @@
itextpdf
5.5.13
+
+ com.itextpdf
+ itext-asian
+ 5.2.0
+
org.springframework.boot
spring-boot-starter
diff --git a/src/main/java/com/sztzjy/fund_investment/controller/FoundProjectController.java b/src/main/java/com/sztzjy/fund_investment/controller/FoundProjectController.java
index 77412d8..6b3067e 100644
--- a/src/main/java/com/sztzjy/fund_investment/controller/FoundProjectController.java
+++ b/src/main/java/com/sztzjy/fund_investment/controller/FoundProjectController.java
@@ -1,6 +1,7 @@
package com.sztzjy.fund_investment.controller;
import com.github.pagehelper.PageInfo;
+import com.sztzjy.fund_investment.annotation.AnonymousAccess;
import com.sztzjy.fund_investment.entity.FoundProject;
import com.sztzjy.fund_investment.entity.ProjectPool;
import com.sztzjy.fund_investment.mapper.FoundProjectMapper;
@@ -22,7 +23,7 @@ import org.springframework.web.bind.annotation.*;
import java.io.File;
import java.nio.file.Paths;
-
+//yz
@RestController
@RequestMapping("/foundProjectController")
@Api(tags = "学生端--寻找项目")
@@ -38,6 +39,7 @@ public class FoundProjectController {
@GetMapping("getProjectPoolList")
@ApiOperation("寻找项目数据展示")
+ @AnonymousAccess
public ResultEntity getFundraising(@ApiParam("条数") @RequestParam Integer size,
@ApiParam("页数") @RequestParam Integer index) {
PageInfo pageInfo=projectPoolService.selectList(size,index);
@@ -63,14 +65,21 @@ public class FoundProjectController {
@PostMapping("projectApproval")
@ApiOperation("立项")
+ @AnonymousAccess
public ResultEntity projectApproval(@ApiParam("传递flow_id,project_pool_id,found_project_conclusion") @RequestBody FoundProject foundProject){
if(StringUtils.isBlank(foundProject.getFlowId())){
return new ResultEntity(HttpStatus.BAD_REQUEST,"流程ID未上传");
- }else if(StringUtils.isBlank(foundProject.getProjectPoolId())){
+ }
+ if(StringUtils.isBlank(foundProject.getProjectPoolId())){
return new ResultEntity(HttpStatus.BAD_REQUEST,"未选择项目");
- }else if(StringUtils.isBlank(foundProject.getFoundProjectConclusion())){
+ }
+ if(StringUtils.isBlank(foundProject.getFoundProjectConclusion())){
return new ResultEntity(HttpStatus.BAD_REQUEST,"未填写选择理由");
}
+ FoundProject foundProject1 = foundProjectMapper.selectByPrimaryKey(foundProject.getFlowId());
+ if(foundProject1!=null){
+ return new ResultEntity(HttpStatus.BAD_REQUEST,"本次实训已立项过");
+ }
foundProjectMapper.insert(foundProject);
return new ResultEntity(HttpStatus.OK,"立项成功");
}
@@ -80,6 +89,8 @@ public class FoundProjectController {
@ApiOperation("立项回显")
public ResultEntity getProjectApproval(@ApiParam("流程ID") @RequestParam String flowId){
FoundProject foundProject=foundProjectService.selectByFlowId(flowId);
+ foundProject.setFinancialDueDiligence(null);
+ foundProject.setServiceDueDiligence(null);
return new ResultEntity(HttpStatus.OK,"立项回显成功",foundProject);
}
diff --git a/src/main/java/com/sztzjy/fund_investment/controller/FundraisingController.java b/src/main/java/com/sztzjy/fund_investment/controller/FundraisingController.java
index 0fcac87..a74ca1b 100644
--- a/src/main/java/com/sztzjy/fund_investment/controller/FundraisingController.java
+++ b/src/main/java/com/sztzjy/fund_investment/controller/FundraisingController.java
@@ -18,6 +18,7 @@ import org.springframework.web.bind.annotation.RestController;
import java.math.BigDecimal;
import java.util.UUID;
+//yz
@RestController
@RequestMapping("/fundraisingController")
@Api(tags = "学生端--资金募资")
@@ -30,6 +31,7 @@ public class FundraisingController {
@AnonymousAccess
@GetMapping("getFundraising")
@ApiOperation("资金募资回显")
+ @AnonymousAccess
public ResultEntity getFundraising(@ApiParam("流程id") @RequestParam String flowId) {
Fundraising fundraising=fundraisingService.selectByFlowId(flowId);
return new ResultEntity(HttpStatus.OK,"资金募资回显成功",fundraising);
@@ -38,6 +40,7 @@ public class FundraisingController {
@AnonymousAccess
@GetMapping("insertFundraising")
@ApiOperation("新增基金募资")
+ @AnonymousAccess
public ResultEntity insertFundraising(@ApiParam("流程id") @RequestParam String flowId,
@ApiParam("自有资金") @RequestParam BigDecimal ownFunds,
@ApiParam("银行借款") @RequestParam BigDecimal bankLoan,
diff --git a/src/main/java/com/sztzjy/fund_investment/controller/ProjectDueDiligence.java b/src/main/java/com/sztzjy/fund_investment/controller/ProjectDueDiligence.java
index b49b7f9..88de0fe 100644
--- a/src/main/java/com/sztzjy/fund_investment/controller/ProjectDueDiligence.java
+++ b/src/main/java/com/sztzjy/fund_investment/controller/ProjectDueDiligence.java
@@ -1,19 +1,37 @@
package com.sztzjy.fund_investment.controller;
+import cn.hutool.core.util.IdUtil;
+import com.github.pagehelper.PageInfo;
+import com.itextpdf.text.*;
+import com.itextpdf.text.Font;
+import com.itextpdf.text.pdf.PdfPCell;
+import com.itextpdf.text.pdf.PdfPTable;
+import com.itextpdf.text.pdf.PdfWriter;
+import com.sztzjy.fund_investment.annotation.AnonymousAccess;
import com.sztzjy.fund_investment.entity.*;
+import com.sztzjy.fund_investment.entity.treeSelect.TreeSelect;
import com.sztzjy.fund_investment.mapper.FoundProjectMapper;
+import com.sztzjy.fund_investment.mapper.ProjectPoolMapper;
import com.sztzjy.fund_investment.service.ISysProjectDueDiligenceService;
import com.sztzjy.fund_investment.util.ResultEntity;
+import com.sztzjy.fund_investment.util.excel.FilePortUtil;
+import com.sztzjy.fund_investment.util.pdfUtils.HeaderAndFooterEvent;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.apache.commons.lang3.StringUtils;
+import org.apache.poi.ss.formula.functions.T;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.*;
-
+import javax.servlet.http.HttpServletResponse;
+import java.awt.*;
+import java.io.IOException;
+import java.util.*;
import java.util.List;
+
+//yz
@RestController
@RequestMapping("/projectDueDiligenceController")
@Api(tags = "学生端--项目尽调")
@@ -22,115 +40,714 @@ public class ProjectDueDiligence {
ISysProjectDueDiligenceService projectDueDiligenceService;
@Autowired
FoundProjectMapper foundProjectMapper;
+ @Autowired
+ ProjectPoolMapper projectPoolMapper;
+ @Autowired
+ HeaderAndFooterEvent headerAndFooterEvent;
+ //*************公司业务尽职调查
+
+ @GetMapping("getProjectPoolNameByFlowId")
+ @ApiOperation("查询公司名称")
+ @AnonymousAccess
+ public String getProjectPoolNameByFlowId(@ApiParam("流程ID") @RequestParam String flowId) {
+ String projectPoolId = foundProjectMapper.selectByPrimaryKey(flowId).getProjectPoolId();
+ String companyName = projectPoolMapper.selectByPrimaryKey(projectPoolId).getCompanyName();
+ return companyName;
+ }
+
@GetMapping("getBusinessInfoShareholderList")
- @ApiOperation("公司背景-公司信息")
- public ResultEntity getBusinessInfoShareholderList(@ApiParam("流程ID") @RequestParam String flowId) {
- List list=projectDueDiligenceService.getBusinessInfoShareholderListByFlowId(flowId);
- return new ResultEntity(HttpStatus.OK,"公司背景-公司信息,展示成功",list);
+ @ApiOperation("公司背景-工商信息上")
+ @AnonymousAccess
+ public ResultEntity getBusinessInfoShareholderList(@ApiParam("流程ID") @RequestParam String flowId) {
+ List list = projectDueDiligenceService.getBusinessInfoShareholderListByFlowId(flowId);
+ return new ResultEntity(HttpStatus.OK, "公司背景-工商信息上,展示成功", list.get(0));
+ }
+
+ @GetMapping("getBusinessInfoList")
+ @ApiOperation("公司背景-工商信息下")
+ @AnonymousAccess
+ public ResultEntity getBusinessInfoList(@ApiParam("流程ID") @RequestParam String flowId) {
+ List list = projectDueDiligenceService.getBusinessInfoList(flowId);
+ return new ResultEntity(HttpStatus.OK, "公司背景-工商信息下,展示成功", list.get(0));
}
@GetMapping("getProJudicialRiskList")
@ApiOperation("司法风险")
- public ResultEntity getProJudicialRiskList(@ApiParam("流程ID") @RequestParam String flowId) {
- List list=projectDueDiligenceService.getProJudicialRiskListByFlowId(flowId);
- return new ResultEntity(HttpStatus.OK,"司法风险,展示成功",list);
+ @AnonymousAccess
+ public ResultEntity> getProJudicialRiskList(@ApiParam("流程ID") @RequestParam String flowId) {
+ List list = projectDueDiligenceService.getProJudicialRiskListByFlowId(flowId);
+ return new ResultEntity(HttpStatus.OK, "司法风险,展示成功", list);
}
@GetMapping("getProBusinessRiskList")
@ApiOperation("经营风险")
- public ResultEntity getProBusinessRiskList(@ApiParam("流程ID") @RequestParam String flowId) {
- List list=projectDueDiligenceService.getProBusinessRiskListByFlowId(flowId);
- return new ResultEntity(HttpStatus.OK,"经营风险,展示成功",list);
+ @AnonymousAccess
+ public ResultEntity> getProBusinessRiskList(@ApiParam("流程ID") @RequestParam String flowId) {
+ List list = projectDueDiligenceService.getProBusinessRiskListByFlowId(flowId);
+ return new ResultEntity(HttpStatus.OK, "经营风险,展示成功", list);
}
@GetMapping("getProCoreTeamList")
@ApiOperation("公司发展-核心团队")
- public ResultEntity getProCoreTeamList(@ApiParam("流程ID") @RequestParam String flowId) {
- List list=projectDueDiligenceService.getProCoreTeamListByFlowId(flowId);
- return new ResultEntity(HttpStatus.OK,"公司发展-核心团队,展示成功",list);
+ @AnonymousAccess
+ public ResultEntity> getProCoreTeamList(@ApiParam("流程ID") @RequestParam String flowId) {
+ List list = projectDueDiligenceService.getProCoreTeamListByFlowId(flowId);
+ return new ResultEntity(HttpStatus.OK, "公司发展-核心团队,展示成功", list);
}
@GetMapping("getProCoreBusinessList")
@ApiOperation("公司发展-核心业务")
- public ResultEntity getProCoreBusinessList(@ApiParam("流程ID") @RequestParam String flowId) {
- List list=projectDueDiligenceService.getProCoreBusinessListByFlowId(flowId);
- return new ResultEntity(HttpStatus.OK,"公司发展-核心业务,展示成功",list);
+ @AnonymousAccess
+ public ResultEntity> getProCoreBusinessList(@ApiParam("流程ID") @RequestParam String flowId) {
+ List list = projectDueDiligenceService.getProCoreBusinessListByFlowId(flowId);
+ return new ResultEntity(HttpStatus.OK, "公司发展-核心业务,展示成功", list);
}
@GetMapping("getProCoreCompProList")
@ApiOperation("公司发展-相关竞品")
- public ResultEntity getProCoreCompProList(@ApiParam("流程ID") @RequestParam String flowId) {
- List list=projectDueDiligenceService.getProCoreCompProListByFlowId(flowId);
- return new ResultEntity(HttpStatus.OK,"公司发展-相关竞品,展示成功",list);
+ @AnonymousAccess
+ public ResultEntity> getProCoreCompProList(@ApiParam("流程ID") @RequestParam String flowId) {
+ List list = projectDueDiligenceService.getProCoreCompProListByFlowId(flowId);
+ return new ResultEntity(HttpStatus.OK, "公司发展-相关竞品,展示成功", list);
}
@GetMapping("getProManaSituRecruitList")
@ApiOperation("经营状况-公司招聘")
- public ResultEntity getProManaSituRecruitList(@ApiParam("流程ID") @RequestParam String flowId) {
- List list=projectDueDiligenceService.getProManaSituRecruitListByFlowId(flowId);
- return new ResultEntity(HttpStatus.OK,"经营状况-公司招聘,展示成功",list);
+ @AnonymousAccess
+ public ResultEntity> getProManaSituRecruitList(@ApiParam("流程ID") @RequestParam String flowId) {
+ List list = projectDueDiligenceService.getProManaSituRecruitListByFlowId(flowId);
+ return new ResultEntity(HttpStatus.OK, "经营状况-公司招聘,展示成功", list);
}
@GetMapping("getProManaSituCheckList")
@ApiOperation("经营状况-抽查检查")
- public ResultEntity getProManaSituCheckList(@ApiParam("流程ID") @RequestParam String flowId) {
- List list=projectDueDiligenceService.getProManaSituCheckListByFlowId(flowId);
- return new ResultEntity(HttpStatus.OK,"经营状况-抽查检查,展示成功",list);
+ @AnonymousAccess
+ public ResultEntity> getProManaSituCheckList(@ApiParam("流程ID") @RequestParam String flowId) {
+ List list = projectDueDiligenceService.getProManaSituCheckListByFlowId(flowId);
+ return new ResultEntity(HttpStatus.OK, "经营状况-抽查检查,展示成功", list);
}
@GetMapping("getProManaSituLicenseList")
@ApiOperation("经营状况-行政许可")
- public ResultEntity getProManaSituLicenseList(@ApiParam("流程ID") @RequestParam String flowId) {
- List list=projectDueDiligenceService.getProManaSituLicenseListByFlowId(flowId);
- return new ResultEntity(HttpStatus.OK,"经营状况-行政许可,展示成功",list);
+ @AnonymousAccess
+ public ResultEntity> getProManaSituLicenseList(@ApiParam("流程ID") @RequestParam String flowId) {
+ List list = projectDueDiligenceService.getProManaSituLicenseListByFlowId(flowId);
+ return new ResultEntity(HttpStatus.OK, "经营状况-行政许可,展示成功", list);
}
@GetMapping("getProManaSituTenderingBiddingList")
@ApiOperation("经营状况-招投标")
- public ResultEntity getProManaSituTenderingBiddingList(@ApiParam("流程ID") @RequestParam String flowId) {
- List list=projectDueDiligenceService.getProManaSituTenderingBiddingListByFlowId(flowId);
- return new ResultEntity(HttpStatus.OK,"经营状况-招投标,展示成功",list);
+ @AnonymousAccess
+ public ResultEntity> getProManaSituTenderingBiddingList(@ApiParam("流程ID") @RequestParam String flowId) {
+ List list = projectDueDiligenceService.getProManaSituTenderingBiddingListByFlowId(flowId);
+ return new ResultEntity(HttpStatus.OK, "经营状况-招投标,展示成功", list);
}
@GetMapping("getProIntelPropertyPatentInfoList")
@ApiOperation("知识产权-专利信息")
- public ResultEntity getProIntelPropertyPatentInfoList(@ApiParam("流程ID") @RequestParam String flowId) {
- List list=projectDueDiligenceService.getProIntelPropertyPatentInfoListByFlowId(flowId);
- return new ResultEntity(HttpStatus.OK,"知识产权-专利信息,展示成功",list);
+ @AnonymousAccess
+ public ResultEntity> getProIntelPropertyPatentInfoList(@ApiParam("流程ID") @RequestParam String flowId) {
+ List list = projectDueDiligenceService.getProIntelPropertyPatentInfoListByFlowId(flowId);
+ return new ResultEntity(HttpStatus.OK, "知识产权-专利信息,展示成功", list);
}
@GetMapping("getProIntelPropertyWebsiteRecordList")
@ApiOperation("知识产权-网站备案")
- public ResultEntity getProIntelPropertyWebsiteRecordList(@ApiParam("流程ID") @RequestParam String flowId) {
- List list=projectDueDiligenceService.getProIntelPropertyWebsiteRecordListByFlowId(flowId);
- return new ResultEntity(HttpStatus.OK,"知识产权-网站备案,展示成功",list);
+ @AnonymousAccess
+ public ResultEntity> getProIntelPropertyWebsiteRecordList(@ApiParam("流程ID") @RequestParam String flowId) {
+ List list = projectDueDiligenceService.getProIntelPropertyWebsiteRecordListByFlowId(flowId);
+ return new ResultEntity(HttpStatus.OK, "知识产权-网站备案,展示成功", list);
}
@GetMapping("getProAdminiPenaltyList")
@ApiOperation("法律尽职调查-行政处罚【信用中国】")
- public ResultEntity getProAdminiPenaltyList(@ApiParam("流程ID") @RequestParam String flowId) {
- List list=projectDueDiligenceService.getProAdminiPenaltyListByFlowId(flowId);
- return new ResultEntity(HttpStatus.OK,"法律尽职调查-行政处罚【信用中国】,展示成功",list);
+ @AnonymousAccess
+ public ResultEntity> getProAdminiPenaltyList(@ApiParam("流程ID") @RequestParam String flowId) {
+ List list = projectDueDiligenceService.getProAdminiPenaltyListByFlowId(flowId);
+ return new ResultEntity(HttpStatus.OK, "法律尽职调查-行政处罚【信用中国】,展示成功", list);
}
@PostMapping("updateServiceDueDiligence")
@ApiOperation("业务尽调结论")
+ @AnonymousAccess
public ResultEntity updateServiceDueDiligence(@ApiParam("转递flow_id、service_due_diligence") @RequestBody FoundProject foundProject) {
- if(StringUtils.isBlank(foundProject.getFlowId())){
- return new ResultEntity(HttpStatus.BAD_REQUEST,"流程ID为空");
+ if (StringUtils.isBlank(foundProject.getFlowId())) {
+ return new ResultEntity(HttpStatus.BAD_REQUEST, "流程ID为空");
}
- if(StringUtils.isBlank(foundProject.getServiceDueDiligence())){
- return new ResultEntity(HttpStatus.BAD_REQUEST,"业务尽调结论为空");
+ if (StringUtils.isBlank(foundProject.getServiceDueDiligence())) {
+ return new ResultEntity(HttpStatus.BAD_REQUEST, "业务尽调结论为空");
}
projectDueDiligenceService.updateServiceDueDiligence(foundProject);
- return new ResultEntity(HttpStatus.OK,"业务尽调结论上传成功");
+ return new ResultEntity(HttpStatus.OK, "业务尽调结论保存成功");
}
@GetMapping("getServiceDueDiligence")
@ApiOperation("业务尽调结论回显")
- public ResultEntity getServiceDueDiligence(@ApiParam("流程ID") @RequestParam String flowId) {
+ @AnonymousAccess
+ public ResultEntity getServiceDueDiligence(@ApiParam("流程ID") @RequestParam String flowId) {
FoundProject foundProject = foundProjectMapper.selectByPrimaryKey(flowId);
- return new ResultEntity(HttpStatus.OK,"业务尽调结论,展示成功",foundProject);
+ foundProject.setFinancialDueDiligence(null);
+ foundProject.setFoundProjectConclusion(null);
+ return new ResultEntity(HttpStatus.OK, "业务尽调结论,展示成功", foundProject);
+ }
+
+
+ //*********************公司财务尽职调查
+
+
+ @GetMapping("getProFinancialIndexSelectTree")
+ @ApiOperation("财务指标选取下拉框")
+ @AnonymousAccess
+ public ResultEntity> getProFinancialIndexSelectTree() {
+ List list = projectDueDiligenceService.getProFinancialIndexSelectTree();
+ return new ResultEntity(HttpStatus.OK, "财务指标选取下拉框,展示成功", list);
+ }
+
+ @GetMapping("getProFinancialStatementSelectTree")
+ @ApiOperation("财务报表选取下拉框")
+ @AnonymousAccess
+ public ResultEntity> getProFinancialStatementSelectTree() {
+ List list = projectDueDiligenceService.getProFinancialStatementSelectTree();
+ return new ResultEntity(HttpStatus.OK, "财务报表选取下拉框,展示成功", list);
+ }
+
+ @GetMapping("selectProFinancialIndexDetailList")
+ @ApiOperation("财务指标查询")
+ @AnonymousAccess
+ public ResultEntity> selectProFinancialIndexDetailList(@ApiParam("节点id的集合List") @RequestParam List proFinancialIndexIdList,
+ @ApiParam("流程ID") @RequestParam String flowId,
+ @ApiParam("条数") @RequestParam Integer size,
+ @ApiParam("页数") @RequestParam Integer index) {
+ PageInfo pageInfo = projectDueDiligenceService.selectProFinancialIndexDetailList(proFinancialIndexIdList, flowId, size, index);
+ return new ResultEntity(HttpStatus.OK, "财务指标查询成功", pageInfo);
+ }
+
+ @GetMapping("selectProFinancialStatementDetailList")
+ @ApiOperation("财务报表查询")
+ @AnonymousAccess
+ public ResultEntity> selectProFinancialStatementDetailList(@ApiParam("节点id的集合List") @RequestParam List proFinancialStatementIdList,
+ @ApiParam("流程ID") @RequestParam String flowId,
+ @ApiParam("条数") @RequestParam Integer size,
+ @ApiParam("页数") @RequestParam Integer index) {
+ PageInfo pageInfo = projectDueDiligenceService.selectProFinancialStatementDetailList(proFinancialStatementIdList, flowId, size, index);
+ return new ResultEntity(HttpStatus.OK, "财务报表查询成功", pageInfo);
}
+
+ @GetMapping("exportProFinancialIndexDetailList")
+ @ApiOperation("财务指标选取导出")
+ @AnonymousAccess
+ public void exportProFinancialIndexDetailList(@ApiParam("HttpServletResponse") HttpServletResponse response,
+ @ApiParam("节点id的集合List") @RequestParam List proFinancialIndexIdList,
+ @ApiParam("流程ID") @RequestParam String flowId) {
+ //导出的表名
+ String title = IdUtil.simpleUUID();
+ //表中第一行表头字段
+ String[] headers = null;
+ List listColumn;
+ headers = new String[]{"指标名称", "2022/12/31", "2021/12/31", "2020/12/31"};
+ listColumn = Arrays.asList("name", "lastYearValue", "lastTowYearValue", "lastThreeYearValue");
+ //实际数据结果集
+ PageInfo pageInfo = projectDueDiligenceService.selectProFinancialIndexDetailList(proFinancialIndexIdList, flowId, 10000, 1);
+ List list = pageInfo.getList();
+ //具体需要写入excel需要哪些字段,这些字段取自UserReward类,也就是上面的实际数据结果集的泛型
+
+ try {
+ FilePortUtil.exportExcel(response, title, headers, list, listColumn);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ @GetMapping("exportProFinancialStatementDetailList")
+ @ApiOperation("财务报表选取导出")
+ @AnonymousAccess
+ public void exportProFinancialStatementDetailList(@ApiParam("HttpServletResponse") HttpServletResponse response,
+ @ApiParam("节点id的集合List") @RequestParam List proFinancialStatemantIdList,
+ @ApiParam("流程ID") @RequestParam String flowId) {
+ //导出的表名
+ String title = IdUtil.simpleUUID();
+ //表中第一行表头字段
+ String[] headers = null;
+ List listColumn;
+ headers = new String[]{"指标名称", "2022/12/31", "2021/12/31", "2020/12/31"};
+ listColumn = Arrays.asList("name", "lastYearValue", "lastTowYearValue", "lastThreeYearValue");
+ //实际数据结果集
+ PageInfo pageInfo = projectDueDiligenceService.selectProFinancialStatementDetailList(proFinancialStatemantIdList, flowId, 10000, 1);
+ List list = pageInfo.getList();
+ //具体需要写入excel需要哪些字段,这些字段取自UserReward类,也就是上面的实际数据结果集的泛型
+
+ try {
+ FilePortUtil.exportExcel(response, title, headers, list, listColumn);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @PostMapping("updateFinanceDueDiligence")
+ @ApiOperation("财务尽调结论")
+ @AnonymousAccess
+ public ResultEntity updateFinanceDueDiligence(@ApiParam("转递flow_id、financialDueDiligence") @RequestBody FoundProject foundProject) {
+ if (StringUtils.isBlank(foundProject.getFlowId())) {
+ return new ResultEntity(HttpStatus.BAD_REQUEST, "流程ID为空");
+ }
+ if (StringUtils.isBlank(foundProject.getFinancialDueDiligence())) {
+ return new ResultEntity(HttpStatus.BAD_REQUEST, "财务尽调结论为空");
+ }
+ projectDueDiligenceService.updateServiceDueDiligence(foundProject);
+ return new ResultEntity(HttpStatus.OK, "财务尽调结论保存成功");
+ }
+
+ @GetMapping("getFinanceDueDiligence")
+ @ApiOperation("财务尽调结论回显")
+ @AnonymousAccess
+ public ResultEntity getFinanceServiceDueDiligence(@ApiParam("流程ID") @RequestParam String flowId) {
+ FoundProject foundProject = foundProjectMapper.selectByPrimaryKey(flowId);
+ foundProject.setServiceDueDiligence(null);
+ foundProject.setFoundProjectConclusion(null);
+ return new ResultEntity(HttpStatus.OK, "财务尽调结论,展示成功", foundProject);
+ }
+
+
+ @GetMapping("exportFinanceDueDiligencePDF")
+ @ApiOperation("财务尽调生成报告")
+ @AnonymousAccess
+ public void exportFinanceDueDiligencePDF(@ApiParam("HttpServletResponse") HttpServletResponse response,
+ @ApiParam("流程ID") @RequestParam String flowId) throws IOException, DocumentException {
+ String projectPoolName=getProjectPoolNameByFlowId(flowId); //公司名称
+
+ Document document = new Document();
+ // 创建 PdfWriter 对象 第一个参数是对文档对象的引用,第二个参数是文件的实际名称,在该名称中还会给出其输出路径。
+ PdfWriter writer = PdfWriter.getInstance(document, response.getOutputStream());
+ writer.setPageEvent(new HeaderAndFooterEvent());
+ document.open();
+ HeaderAndFooterEvent.tpl=writer.getDirectContent().createTemplate(500,500);
+ HeaderAndFooterEvent.PAGE_NUMBER = true;//实现页眉跟页脚
+ HeaderAndFooterEvent.HeaderLeft = "";//左上角
+ HeaderAndFooterEvent.HeaderRight = "";//右上角
+ HeaderAndFooterEvent.FooterLeft = "";//左下角
+ HeaderAndFooterEvent.FooterRight= "深圳市天择教育科技有限公司";//右下角
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "宋体", 25, Font.BOLD);
+ //添加一个空段落来占位,五个参数分别为:内容,对齐方式(1为居中,0为居左,2为居右),段后空行数,段前空行数,行间距
+ document.add(HeaderAndFooterEvent.AddParagraph(" ", 1, 200, 0, 1.5f));
+ document.add(HeaderAndFooterEvent.AddParagraph("天择投资银行业务教学系统", 1, 1.5f));
+ HeaderAndFooterEvent.SetFont(BaseColor.GRAY, "宋体", 18, Font.BOLD);
+ document.add(HeaderAndFooterEvent.AddParagraph(projectPoolName + "--尽职调查报告", 1, 1.5f));
+
+ document.newPage(); //换第二页 目录
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 22, Font.BOLD);
+ document.add(HeaderAndFooterEvent.AddParagraph("目录", 1, 1.5f));
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 16, Font.BOLD);
+ Paragraph p1 = HeaderAndFooterEvent.AddParagraph("一、公司背景:", 0, 1.5f);
+ HeaderAndFooterEvent.SetFont(BaseColor.DARK_GRAY, "黑体", 14, Font.BOLD);
+ p1.add(HeaderAndFooterEvent.AddParagraph("公司名称、法定代表人、股东及持股比例、成立日期、注册资本、\n" +
+ "经营状态、统一社会信用代码、纳税人识别号、营业期限、实缴资本、参保人数、注\n" +
+ "册地址、经营范围、工商注册号、组织机构代码、公司类型、行业、核准日期、人员\n" +
+ "规模、登记机关 ", 0, 1.5f));
+ document.add(p1);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 16, Font.BOLD);
+ Paragraph p2 = HeaderAndFooterEvent.AddParagraph("二、司法风险:", 0, 1.5f);
+ HeaderAndFooterEvent.SetFont(BaseColor.DARK_GRAY, "黑体", 14, Font.BOLD);
+ p2.add(HeaderAndFooterEvent.AddParagraph("开庭日期、案号、案由、公诉人/原告、被告人", 0, 1.5f));
+ document.add(p2);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 16, Font.BOLD);
+ Paragraph p3 = HeaderAndFooterEvent.AddParagraph("三、经营风险:", 0, 1.5f);
+ HeaderAndFooterEvent.SetFont(BaseColor.DARK_GRAY, "黑体", 14, Font.BOLD);
+ p3.add(HeaderAndFooterEvent.AddParagraph("列入经营异常名录原因、列入日期、列入机关;移出经营异常名录\n" +
+ "原因、移出日期、移出机关 ", 0, 1.5f));
+ document.add(p3);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 16, Font.BOLD);
+ Paragraph p4 = HeaderAndFooterEvent.AddParagraph("四、公司发展:", 0, 1.5f);
+ HeaderAndFooterEvent.SetFont(BaseColor.DARK_GRAY, "黑体", 14, Font.BOLD);
+ p4.add(HeaderAndFooterEvent.AddParagraph("核心团队、核心业务、相关竞品", 0, 1.5f));
+ document.add(p4);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 16, Font.BOLD);
+ Paragraph p5 = HeaderAndFooterEvent.AddParagraph("五、经营状况:", 0, 1.5f);
+ HeaderAndFooterEvent.SetFont(BaseColor.DARK_GRAY, "黑体", 14, Font.BOLD);
+ p5.add(HeaderAndFooterEvent.AddParagraph("公司招聘、抽查检查、行政许可、招投标 ", 0, 1.5f));
+ document.add(p5);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 16, Font.BOLD);
+ Paragraph p6 = HeaderAndFooterEvent.AddParagraph("六、知识产权:", 0, 1.5f);
+ HeaderAndFooterEvent.SetFont(BaseColor.DARK_GRAY, "黑体", 14, Font.BOLD);
+ p6.add(HeaderAndFooterEvent.AddParagraph("专利信息、网站备案", 0, 1.5f));
+ document.add(p6);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 16, Font.BOLD);
+ Paragraph p7 = HeaderAndFooterEvent.AddParagraph("七、法律尽职调查:", 0, 1.5f);
+ HeaderAndFooterEvent.SetFont(BaseColor.DARK_GRAY, "黑体", 14, Font.BOLD);
+ p7.add(HeaderAndFooterEvent.AddParagraph("行政处罚", 0, 1.5f));
+ document.add(p7);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 16, Font.BOLD);
+ Paragraph p8 = HeaderAndFooterEvent.AddParagraph("八、财务尽职调查:", 0, 1.5f);
+ HeaderAndFooterEvent.SetFont(BaseColor.DARK_GRAY, "黑体", 14, Font.BOLD);
+ p8.add(HeaderAndFooterEvent.AddParagraph("三大财务报表、主要财务指标", 0, 1.5f));
+ document.add(p8);
+
+ document.newPage(); //换第三页
+
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 16, Font.BOLD);
+ Paragraph p11 = HeaderAndFooterEvent.AddParagraph("一、公司背景", 0, 1.5f);//公司背景
+ document.add(p11);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
+ document.add(HeaderAndFooterEvent.AddParagraph("工商信息:", 0, 1.5f));//工商信息
+ ProBusinessInfoShareholder proBusinessInfoShareholder = projectDueDiligenceService.getBusinessInfoShareholderListByFlowId(flowId).get(0);
+ ProBusinessInfo proBusinessInfo = projectDueDiligenceService.getBusinessInfoList(flowId).get(0);
+ TreeMap treeMap=new TreeMap<>();
+ treeMap.put("企业名称",projectPoolName);
+ treeMap.put("法定代表人",proBusinessInfoShareholder.getLegalPerson());
+ treeMap.put("股东",proBusinessInfoShareholder.getShareholder1());
+ treeMap.put("持股比例",proBusinessInfoShareholder.getValue1());
+ treeMap.put("注册资本",proBusinessInfo.getRegisteredCapital());
+ treeMap.put("经营状态",proBusinessInfo.getOperatingState());
+ treeMap.put("统一社会信用代码",proBusinessInfo.getCreditCode());
+ treeMap.put("纳税人识别号",proBusinessInfo.getIdentificationNumber());
+ treeMap.put("营业期限",proBusinessInfo.getBusinessTerm());
+ treeMap.put("实缴资本",proBusinessInfo.getPaidinCapital());
+ treeMap.put("参保人数",proBusinessInfo.getInsuranceNum());
+ treeMap.put("成立日期",proBusinessInfo.getCreateDate());
+ treeMap.put("工商注册号",proBusinessInfo.getRegistrationNum());
+ treeMap.put("组织机构代码",proBusinessInfo.getOrgaStruCode());
+ treeMap.put("公司类型",proBusinessInfo.getCompanyType());
+ treeMap.put("行业",proBusinessInfo.getIndustry());
+ treeMap.put("核准日期",proBusinessInfo.getApprovalDate());
+ treeMap.put("人员规模",proBusinessInfo.getStaffSize());
+ treeMap.put("登记机关",proBusinessInfo.getRegistrar());
+ treeMap.put("注册地址",proBusinessInfo.getRegisteredAddress());
+ treeMap.put("经营范围",proBusinessInfo.getBusinessScope());
+ PdfPTable table = returnPdfPTable(treeMap);
+ document.add(table);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 16, Font.BOLD);
+ Paragraph p12 = HeaderAndFooterEvent.AddParagraph("二、司法风险", 0, 1.5f);
+ document.add(p12);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
+ document.add(HeaderAndFooterEvent.AddParagraph("司法风险:", 0, 1.5f));
+ ProJudicialRisk proJudicialRisk = projectDueDiligenceService.getProJudicialRiskListByFlowId(flowId).get(0);
+ TreeMap treeMap2=new TreeMap<>();
+ treeMap2.put("开庭日期",proJudicialRisk.getLawfulDay());
+ treeMap2.put("案号",proJudicialRisk.getCaseCode());
+ treeMap2.put("案由",proJudicialRisk.getCause());
+ treeMap2.put("公诉人/原告",proJudicialRisk.getPlaintiff());
+ treeMap2.put("被告人",proJudicialRisk.getDefendant());
+ PdfPTable table2 = returnPdfPTable(treeMap2);
+ document.add(table2);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 16, Font.BOLD);
+ Paragraph p13 = HeaderAndFooterEvent.AddParagraph("三、经营风险", 0, 1.5f);
+ document.add(p13);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
+ document.add(HeaderAndFooterEvent.AddParagraph("经营风险:", 0, 1.5f));
+ ProBusinessRisk proBusinessRisk = projectDueDiligenceService.getProBusinessRiskListByFlowId(flowId).get(0);
+ TreeMap treeMap3=new TreeMap<>();
+ treeMap3.put("列入日期 ",proBusinessRisk.getIncludedDate());
+ treeMap3.put("列入经营异常名录原因",proBusinessRisk.getIncludedCause());
+ treeMap3.put("列入机关 ",proBusinessRisk.getIncludedOrganization());
+ treeMap3.put("移出日期",proBusinessRisk.getRemovedDate());
+ treeMap3.put("移出经营异常名录原因",proBusinessRisk.getRemovedCause());
+ treeMap3.put("移出决定机关 ",proBusinessRisk.getRemovedOrganization());
+ PdfPTable table3 = returnPdfPTable(treeMap3);
+ document.add(table3);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 16, Font.BOLD);
+ Paragraph p14 = HeaderAndFooterEvent.AddParagraph("四、公司发展", 0, 1.5f);
+ document.add(p14);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
+ document.add(HeaderAndFooterEvent.AddParagraph("核心团队:", 0, 1.5f));
+ ProCoreTeam proCoreTeam = projectDueDiligenceService.getProCoreTeamListByFlowId(flowId).get(0);
+ TreeMap treeMap4=new TreeMap<>();
+ treeMap4.put("姓名",proCoreTeam.getName());
+ treeMap4.put("职位",proCoreTeam.getDuty());
+ treeMap4.put("简介",proCoreTeam.getIntroduction());
+ PdfPTable table4 = returnPdfPTable(treeMap4);
+ document.add(table4);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
+ document.add(HeaderAndFooterEvent.AddParagraph("核心业务:", 0, 1.5f));
+ ProCoreBusiness proCoreBusiness = projectDueDiligenceService.getProCoreBusinessListByFlowId(flowId).get(0);
+ TreeMap treeMap42=new TreeMap<>();
+ treeMap42.put("产品名称",proCoreBusiness.getProductnameName());
+ treeMap42.put("行业",proCoreBusiness.getIndustry());
+ treeMap42.put("产品介绍",proCoreBusiness.getProductIntroduction());
+ PdfPTable table42 = returnPdfPTable(treeMap42);
+ document.add(table42);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
+ document.add(HeaderAndFooterEvent.AddParagraph("相关竞品:", 0, 1.5f));
+ ProCoreCompPro proCoreCompPro = projectDueDiligenceService.getProCoreCompProListByFlowId(flowId).get(0);
+ TreeMap treeMap43=new TreeMap<>();
+ treeMap43.put("竞品名称",proCoreCompPro.getCompProName());
+ treeMap43.put("地区",proCoreCompPro.getIndustry());
+ treeMap43.put("当前融资轮次",proCoreCompPro.getArea());
+ treeMap43.put("行业",proCoreCompPro.getIndustry());
+ treeMap43.put("业务",proCoreCompPro.getBusiness());
+ treeMap43.put("成立时间",proCoreCompPro.getCreateDate());
+ treeMap43.put("估值",proCoreCompPro.getValuation());
+ PdfPTable table43 = returnPdfPTable(treeMap43);
+ document.add(table43);
+
+
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 16, Font.BOLD);
+ Paragraph p15 = HeaderAndFooterEvent.AddParagraph("五、经营状况", 0, 1.5f);
+ document.add(p15);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
+ document.add(HeaderAndFooterEvent.AddParagraph("公司招聘:", 0, 1.5f));
+ ProManaSituRecruit proManaSituRecruit = projectDueDiligenceService.getProManaSituRecruitListByFlowId(flowId).get(0);
+ TreeMap treeMap51=new TreeMap<>();
+ treeMap51.put("发布日期",proManaSituRecruit.getReleaseDate());
+ treeMap51.put("招聘职位",proManaSituRecruit.getDuty());
+ treeMap51.put("月薪",proManaSituRecruit.getSalary());
+ treeMap51.put("学历",proManaSituRecruit.getDegrees());
+ treeMap51.put("工作经验",proManaSituRecruit.getExperience());
+ treeMap51.put("地区",proManaSituRecruit.getArea());
+ PdfPTable table51 = returnPdfPTable(treeMap51);
+ document.add(table51);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
+ document.add(HeaderAndFooterEvent.AddParagraph("抽查检查:", 0, 1.5f));
+ ProManaSituCheck proManaSituCheck = projectDueDiligenceService.getProManaSituCheckListByFlowId(flowId).get(0);
+ TreeMap treeMap52=new TreeMap<>();
+ treeMap52.put("日期",proManaSituCheck.getCheckDate());
+ treeMap52.put("类型",proManaSituCheck.getCheckType());
+ treeMap52.put("结果",proManaSituCheck.getConsequence());
+ treeMap52.put("检查实施机关",proManaSituCheck.getOrganization());
+ PdfPTable table52 = returnPdfPTable(treeMap52);
+ document.add(table52);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
+ document.add(HeaderAndFooterEvent.AddParagraph("行政许可:", 0, 1.5f));
+ ProManaSituLicense proManaSituLicense = projectDueDiligenceService.getProManaSituLicenseListByFlowId(flowId).get(0);
+ TreeMap treeMap53=new TreeMap<>();
+ treeMap53.put("行政许可文书号",proManaSituLicense.getWrittenDecisionNum());
+ treeMap53.put("许可决定机关",proManaSituLicense.getOrganization());
+ treeMap53.put("许可决定日期",proManaSituLicense.getLicenseDate());
+ PdfPTable table53 = returnPdfPTable(treeMap53);
+ document.add(table53);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
+ document.add(HeaderAndFooterEvent.AddParagraph("招投标:", 0, 1.5f));
+ ProManaSituTenderingBidding proManaSituTenderingBidding = projectDueDiligenceService.getProManaSituTenderingBiddingListByFlowId(flowId).get(0);
+ TreeMap treeMap54=new TreeMap<>();
+ treeMap54.put("发布日期",proManaSituTenderingBidding.getReleaseDate());
+ treeMap54.put("标题",proManaSituTenderingBidding.getTitle());
+ treeMap54.put("采购人",proManaSituTenderingBidding.getPurchaser());
+ PdfPTable table54 = returnPdfPTable(treeMap54);
+ document.add(table54);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 16, Font.BOLD);
+ Paragraph p16 = HeaderAndFooterEvent.AddParagraph("六、知识产权", 0, 1.5f);
+ document.add(p16);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
+ document.add(HeaderAndFooterEvent.AddParagraph("专利信息:", 0, 1.5f));
+ ProIntelPropertyPatentinfo proIntelPropertyPatentinfo = projectDueDiligenceService.getProIntelPropertyPatentInfoListByFlowId(flowId).get(0);
+ TreeMap treeMap61=new TreeMap<>();
+ treeMap61.put("申请公布日",proIntelPropertyPatentinfo.getPublishDate());
+ treeMap61.put("专利名称",proIntelPropertyPatentinfo.getPatentName());
+ treeMap61.put("申请号",proIntelPropertyPatentinfo.getApplicationNum());
+ treeMap61.put("申请公布号",proIntelPropertyPatentinfo.getApplicationPubNum());
+ treeMap61.put("专利类型",proIntelPropertyPatentinfo.getPatentType());
+ PdfPTable table61 = returnPdfPTable(treeMap61);
+ document.add(table61);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
+ document.add(HeaderAndFooterEvent.AddParagraph("网站备案:", 0, 1.5f));
+ ProIntelPropertyWebsiteRecord proIntelPropertyWebsiteRecord = projectDueDiligenceService.getProIntelPropertyWebsiteRecordListByFlowId(flowId).get(0);
+ TreeMap treeMap62=new TreeMap<>();
+ treeMap62.put("审核日期",proIntelPropertyWebsiteRecord.getReviewDate());
+ treeMap62.put("网站名称",proIntelPropertyWebsiteRecord.getWebsiteName());
+ treeMap62.put("IP地址",proIntelPropertyWebsiteRecord.getIpAddress());
+ treeMap62.put("域名信息",proIntelPropertyWebsiteRecord.getDomainNameInfo());
+ PdfPTable table62 = returnPdfPTable(treeMap62);
+ document.add(table62);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 16, Font.BOLD);
+ Paragraph p17 = HeaderAndFooterEvent.AddParagraph("七、法律尽职调查", 0, 1.5f);
+ document.add(p17);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
+ document.add(HeaderAndFooterEvent.AddParagraph("行政处罚:", 0, 1.5f));
+ ProAdminiPenalty proAdminiPenalty = projectDueDiligenceService.getProAdminiPenaltyListByFlowId(flowId).get(0);
+ TreeMap treeMap7=new TreeMap<>();
+ treeMap7.put("公司名称",projectPoolName);
+ treeMap7.put("决定日期",proAdminiPenalty.getDecisionDate());
+ treeMap7.put("决定书文号",proAdminiPenalty.getWrittenDecisionNum());
+ treeMap7.put("处罚事由",proAdminiPenalty.getPunishmentCause());
+ treeMap7.put("处罚结果",proAdminiPenalty.getPunishmentResult());
+ treeMap7.put("处罚机关",proAdminiPenalty.getPunishmentOrganization());
+ PdfPTable table7 = returnPdfPTable(treeMap7);
+ document.add(table7);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 16, Font.BOLD);
+ Paragraph p18 = HeaderAndFooterEvent.AddParagraph("八、财务尽职调查", 0, 1.5f);
+ document.add(p18);
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
+ document.add(HeaderAndFooterEvent.AddParagraph("指标数据:", 0, 1.5f));
+ ArrayList list = new ArrayList<>();
+ list.add("7");
+ list.add("8");
+ list.add("9");
+ list.add("10");
+ List financialIndexDetailList = projectDueDiligenceService.selectProFinancialIndexDetailList(list, flowId, 10, 1).getList();
+
+
+ PdfPTable table8 = new PdfPTable(4);
+ table8.setWidthPercentage(100);//设置表格宽度占用百分比
+ List headList1=new ArrayList<>();
+ headList1.add("项目");
+ headList1.add("2022-12-31");
+ headList1.add("2021-12-31");
+ headList1.add("2020-12-31");
+ PdfPTable table8return = setPdfPTableHead(table8, headList1);
+ for (int i = 0; i < financialIndexDetailList.size(); i++) {
+ ProFinancialIndexDetail proFinancialIndexDetail = financialIndexDetailList.get(i);
+ List headList2=new ArrayList<>();
+ headList2.add(proFinancialIndexDetail.getName());
+ headList2.add(proFinancialIndexDetail.getLastYearValue());
+ headList2.add(proFinancialIndexDetail.getLastTowYearValue());
+ headList2.add(proFinancialIndexDetail.getLastThreeYearValue());
+ table8return=setPdfPTableHead(table8return, headList2);
+ }
+ document.add(table8return);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
+ document.add(HeaderAndFooterEvent.AddParagraph("资产负债表:", 0, 1.5f));
+ ArrayList list82 = new ArrayList<>();
+ list82.add("51");
+ list82.add("52");
+ list82.add("53");
+ list82.add("54");
+ list82.add("55");
+ list82.add("56");
+ list82.add("57");
+ list82.add("58");
+ list82.add("59");
+ list82.add("60");
+ List financialStatementDetailList = projectDueDiligenceService.selectProFinancialStatementDetailList(list82, flowId, 10, 1).getList();
+
+ PdfPTable table82 = new PdfPTable(4);
+ table82.setWidthPercentage(100);//设置表格宽度占用百分比
+ PdfPTable table82return = setPdfPTableHead(table82, headList1);
+ for (int i = 0; i < financialStatementDetailList.size(); i++) {
+ ProFinancialStatementDetail proFinancialStatementDetail = financialStatementDetailList.get(i);
+ List headList82=new ArrayList<>();
+ headList82.add(proFinancialStatementDetail.getName());
+ headList82.add(proFinancialStatementDetail.getLastYearValue());
+ headList82.add(proFinancialStatementDetail.getLastTowYearValue());
+ headList82.add(proFinancialStatementDetail.getLastThreeYearValue());
+ table82return=setPdfPTableHead(table82return, headList82);
+ }
+ document.add(table82return);
+
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
+ document.add(HeaderAndFooterEvent.AddParagraph("现金流量表:", 0, 1.5f));
+ ArrayList list83 = new ArrayList<>();
+ list83.add("136");
+ list83.add("137");
+ list83.add("138");
+ list83.add("139");
+ list83.add("140");
+ list83.add("141");
+ list83.add("142");
+ list83.add("143");
+ list83.add("144");
+ list83.add("145");
+
+ List financialStatementDetailList83 = projectDueDiligenceService.selectProFinancialStatementDetailList(list83, flowId, 10, 1).getList();
+
+ PdfPTable table83 = new PdfPTable(4);
+ table83.setWidthPercentage(100);//设置表格宽度占用百分比
+ PdfPTable table83return = setPdfPTableHead(table83, headList1);
+ for (int i = 0; i < financialStatementDetailList83.size(); i++) {
+ ProFinancialStatementDetail proFinancialStatementDetail = financialStatementDetailList83.get(i);
+ List headList83=new ArrayList<>();
+ headList83.add(proFinancialStatementDetail.getName());
+ headList83.add(proFinancialStatementDetail.getLastYearValue());
+ headList83.add(proFinancialStatementDetail.getLastTowYearValue());
+ headList83.add(proFinancialStatementDetail.getLastThreeYearValue());
+ table83return=setPdfPTableHead(table83return, headList83);
+ }
+ document.add(table83return);
+
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
+ document.add(HeaderAndFooterEvent.AddParagraph("利润表:", 0, 1.5f));
+ ArrayList list84 = new ArrayList<>();
+ list84.add("12");
+ list83.add("13");
+ list83.add("14");
+ list83.add("15");
+ list83.add("16");
+ list83.add("17");
+ list83.add("18");
+ list83.add("19");
+ list83.add("20");
+ list83.add("21");
+
+
+ List financialStatementDetailList84 = projectDueDiligenceService.selectProFinancialStatementDetailList(list84, flowId, 10, 1).getList();
+
+ PdfPTable table84 = new PdfPTable(4);
+ table84.setWidthPercentage(100);//设置表格宽度占用百分比
+ PdfPTable table84return = setPdfPTableHead(table84, headList1);
+ for (int i = 0; i < financialStatementDetailList84.size(); i++) {
+ ProFinancialStatementDetail proFinancialStatementDetail = financialStatementDetailList84.get(i);
+ List headList84=new ArrayList<>();
+ headList84.add(proFinancialStatementDetail.getName());
+ headList84.add(proFinancialStatementDetail.getLastYearValue());
+ headList84.add(proFinancialStatementDetail.getLastTowYearValue());
+ headList84.add(proFinancialStatementDetail.getLastThreeYearValue());
+ table84return=setPdfPTableHead(table84return, headList84);
+ }
+ document.add(table84return);
+
+ document.close();
+ }
+
+ public PdfPTable returnPdfPTable(TreeMap treeMap){
+ PdfPTable table =new PdfPTable(2); //两列
+ table.setWidthPercentage(100);//设置表格宽度占用百分比
+ for (Map.Entry entry : treeMap.entrySet()) {
+ String key = entry.getKey();
+ String value = entry.getValue();
+ HeaderAndFooterEvent.SetFont(BaseColor.DARK_GRAY, "黑体", 12, Font.BOLD);
+ PdfPCell cell_data = new PdfPCell(HeaderAndFooterEvent.AddParagraph(key, 0, 1.5f));
+ cell_data.setVerticalAlignment(PdfPCell.ALIGN_MIDDLE); //垂直居中
+ cell_data.setHorizontalAlignment(PdfPCell.ALIGN_LEFT);//水平居中
+ table.addCell(cell_data);
+
+ cell_data = new PdfPCell(HeaderAndFooterEvent.AddParagraph(value, 0, 1.5f));
+ cell_data.setVerticalAlignment(PdfPCell.ALIGN_MIDDLE); //垂直居中
+ cell_data.setHorizontalAlignment(PdfPCell.ALIGN_LEFT);//水平居中
+ table.addCell(cell_data);
+ }
+ return table;
+ }
+
+ public PdfPTable setPdfPTableHead(PdfPTable table,List list){
+ for (int i = 0; i < list.size(); i++) {
+ HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 12, Font.NORMAL);
+ PdfPCell cell_data1 = new PdfPCell(HeaderAndFooterEvent.AddParagraph(list.get(i), 0, 1.5f));
+ cell_data1.setVerticalAlignment(PdfPCell.ALIGN_MIDDLE); //垂直居中
+ cell_data1.setHorizontalAlignment(PdfPCell.ALIGN_LEFT);//水平居中
+ table.addCell(cell_data1);
+ }
+ return table;
+ }
+
+
}
diff --git a/src/main/java/com/sztzjy/fund_investment/controller/ProjectValuation.java b/src/main/java/com/sztzjy/fund_investment/controller/ProjectValuation.java
new file mode 100644
index 0000000..dbfb4fa
--- /dev/null
+++ b/src/main/java/com/sztzjy/fund_investment/controller/ProjectValuation.java
@@ -0,0 +1,51 @@
+package com.sztzjy.fund_investment.controller;
+
+import com.sztzjy.fund_investment.annotation.AnonymousAccess;
+import com.sztzjy.fund_investment.entity.EduProjectValuation;
+import com.sztzjy.fund_investment.service.ISysProjectValuationService;
+import com.sztzjy.fund_investment.util.ResultEntity;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.http.HttpStatus;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import java.util.List;
+
+//yz
+@RestController
+@RequestMapping("/projectValuationController")
+@Api(tags = "学生端--项目估值")
+public class ProjectValuation {
+ @Autowired
+ ISysProjectValuationService projectValuationService;
+
+ @GetMapping("getPE")
+ @ApiOperation("相对估值法-PE市盈率法")
+ @AnonymousAccess
+ public ResultEntity> getPE(@ApiParam("流程ID") @RequestParam String flowId) {
+ List projectValuationList=projectValuationService.getPE(flowId);
+ return new ResultEntity(HttpStatus.OK, "相对估值法-PE市盈率法,展示成功", projectValuationList);
+ }
+
+ @GetMapping("getPB")
+ @ApiOperation("相对估值法-PE市盈率法")
+ @AnonymousAccess
+ public ResultEntity> getPB(@ApiParam("流程ID") @RequestParam String flowId) {
+ List projectValuationList=projectValuationService.getPB(flowId);
+ return new ResultEntity(HttpStatus.OK, "相对估值法-PB市盈率法,展示成功", projectValuationList);
+ }
+
+ @GetMapping("getPS")
+ @ApiOperation("相对估值法-PE市盈率法")
+ @AnonymousAccess
+ public ResultEntity> getPS(@ApiParam("流程ID") @RequestParam String flowId) {
+ List projectValuationList=projectValuationService.getPS(flowId);
+ return new ResultEntity(HttpStatus.OK, "相对估值法-PS市盈率法,展示成功", projectValuationList);
+ }
+
+}
diff --git a/src/main/java/com/sztzjy/fund_investment/entity/EduCompany.java b/src/main/java/com/sztzjy/fund_investment/entity/EduCompany.java
new file mode 100644
index 0000000..2a04476
--- /dev/null
+++ b/src/main/java/com/sztzjy/fund_investment/entity/EduCompany.java
@@ -0,0 +1,31 @@
+package com.sztzjy.fund_investment.entity;
+
+import io.swagger.annotations.ApiModelProperty;
+/**
+ *
+ * @author xcj
+ * edu_company
+ */
+public class EduCompany {
+ @ApiModelProperty("公司信息id")
+ private String id;
+
+ @ApiModelProperty("公司名")
+ private String name;
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id == null ? null : id.trim();
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name == null ? null : name.trim();
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/com/sztzjy/fund_investment/entity/EduCompanyExample.java b/src/main/java/com/sztzjy/fund_investment/entity/EduCompanyExample.java
new file mode 100644
index 0000000..9ae8a9b
--- /dev/null
+++ b/src/main/java/com/sztzjy/fund_investment/entity/EduCompanyExample.java
@@ -0,0 +1,339 @@
+package com.sztzjy.fund_investment.entity;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class EduCompanyExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public EduCompanyExample() {
+ oredCriteria = new ArrayList<>();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList<>();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(String value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(String value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(String value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(String value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(String value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(String value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLike(String value) {
+ addCriterion("id like", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotLike(String value) {
+ addCriterion("id not like", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(String value1, String value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(String value1, String value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNull() {
+ addCriterion("name is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNotNull() {
+ addCriterion("name is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameEqualTo(String value) {
+ addCriterion("name =", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotEqualTo(String value) {
+ addCriterion("name <>", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThan(String value) {
+ addCriterion("name >", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThanOrEqualTo(String value) {
+ addCriterion("name >=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThan(String value) {
+ addCriterion("name <", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThanOrEqualTo(String value) {
+ addCriterion("name <=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLike(String value) {
+ addCriterion("name like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotLike(String value) {
+ addCriterion("name not like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIn(List values) {
+ addCriterion("name in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotIn(List values) {
+ addCriterion("name not in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameBetween(String value1, String value2) {
+ addCriterion("name between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotBetween(String value1, String value2) {
+ addCriterion("name not between", value1, value2, "name");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/com/sztzjy/fund_investment/entity/EduProjectValuation.java b/src/main/java/com/sztzjy/fund_investment/entity/EduProjectValuation.java
new file mode 100644
index 0000000..a449a77
--- /dev/null
+++ b/src/main/java/com/sztzjy/fund_investment/entity/EduProjectValuation.java
@@ -0,0 +1,198 @@
+package com.sztzjy.fund_investment.entity;
+
+import java.math.BigDecimal;
+
+import io.swagger.annotations.ApiModelProperty;
+/**
+ *
+ * @author xcj
+ * edu_project_valuation
+ */
+public class EduProjectValuation {
+ @ApiModelProperty("项目估值id")
+ private String id;
+
+ @ApiModelProperty("可比公司名称")
+ private String companyid;
+
+ @ApiModelProperty("选取公司id")
+ private String projectPoolId;
+
+ @ApiModelProperty("每股市价(可比公司)")
+ private BigDecimal marketPrice;
+
+ @ApiModelProperty("每股收益(可比公司)")
+ private BigDecimal earnings;
+
+ @ApiModelProperty("每股收益(选取公司)")
+ private BigDecimal earnings1;
+
+ @ApiModelProperty("增长率")
+ private BigDecimal growthRate;
+
+ @ApiModelProperty("增长率")
+ private BigDecimal growthRate1;
+
+ @ApiModelProperty("每股净资产")
+ private BigDecimal netWorth;
+
+ @ApiModelProperty("每股净资产")
+ private BigDecimal netWorth1;
+
+ @ApiModelProperty("权益净利率")
+ private BigDecimal netInterest;
+
+ @ApiModelProperty("权益净利率")
+ private BigDecimal netInterest1;
+
+ @ApiModelProperty("每股营业收入")
+ private BigDecimal operatingIncome;
+
+ @ApiModelProperty("每股营业收入")
+ private BigDecimal operatingIncome1;
+
+ @ApiModelProperty("营业净利率")
+ private BigDecimal netOperatinginterestRate;
+
+ @ApiModelProperty("营业净利率")
+ private BigDecimal netOperatinginterestRate1;
+
+ @ApiModelProperty("PE-1 PB-2 PS-3")
+ private Integer methodId;
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id == null ? null : id.trim();
+ }
+
+ public String getCompanyid() {
+ return companyid;
+ }
+
+ public void setCompanyid(String companyid) {
+ this.companyid = companyid == null ? null : companyid.trim();
+ }
+
+ public String getProjectPoolId() {
+ return projectPoolId;
+ }
+
+ public void setProjectPoolId(String projectPoolId) {
+ this.projectPoolId = projectPoolId == null ? null : projectPoolId.trim();
+ }
+
+ public BigDecimal getMarketPrice() {
+ return marketPrice;
+ }
+
+ public void setMarketPrice(BigDecimal marketPrice) {
+ this.marketPrice = marketPrice;
+ }
+
+ public BigDecimal getEarnings() {
+ return earnings;
+ }
+
+ public void setEarnings(BigDecimal earnings) {
+ this.earnings = earnings;
+ }
+
+ public BigDecimal getEarnings1() {
+ return earnings1;
+ }
+
+ public void setEarnings1(BigDecimal earnings1) {
+ this.earnings1 = earnings1;
+ }
+
+ public BigDecimal getGrowthRate() {
+ return growthRate;
+ }
+
+ public void setGrowthRate(BigDecimal growthRate) {
+ this.growthRate = growthRate;
+ }
+
+ public BigDecimal getGrowthRate1() {
+ return growthRate1;
+ }
+
+ public void setGrowthRate1(BigDecimal growthRate1) {
+ this.growthRate1 = growthRate1;
+ }
+
+ public BigDecimal getNetWorth() {
+ return netWorth;
+ }
+
+ public void setNetWorth(BigDecimal netWorth) {
+ this.netWorth = netWorth;
+ }
+
+ public BigDecimal getNetWorth1() {
+ return netWorth1;
+ }
+
+ public void setNetWorth1(BigDecimal netWorth1) {
+ this.netWorth1 = netWorth1;
+ }
+
+ public BigDecimal getNetInterest() {
+ return netInterest;
+ }
+
+ public void setNetInterest(BigDecimal netInterest) {
+ this.netInterest = netInterest;
+ }
+
+ public BigDecimal getNetInterest1() {
+ return netInterest1;
+ }
+
+ public void setNetInterest1(BigDecimal netInterest1) {
+ this.netInterest1 = netInterest1;
+ }
+
+ public BigDecimal getOperatingIncome() {
+ return operatingIncome;
+ }
+
+ public void setOperatingIncome(BigDecimal operatingIncome) {
+ this.operatingIncome = operatingIncome;
+ }
+
+ public BigDecimal getOperatingIncome1() {
+ return operatingIncome1;
+ }
+
+ public void setOperatingIncome1(BigDecimal operatingIncome1) {
+ this.operatingIncome1 = operatingIncome1;
+ }
+
+ public BigDecimal getNetOperatinginterestRate() {
+ return netOperatinginterestRate;
+ }
+
+ public void setNetOperatinginterestRate(BigDecimal netOperatinginterestRate) {
+ this.netOperatinginterestRate = netOperatinginterestRate;
+ }
+
+ public BigDecimal getNetOperatinginterestRate1() {
+ return netOperatinginterestRate1;
+ }
+
+ public void setNetOperatinginterestRate1(BigDecimal netOperatinginterestRate1) {
+ this.netOperatinginterestRate1 = netOperatinginterestRate1;
+ }
+
+ public Integer getMethodId() {
+ return methodId;
+ }
+
+ public void setMethodId(Integer methodId) {
+ this.methodId = methodId;
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/com/sztzjy/fund_investment/entity/EduProjectValuationExample.java b/src/main/java/com/sztzjy/fund_investment/entity/EduProjectValuationExample.java
new file mode 100644
index 0000000..1758e04
--- /dev/null
+++ b/src/main/java/com/sztzjy/fund_investment/entity/EduProjectValuationExample.java
@@ -0,0 +1,1250 @@
+package com.sztzjy.fund_investment.entity;
+
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.List;
+
+public class EduProjectValuationExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public EduProjectValuationExample() {
+ oredCriteria = new ArrayList<>();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList<>();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(String value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(String value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(String value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(String value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(String value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(String value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLike(String value) {
+ addCriterion("id like", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotLike(String value) {
+ addCriterion("id not like", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(String value1, String value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(String value1, String value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyidIsNull() {
+ addCriterion("companyId is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyidIsNotNull() {
+ addCriterion("companyId is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyidEqualTo(String value) {
+ addCriterion("companyId =", value, "companyid");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyidNotEqualTo(String value) {
+ addCriterion("companyId <>", value, "companyid");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyidGreaterThan(String value) {
+ addCriterion("companyId >", value, "companyid");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyidGreaterThanOrEqualTo(String value) {
+ addCriterion("companyId >=", value, "companyid");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyidLessThan(String value) {
+ addCriterion("companyId <", value, "companyid");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyidLessThanOrEqualTo(String value) {
+ addCriterion("companyId <=", value, "companyid");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyidLike(String value) {
+ addCriterion("companyId like", value, "companyid");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyidNotLike(String value) {
+ addCriterion("companyId not like", value, "companyid");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyidIn(List values) {
+ addCriterion("companyId in", values, "companyid");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyidNotIn(List values) {
+ addCriterion("companyId not in", values, "companyid");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyidBetween(String value1, String value2) {
+ addCriterion("companyId between", value1, value2, "companyid");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyidNotBetween(String value1, String value2) {
+ addCriterion("companyId not between", value1, value2, "companyid");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdIsNull() {
+ addCriterion("project_pool_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdIsNotNull() {
+ addCriterion("project_pool_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdEqualTo(String value) {
+ addCriterion("project_pool_id =", value, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdNotEqualTo(String value) {
+ addCriterion("project_pool_id <>", value, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdGreaterThan(String value) {
+ addCriterion("project_pool_id >", value, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdGreaterThanOrEqualTo(String value) {
+ addCriterion("project_pool_id >=", value, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdLessThan(String value) {
+ addCriterion("project_pool_id <", value, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdLessThanOrEqualTo(String value) {
+ addCriterion("project_pool_id <=", value, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdLike(String value) {
+ addCriterion("project_pool_id like", value, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdNotLike(String value) {
+ addCriterion("project_pool_id not like", value, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdIn(List values) {
+ addCriterion("project_pool_id in", values, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdNotIn(List values) {
+ addCriterion("project_pool_id not in", values, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdBetween(String value1, String value2) {
+ addCriterion("project_pool_id between", value1, value2, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdNotBetween(String value1, String value2) {
+ addCriterion("project_pool_id not between", value1, value2, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMarketPriceIsNull() {
+ addCriterion("market_price is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMarketPriceIsNotNull() {
+ addCriterion("market_price is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMarketPriceEqualTo(BigDecimal value) {
+ addCriterion("market_price =", value, "marketPrice");
+ return (Criteria) this;
+ }
+
+ public Criteria andMarketPriceNotEqualTo(BigDecimal value) {
+ addCriterion("market_price <>", value, "marketPrice");
+ return (Criteria) this;
+ }
+
+ public Criteria andMarketPriceGreaterThan(BigDecimal value) {
+ addCriterion("market_price >", value, "marketPrice");
+ return (Criteria) this;
+ }
+
+ public Criteria andMarketPriceGreaterThanOrEqualTo(BigDecimal value) {
+ addCriterion("market_price >=", value, "marketPrice");
+ return (Criteria) this;
+ }
+
+ public Criteria andMarketPriceLessThan(BigDecimal value) {
+ addCriterion("market_price <", value, "marketPrice");
+ return (Criteria) this;
+ }
+
+ public Criteria andMarketPriceLessThanOrEqualTo(BigDecimal value) {
+ addCriterion("market_price <=", value, "marketPrice");
+ return (Criteria) this;
+ }
+
+ public Criteria andMarketPriceIn(List values) {
+ addCriterion("market_price in", values, "marketPrice");
+ return (Criteria) this;
+ }
+
+ public Criteria andMarketPriceNotIn(List values) {
+ addCriterion("market_price not in", values, "marketPrice");
+ return (Criteria) this;
+ }
+
+ public Criteria andMarketPriceBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("market_price between", value1, value2, "marketPrice");
+ return (Criteria) this;
+ }
+
+ public Criteria andMarketPriceNotBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("market_price not between", value1, value2, "marketPrice");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarningsIsNull() {
+ addCriterion("earnings is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarningsIsNotNull() {
+ addCriterion("earnings is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarningsEqualTo(BigDecimal value) {
+ addCriterion("earnings =", value, "earnings");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarningsNotEqualTo(BigDecimal value) {
+ addCriterion("earnings <>", value, "earnings");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarningsGreaterThan(BigDecimal value) {
+ addCriterion("earnings >", value, "earnings");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarningsGreaterThanOrEqualTo(BigDecimal value) {
+ addCriterion("earnings >=", value, "earnings");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarningsLessThan(BigDecimal value) {
+ addCriterion("earnings <", value, "earnings");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarningsLessThanOrEqualTo(BigDecimal value) {
+ addCriterion("earnings <=", value, "earnings");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarningsIn(List values) {
+ addCriterion("earnings in", values, "earnings");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarningsNotIn(List values) {
+ addCriterion("earnings not in", values, "earnings");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarningsBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("earnings between", value1, value2, "earnings");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarningsNotBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("earnings not between", value1, value2, "earnings");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarnings1IsNull() {
+ addCriterion("earnings1 is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarnings1IsNotNull() {
+ addCriterion("earnings1 is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarnings1EqualTo(BigDecimal value) {
+ addCriterion("earnings1 =", value, "earnings1");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarnings1NotEqualTo(BigDecimal value) {
+ addCriterion("earnings1 <>", value, "earnings1");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarnings1GreaterThan(BigDecimal value) {
+ addCriterion("earnings1 >", value, "earnings1");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarnings1GreaterThanOrEqualTo(BigDecimal value) {
+ addCriterion("earnings1 >=", value, "earnings1");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarnings1LessThan(BigDecimal value) {
+ addCriterion("earnings1 <", value, "earnings1");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarnings1LessThanOrEqualTo(BigDecimal value) {
+ addCriterion("earnings1 <=", value, "earnings1");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarnings1In(List values) {
+ addCriterion("earnings1 in", values, "earnings1");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarnings1NotIn(List values) {
+ addCriterion("earnings1 not in", values, "earnings1");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarnings1Between(BigDecimal value1, BigDecimal value2) {
+ addCriterion("earnings1 between", value1, value2, "earnings1");
+ return (Criteria) this;
+ }
+
+ public Criteria andEarnings1NotBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("earnings1 not between", value1, value2, "earnings1");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRateIsNull() {
+ addCriterion("growth_rate is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRateIsNotNull() {
+ addCriterion("growth_rate is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRateEqualTo(BigDecimal value) {
+ addCriterion("growth_rate =", value, "growthRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRateNotEqualTo(BigDecimal value) {
+ addCriterion("growth_rate <>", value, "growthRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRateGreaterThan(BigDecimal value) {
+ addCriterion("growth_rate >", value, "growthRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRateGreaterThanOrEqualTo(BigDecimal value) {
+ addCriterion("growth_rate >=", value, "growthRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRateLessThan(BigDecimal value) {
+ addCriterion("growth_rate <", value, "growthRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRateLessThanOrEqualTo(BigDecimal value) {
+ addCriterion("growth_rate <=", value, "growthRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRateIn(List values) {
+ addCriterion("growth_rate in", values, "growthRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRateNotIn(List values) {
+ addCriterion("growth_rate not in", values, "growthRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRateBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("growth_rate between", value1, value2, "growthRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRateNotBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("growth_rate not between", value1, value2, "growthRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRate1IsNull() {
+ addCriterion("growth_rate1 is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRate1IsNotNull() {
+ addCriterion("growth_rate1 is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRate1EqualTo(BigDecimal value) {
+ addCriterion("growth_rate1 =", value, "growthRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRate1NotEqualTo(BigDecimal value) {
+ addCriterion("growth_rate1 <>", value, "growthRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRate1GreaterThan(BigDecimal value) {
+ addCriterion("growth_rate1 >", value, "growthRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRate1GreaterThanOrEqualTo(BigDecimal value) {
+ addCriterion("growth_rate1 >=", value, "growthRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRate1LessThan(BigDecimal value) {
+ addCriterion("growth_rate1 <", value, "growthRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRate1LessThanOrEqualTo(BigDecimal value) {
+ addCriterion("growth_rate1 <=", value, "growthRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRate1In(List values) {
+ addCriterion("growth_rate1 in", values, "growthRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRate1NotIn(List values) {
+ addCriterion("growth_rate1 not in", values, "growthRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRate1Between(BigDecimal value1, BigDecimal value2) {
+ addCriterion("growth_rate1 between", value1, value2, "growthRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andGrowthRate1NotBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("growth_rate1 not between", value1, value2, "growthRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorthIsNull() {
+ addCriterion("net_worth is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorthIsNotNull() {
+ addCriterion("net_worth is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorthEqualTo(BigDecimal value) {
+ addCriterion("net_worth =", value, "netWorth");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorthNotEqualTo(BigDecimal value) {
+ addCriterion("net_worth <>", value, "netWorth");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorthGreaterThan(BigDecimal value) {
+ addCriterion("net_worth >", value, "netWorth");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorthGreaterThanOrEqualTo(BigDecimal value) {
+ addCriterion("net_worth >=", value, "netWorth");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorthLessThan(BigDecimal value) {
+ addCriterion("net_worth <", value, "netWorth");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorthLessThanOrEqualTo(BigDecimal value) {
+ addCriterion("net_worth <=", value, "netWorth");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorthIn(List values) {
+ addCriterion("net_worth in", values, "netWorth");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorthNotIn(List values) {
+ addCriterion("net_worth not in", values, "netWorth");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorthBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("net_worth between", value1, value2, "netWorth");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorthNotBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("net_worth not between", value1, value2, "netWorth");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorth1IsNull() {
+ addCriterion("net_worth1 is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorth1IsNotNull() {
+ addCriterion("net_worth1 is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorth1EqualTo(BigDecimal value) {
+ addCriterion("net_worth1 =", value, "netWorth1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorth1NotEqualTo(BigDecimal value) {
+ addCriterion("net_worth1 <>", value, "netWorth1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorth1GreaterThan(BigDecimal value) {
+ addCriterion("net_worth1 >", value, "netWorth1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorth1GreaterThanOrEqualTo(BigDecimal value) {
+ addCriterion("net_worth1 >=", value, "netWorth1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorth1LessThan(BigDecimal value) {
+ addCriterion("net_worth1 <", value, "netWorth1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorth1LessThanOrEqualTo(BigDecimal value) {
+ addCriterion("net_worth1 <=", value, "netWorth1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorth1In(List values) {
+ addCriterion("net_worth1 in", values, "netWorth1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorth1NotIn(List values) {
+ addCriterion("net_worth1 not in", values, "netWorth1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorth1Between(BigDecimal value1, BigDecimal value2) {
+ addCriterion("net_worth1 between", value1, value2, "netWorth1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetWorth1NotBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("net_worth1 not between", value1, value2, "netWorth1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterestIsNull() {
+ addCriterion("net_interest is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterestIsNotNull() {
+ addCriterion("net_interest is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterestEqualTo(BigDecimal value) {
+ addCriterion("net_interest =", value, "netInterest");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterestNotEqualTo(BigDecimal value) {
+ addCriterion("net_interest <>", value, "netInterest");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterestGreaterThan(BigDecimal value) {
+ addCriterion("net_interest >", value, "netInterest");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterestGreaterThanOrEqualTo(BigDecimal value) {
+ addCriterion("net_interest >=", value, "netInterest");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterestLessThan(BigDecimal value) {
+ addCriterion("net_interest <", value, "netInterest");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterestLessThanOrEqualTo(BigDecimal value) {
+ addCriterion("net_interest <=", value, "netInterest");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterestIn(List values) {
+ addCriterion("net_interest in", values, "netInterest");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterestNotIn(List values) {
+ addCriterion("net_interest not in", values, "netInterest");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterestBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("net_interest between", value1, value2, "netInterest");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterestNotBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("net_interest not between", value1, value2, "netInterest");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterest1IsNull() {
+ addCriterion("net_interest1 is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterest1IsNotNull() {
+ addCriterion("net_interest1 is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterest1EqualTo(BigDecimal value) {
+ addCriterion("net_interest1 =", value, "netInterest1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterest1NotEqualTo(BigDecimal value) {
+ addCriterion("net_interest1 <>", value, "netInterest1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterest1GreaterThan(BigDecimal value) {
+ addCriterion("net_interest1 >", value, "netInterest1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterest1GreaterThanOrEqualTo(BigDecimal value) {
+ addCriterion("net_interest1 >=", value, "netInterest1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterest1LessThan(BigDecimal value) {
+ addCriterion("net_interest1 <", value, "netInterest1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterest1LessThanOrEqualTo(BigDecimal value) {
+ addCriterion("net_interest1 <=", value, "netInterest1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterest1In(List values) {
+ addCriterion("net_interest1 in", values, "netInterest1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterest1NotIn(List values) {
+ addCriterion("net_interest1 not in", values, "netInterest1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterest1Between(BigDecimal value1, BigDecimal value2) {
+ addCriterion("net_interest1 between", value1, value2, "netInterest1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetInterest1NotBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("net_interest1 not between", value1, value2, "netInterest1");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncomeIsNull() {
+ addCriterion("operating_income is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncomeIsNotNull() {
+ addCriterion("operating_income is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncomeEqualTo(BigDecimal value) {
+ addCriterion("operating_income =", value, "operatingIncome");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncomeNotEqualTo(BigDecimal value) {
+ addCriterion("operating_income <>", value, "operatingIncome");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncomeGreaterThan(BigDecimal value) {
+ addCriterion("operating_income >", value, "operatingIncome");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncomeGreaterThanOrEqualTo(BigDecimal value) {
+ addCriterion("operating_income >=", value, "operatingIncome");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncomeLessThan(BigDecimal value) {
+ addCriterion("operating_income <", value, "operatingIncome");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncomeLessThanOrEqualTo(BigDecimal value) {
+ addCriterion("operating_income <=", value, "operatingIncome");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncomeIn(List values) {
+ addCriterion("operating_income in", values, "operatingIncome");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncomeNotIn(List values) {
+ addCriterion("operating_income not in", values, "operatingIncome");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncomeBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("operating_income between", value1, value2, "operatingIncome");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncomeNotBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("operating_income not between", value1, value2, "operatingIncome");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncome1IsNull() {
+ addCriterion("operating_income1 is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncome1IsNotNull() {
+ addCriterion("operating_income1 is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncome1EqualTo(BigDecimal value) {
+ addCriterion("operating_income1 =", value, "operatingIncome1");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncome1NotEqualTo(BigDecimal value) {
+ addCriterion("operating_income1 <>", value, "operatingIncome1");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncome1GreaterThan(BigDecimal value) {
+ addCriterion("operating_income1 >", value, "operatingIncome1");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncome1GreaterThanOrEqualTo(BigDecimal value) {
+ addCriterion("operating_income1 >=", value, "operatingIncome1");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncome1LessThan(BigDecimal value) {
+ addCriterion("operating_income1 <", value, "operatingIncome1");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncome1LessThanOrEqualTo(BigDecimal value) {
+ addCriterion("operating_income1 <=", value, "operatingIncome1");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncome1In(List values) {
+ addCriterion("operating_income1 in", values, "operatingIncome1");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncome1NotIn(List values) {
+ addCriterion("operating_income1 not in", values, "operatingIncome1");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncome1Between(BigDecimal value1, BigDecimal value2) {
+ addCriterion("operating_income1 between", value1, value2, "operatingIncome1");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingIncome1NotBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("operating_income1 not between", value1, value2, "operatingIncome1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRateIsNull() {
+ addCriterion("net_operatinginterest_rate is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRateIsNotNull() {
+ addCriterion("net_operatinginterest_rate is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRateEqualTo(BigDecimal value) {
+ addCriterion("net_operatinginterest_rate =", value, "netOperatinginterestRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRateNotEqualTo(BigDecimal value) {
+ addCriterion("net_operatinginterest_rate <>", value, "netOperatinginterestRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRateGreaterThan(BigDecimal value) {
+ addCriterion("net_operatinginterest_rate >", value, "netOperatinginterestRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRateGreaterThanOrEqualTo(BigDecimal value) {
+ addCriterion("net_operatinginterest_rate >=", value, "netOperatinginterestRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRateLessThan(BigDecimal value) {
+ addCriterion("net_operatinginterest_rate <", value, "netOperatinginterestRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRateLessThanOrEqualTo(BigDecimal value) {
+ addCriterion("net_operatinginterest_rate <=", value, "netOperatinginterestRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRateIn(List values) {
+ addCriterion("net_operatinginterest_rate in", values, "netOperatinginterestRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRateNotIn(List values) {
+ addCriterion("net_operatinginterest_rate not in", values, "netOperatinginterestRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRateBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("net_operatinginterest_rate between", value1, value2, "netOperatinginterestRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRateNotBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("net_operatinginterest_rate not between", value1, value2, "netOperatinginterestRate");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRate1IsNull() {
+ addCriterion("net_operatinginterest_rate1 is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRate1IsNotNull() {
+ addCriterion("net_operatinginterest_rate1 is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRate1EqualTo(BigDecimal value) {
+ addCriterion("net_operatinginterest_rate1 =", value, "netOperatinginterestRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRate1NotEqualTo(BigDecimal value) {
+ addCriterion("net_operatinginterest_rate1 <>", value, "netOperatinginterestRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRate1GreaterThan(BigDecimal value) {
+ addCriterion("net_operatinginterest_rate1 >", value, "netOperatinginterestRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRate1GreaterThanOrEqualTo(BigDecimal value) {
+ addCriterion("net_operatinginterest_rate1 >=", value, "netOperatinginterestRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRate1LessThan(BigDecimal value) {
+ addCriterion("net_operatinginterest_rate1 <", value, "netOperatinginterestRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRate1LessThanOrEqualTo(BigDecimal value) {
+ addCriterion("net_operatinginterest_rate1 <=", value, "netOperatinginterestRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRate1In(List values) {
+ addCriterion("net_operatinginterest_rate1 in", values, "netOperatinginterestRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRate1NotIn(List values) {
+ addCriterion("net_operatinginterest_rate1 not in", values, "netOperatinginterestRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRate1Between(BigDecimal value1, BigDecimal value2) {
+ addCriterion("net_operatinginterest_rate1 between", value1, value2, "netOperatinginterestRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andNetOperatinginterestRate1NotBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("net_operatinginterest_rate1 not between", value1, value2, "netOperatinginterestRate1");
+ return (Criteria) this;
+ }
+
+ public Criteria andMethodIdIsNull() {
+ addCriterion("method_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMethodIdIsNotNull() {
+ addCriterion("method_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMethodIdEqualTo(Integer value) {
+ addCriterion("method_id =", value, "methodId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMethodIdNotEqualTo(Integer value) {
+ addCriterion("method_id <>", value, "methodId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMethodIdGreaterThan(Integer value) {
+ addCriterion("method_id >", value, "methodId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMethodIdGreaterThanOrEqualTo(Integer value) {
+ addCriterion("method_id >=", value, "methodId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMethodIdLessThan(Integer value) {
+ addCriterion("method_id <", value, "methodId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMethodIdLessThanOrEqualTo(Integer value) {
+ addCriterion("method_id <=", value, "methodId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMethodIdIn(List values) {
+ addCriterion("method_id in", values, "methodId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMethodIdNotIn(List values) {
+ addCriterion("method_id not in", values, "methodId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMethodIdBetween(Integer value1, Integer value2) {
+ addCriterion("method_id between", value1, value2, "methodId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMethodIdNotBetween(Integer value1, Integer value2) {
+ addCriterion("method_id not between", value1, value2, "methodId");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/com/sztzjy/fund_investment/entity/ProBusinessInfo.java b/src/main/java/com/sztzjy/fund_investment/entity/ProBusinessInfo.java
new file mode 100644
index 0000000..40dc055
--- /dev/null
+++ b/src/main/java/com/sztzjy/fund_investment/entity/ProBusinessInfo.java
@@ -0,0 +1,218 @@
+package com.sztzjy.fund_investment.entity;
+
+import io.swagger.annotations.ApiModelProperty;
+/**
+ *
+ * @author xcj
+ * pro_business_info
+ */
+public class ProBusinessInfo {
+ @ApiModelProperty("公司背景详情Id")
+ private String id;
+
+ @ApiModelProperty("项目池ID")
+ private String projectPoolId;
+
+ @ApiModelProperty("注册资本")
+ private String registeredCapital;
+
+ @ApiModelProperty("经营状态")
+ private String operatingState;
+
+ @ApiModelProperty("统一社会信用代码")
+ private String creditCode;
+
+ @ApiModelProperty("纳税人识别号")
+ private String identificationNumber;
+
+ @ApiModelProperty("营业期限")
+ private String businessTerm;
+
+ @ApiModelProperty("实缴资本")
+ private String paidinCapital;
+
+ @ApiModelProperty("参保人数")
+ private String insuranceNum;
+
+ @ApiModelProperty("成立日期")
+ private String createDate;
+
+ @ApiModelProperty("工商注册号")
+ private String registrationNum;
+
+ @ApiModelProperty("组织结构代码")
+ private String orgaStruCode;
+
+ @ApiModelProperty("公司类型")
+ private String companyType;
+
+ @ApiModelProperty("行业")
+ private String industry;
+
+ @ApiModelProperty("核准日期")
+ private String approvalDate;
+
+ @ApiModelProperty("人员规模")
+ private String staffSize;
+
+ @ApiModelProperty("登记机关")
+ private String registrar;
+
+ @ApiModelProperty("注册地址")
+ private String registeredAddress;
+
+ @ApiModelProperty("经营范围")
+ private String businessScope;
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id == null ? null : id.trim();
+ }
+
+ public String getProjectPoolId() {
+ return projectPoolId;
+ }
+
+ public void setProjectPoolId(String projectPoolId) {
+ this.projectPoolId = projectPoolId == null ? null : projectPoolId.trim();
+ }
+
+ public String getRegisteredCapital() {
+ return registeredCapital;
+ }
+
+ public void setRegisteredCapital(String registeredCapital) {
+ this.registeredCapital = registeredCapital == null ? null : registeredCapital.trim();
+ }
+
+ public String getOperatingState() {
+ return operatingState;
+ }
+
+ public void setOperatingState(String operatingState) {
+ this.operatingState = operatingState == null ? null : operatingState.trim();
+ }
+
+ public String getCreditCode() {
+ return creditCode;
+ }
+
+ public void setCreditCode(String creditCode) {
+ this.creditCode = creditCode == null ? null : creditCode.trim();
+ }
+
+ public String getIdentificationNumber() {
+ return identificationNumber;
+ }
+
+ public void setIdentificationNumber(String identificationNumber) {
+ this.identificationNumber = identificationNumber == null ? null : identificationNumber.trim();
+ }
+
+ public String getBusinessTerm() {
+ return businessTerm;
+ }
+
+ public void setBusinessTerm(String businessTerm) {
+ this.businessTerm = businessTerm == null ? null : businessTerm.trim();
+ }
+
+ public String getPaidinCapital() {
+ return paidinCapital;
+ }
+
+ public void setPaidinCapital(String paidinCapital) {
+ this.paidinCapital = paidinCapital == null ? null : paidinCapital.trim();
+ }
+
+ public String getInsuranceNum() {
+ return insuranceNum;
+ }
+
+ public void setInsuranceNum(String insuranceNum) {
+ this.insuranceNum = insuranceNum == null ? null : insuranceNum.trim();
+ }
+
+ public String getCreateDate() {
+ return createDate;
+ }
+
+ public void setCreateDate(String createDate) {
+ this.createDate = createDate == null ? null : createDate.trim();
+ }
+
+ public String getRegistrationNum() {
+ return registrationNum;
+ }
+
+ public void setRegistrationNum(String registrationNum) {
+ this.registrationNum = registrationNum == null ? null : registrationNum.trim();
+ }
+
+ public String getOrgaStruCode() {
+ return orgaStruCode;
+ }
+
+ public void setOrgaStruCode(String orgaStruCode) {
+ this.orgaStruCode = orgaStruCode == null ? null : orgaStruCode.trim();
+ }
+
+ public String getCompanyType() {
+ return companyType;
+ }
+
+ public void setCompanyType(String companyType) {
+ this.companyType = companyType == null ? null : companyType.trim();
+ }
+
+ public String getIndustry() {
+ return industry;
+ }
+
+ public void setIndustry(String industry) {
+ this.industry = industry == null ? null : industry.trim();
+ }
+
+ public String getApprovalDate() {
+ return approvalDate;
+ }
+
+ public void setApprovalDate(String approvalDate) {
+ this.approvalDate = approvalDate == null ? null : approvalDate.trim();
+ }
+
+ public String getStaffSize() {
+ return staffSize;
+ }
+
+ public void setStaffSize(String staffSize) {
+ this.staffSize = staffSize == null ? null : staffSize.trim();
+ }
+
+ public String getRegistrar() {
+ return registrar;
+ }
+
+ public void setRegistrar(String registrar) {
+ this.registrar = registrar == null ? null : registrar.trim();
+ }
+
+ public String getRegisteredAddress() {
+ return registeredAddress;
+ }
+
+ public void setRegisteredAddress(String registeredAddress) {
+ this.registeredAddress = registeredAddress == null ? null : registeredAddress.trim();
+ }
+
+ public String getBusinessScope() {
+ return businessScope;
+ }
+
+ public void setBusinessScope(String businessScope) {
+ this.businessScope = businessScope == null ? null : businessScope.trim();
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/com/sztzjy/fund_investment/entity/ProBusinessInfoExample.java b/src/main/java/com/sztzjy/fund_investment/entity/ProBusinessInfoExample.java
new file mode 100644
index 0000000..2135cdd
--- /dev/null
+++ b/src/main/java/com/sztzjy/fund_investment/entity/ProBusinessInfoExample.java
@@ -0,0 +1,1529 @@
+package com.sztzjy.fund_investment.entity;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class ProBusinessInfoExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public ProBusinessInfoExample() {
+ oredCriteria = new ArrayList<>();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList<>();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(String value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(String value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(String value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(String value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(String value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(String value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLike(String value) {
+ addCriterion("id like", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotLike(String value) {
+ addCriterion("id not like", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(String value1, String value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(String value1, String value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdIsNull() {
+ addCriterion("project_pool_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdIsNotNull() {
+ addCriterion("project_pool_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdEqualTo(String value) {
+ addCriterion("project_pool_id =", value, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdNotEqualTo(String value) {
+ addCriterion("project_pool_id <>", value, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdGreaterThan(String value) {
+ addCriterion("project_pool_id >", value, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdGreaterThanOrEqualTo(String value) {
+ addCriterion("project_pool_id >=", value, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdLessThan(String value) {
+ addCriterion("project_pool_id <", value, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdLessThanOrEqualTo(String value) {
+ addCriterion("project_pool_id <=", value, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdLike(String value) {
+ addCriterion("project_pool_id like", value, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdNotLike(String value) {
+ addCriterion("project_pool_id not like", value, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdIn(List values) {
+ addCriterion("project_pool_id in", values, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdNotIn(List values) {
+ addCriterion("project_pool_id not in", values, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdBetween(String value1, String value2) {
+ addCriterion("project_pool_id between", value1, value2, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectPoolIdNotBetween(String value1, String value2) {
+ addCriterion("project_pool_id not between", value1, value2, "projectPoolId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredCapitalIsNull() {
+ addCriterion("registered_capital is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredCapitalIsNotNull() {
+ addCriterion("registered_capital is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredCapitalEqualTo(String value) {
+ addCriterion("registered_capital =", value, "registeredCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredCapitalNotEqualTo(String value) {
+ addCriterion("registered_capital <>", value, "registeredCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredCapitalGreaterThan(String value) {
+ addCriterion("registered_capital >", value, "registeredCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredCapitalGreaterThanOrEqualTo(String value) {
+ addCriterion("registered_capital >=", value, "registeredCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredCapitalLessThan(String value) {
+ addCriterion("registered_capital <", value, "registeredCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredCapitalLessThanOrEqualTo(String value) {
+ addCriterion("registered_capital <=", value, "registeredCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredCapitalLike(String value) {
+ addCriterion("registered_capital like", value, "registeredCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredCapitalNotLike(String value) {
+ addCriterion("registered_capital not like", value, "registeredCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredCapitalIn(List values) {
+ addCriterion("registered_capital in", values, "registeredCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredCapitalNotIn(List values) {
+ addCriterion("registered_capital not in", values, "registeredCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredCapitalBetween(String value1, String value2) {
+ addCriterion("registered_capital between", value1, value2, "registeredCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredCapitalNotBetween(String value1, String value2) {
+ addCriterion("registered_capital not between", value1, value2, "registeredCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingStateIsNull() {
+ addCriterion("operating_state is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingStateIsNotNull() {
+ addCriterion("operating_state is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingStateEqualTo(String value) {
+ addCriterion("operating_state =", value, "operatingState");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingStateNotEqualTo(String value) {
+ addCriterion("operating_state <>", value, "operatingState");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingStateGreaterThan(String value) {
+ addCriterion("operating_state >", value, "operatingState");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingStateGreaterThanOrEqualTo(String value) {
+ addCriterion("operating_state >=", value, "operatingState");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingStateLessThan(String value) {
+ addCriterion("operating_state <", value, "operatingState");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingStateLessThanOrEqualTo(String value) {
+ addCriterion("operating_state <=", value, "operatingState");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingStateLike(String value) {
+ addCriterion("operating_state like", value, "operatingState");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingStateNotLike(String value) {
+ addCriterion("operating_state not like", value, "operatingState");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingStateIn(List values) {
+ addCriterion("operating_state in", values, "operatingState");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingStateNotIn(List values) {
+ addCriterion("operating_state not in", values, "operatingState");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingStateBetween(String value1, String value2) {
+ addCriterion("operating_state between", value1, value2, "operatingState");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatingStateNotBetween(String value1, String value2) {
+ addCriterion("operating_state not between", value1, value2, "operatingState");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreditCodeIsNull() {
+ addCriterion("credit_code is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreditCodeIsNotNull() {
+ addCriterion("credit_code is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreditCodeEqualTo(String value) {
+ addCriterion("credit_code =", value, "creditCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreditCodeNotEqualTo(String value) {
+ addCriterion("credit_code <>", value, "creditCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreditCodeGreaterThan(String value) {
+ addCriterion("credit_code >", value, "creditCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreditCodeGreaterThanOrEqualTo(String value) {
+ addCriterion("credit_code >=", value, "creditCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreditCodeLessThan(String value) {
+ addCriterion("credit_code <", value, "creditCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreditCodeLessThanOrEqualTo(String value) {
+ addCriterion("credit_code <=", value, "creditCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreditCodeLike(String value) {
+ addCriterion("credit_code like", value, "creditCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreditCodeNotLike(String value) {
+ addCriterion("credit_code not like", value, "creditCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreditCodeIn(List values) {
+ addCriterion("credit_code in", values, "creditCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreditCodeNotIn(List values) {
+ addCriterion("credit_code not in", values, "creditCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreditCodeBetween(String value1, String value2) {
+ addCriterion("credit_code between", value1, value2, "creditCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreditCodeNotBetween(String value1, String value2) {
+ addCriterion("credit_code not between", value1, value2, "creditCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdentificationNumberIsNull() {
+ addCriterion("identification_number is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdentificationNumberIsNotNull() {
+ addCriterion("identification_number is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdentificationNumberEqualTo(String value) {
+ addCriterion("identification_number =", value, "identificationNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdentificationNumberNotEqualTo(String value) {
+ addCriterion("identification_number <>", value, "identificationNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdentificationNumberGreaterThan(String value) {
+ addCriterion("identification_number >", value, "identificationNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdentificationNumberGreaterThanOrEqualTo(String value) {
+ addCriterion("identification_number >=", value, "identificationNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdentificationNumberLessThan(String value) {
+ addCriterion("identification_number <", value, "identificationNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdentificationNumberLessThanOrEqualTo(String value) {
+ addCriterion("identification_number <=", value, "identificationNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdentificationNumberLike(String value) {
+ addCriterion("identification_number like", value, "identificationNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdentificationNumberNotLike(String value) {
+ addCriterion("identification_number not like", value, "identificationNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdentificationNumberIn(List values) {
+ addCriterion("identification_number in", values, "identificationNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdentificationNumberNotIn(List values) {
+ addCriterion("identification_number not in", values, "identificationNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdentificationNumberBetween(String value1, String value2) {
+ addCriterion("identification_number between", value1, value2, "identificationNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdentificationNumberNotBetween(String value1, String value2) {
+ addCriterion("identification_number not between", value1, value2, "identificationNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessTermIsNull() {
+ addCriterion("business_term is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessTermIsNotNull() {
+ addCriterion("business_term is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessTermEqualTo(String value) {
+ addCriterion("business_term =", value, "businessTerm");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessTermNotEqualTo(String value) {
+ addCriterion("business_term <>", value, "businessTerm");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessTermGreaterThan(String value) {
+ addCriterion("business_term >", value, "businessTerm");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessTermGreaterThanOrEqualTo(String value) {
+ addCriterion("business_term >=", value, "businessTerm");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessTermLessThan(String value) {
+ addCriterion("business_term <", value, "businessTerm");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessTermLessThanOrEqualTo(String value) {
+ addCriterion("business_term <=", value, "businessTerm");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessTermLike(String value) {
+ addCriterion("business_term like", value, "businessTerm");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessTermNotLike(String value) {
+ addCriterion("business_term not like", value, "businessTerm");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessTermIn(List values) {
+ addCriterion("business_term in", values, "businessTerm");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessTermNotIn(List values) {
+ addCriterion("business_term not in", values, "businessTerm");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessTermBetween(String value1, String value2) {
+ addCriterion("business_term between", value1, value2, "businessTerm");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessTermNotBetween(String value1, String value2) {
+ addCriterion("business_term not between", value1, value2, "businessTerm");
+ return (Criteria) this;
+ }
+
+ public Criteria andPaidinCapitalIsNull() {
+ addCriterion("paidIn_capital is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPaidinCapitalIsNotNull() {
+ addCriterion("paidIn_capital is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPaidinCapitalEqualTo(String value) {
+ addCriterion("paidIn_capital =", value, "paidinCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andPaidinCapitalNotEqualTo(String value) {
+ addCriterion("paidIn_capital <>", value, "paidinCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andPaidinCapitalGreaterThan(String value) {
+ addCriterion("paidIn_capital >", value, "paidinCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andPaidinCapitalGreaterThanOrEqualTo(String value) {
+ addCriterion("paidIn_capital >=", value, "paidinCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andPaidinCapitalLessThan(String value) {
+ addCriterion("paidIn_capital <", value, "paidinCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andPaidinCapitalLessThanOrEqualTo(String value) {
+ addCriterion("paidIn_capital <=", value, "paidinCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andPaidinCapitalLike(String value) {
+ addCriterion("paidIn_capital like", value, "paidinCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andPaidinCapitalNotLike(String value) {
+ addCriterion("paidIn_capital not like", value, "paidinCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andPaidinCapitalIn(List values) {
+ addCriterion("paidIn_capital in", values, "paidinCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andPaidinCapitalNotIn(List values) {
+ addCriterion("paidIn_capital not in", values, "paidinCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andPaidinCapitalBetween(String value1, String value2) {
+ addCriterion("paidIn_capital between", value1, value2, "paidinCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andPaidinCapitalNotBetween(String value1, String value2) {
+ addCriterion("paidIn_capital not between", value1, value2, "paidinCapital");
+ return (Criteria) this;
+ }
+
+ public Criteria andInsuranceNumIsNull() {
+ addCriterion("insurance_num is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andInsuranceNumIsNotNull() {
+ addCriterion("insurance_num is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andInsuranceNumEqualTo(String value) {
+ addCriterion("insurance_num =", value, "insuranceNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andInsuranceNumNotEqualTo(String value) {
+ addCriterion("insurance_num <>", value, "insuranceNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andInsuranceNumGreaterThan(String value) {
+ addCriterion("insurance_num >", value, "insuranceNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andInsuranceNumGreaterThanOrEqualTo(String value) {
+ addCriterion("insurance_num >=", value, "insuranceNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andInsuranceNumLessThan(String value) {
+ addCriterion("insurance_num <", value, "insuranceNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andInsuranceNumLessThanOrEqualTo(String value) {
+ addCriterion("insurance_num <=", value, "insuranceNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andInsuranceNumLike(String value) {
+ addCriterion("insurance_num like", value, "insuranceNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andInsuranceNumNotLike(String value) {
+ addCriterion("insurance_num not like", value, "insuranceNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andInsuranceNumIn(List values) {
+ addCriterion("insurance_num in", values, "insuranceNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andInsuranceNumNotIn(List values) {
+ addCriterion("insurance_num not in", values, "insuranceNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andInsuranceNumBetween(String value1, String value2) {
+ addCriterion("insurance_num between", value1, value2, "insuranceNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andInsuranceNumNotBetween(String value1, String value2) {
+ addCriterion("insurance_num not between", value1, value2, "insuranceNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateDateIsNull() {
+ addCriterion("create_date is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateDateIsNotNull() {
+ addCriterion("create_date is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateDateEqualTo(String value) {
+ addCriterion("create_date =", value, "createDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateDateNotEqualTo(String value) {
+ addCriterion("create_date <>", value, "createDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateDateGreaterThan(String value) {
+ addCriterion("create_date >", value, "createDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateDateGreaterThanOrEqualTo(String value) {
+ addCriterion("create_date >=", value, "createDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateDateLessThan(String value) {
+ addCriterion("create_date <", value, "createDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateDateLessThanOrEqualTo(String value) {
+ addCriterion("create_date <=", value, "createDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateDateLike(String value) {
+ addCriterion("create_date like", value, "createDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateDateNotLike(String value) {
+ addCriterion("create_date not like", value, "createDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateDateIn(List values) {
+ addCriterion("create_date in", values, "createDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateDateNotIn(List values) {
+ addCriterion("create_date not in", values, "createDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateDateBetween(String value1, String value2) {
+ addCriterion("create_date between", value1, value2, "createDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateDateNotBetween(String value1, String value2) {
+ addCriterion("create_date not between", value1, value2, "createDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrationNumIsNull() {
+ addCriterion("registration_num is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrationNumIsNotNull() {
+ addCriterion("registration_num is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrationNumEqualTo(String value) {
+ addCriterion("registration_num =", value, "registrationNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrationNumNotEqualTo(String value) {
+ addCriterion("registration_num <>", value, "registrationNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrationNumGreaterThan(String value) {
+ addCriterion("registration_num >", value, "registrationNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrationNumGreaterThanOrEqualTo(String value) {
+ addCriterion("registration_num >=", value, "registrationNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrationNumLessThan(String value) {
+ addCriterion("registration_num <", value, "registrationNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrationNumLessThanOrEqualTo(String value) {
+ addCriterion("registration_num <=", value, "registrationNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrationNumLike(String value) {
+ addCriterion("registration_num like", value, "registrationNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrationNumNotLike(String value) {
+ addCriterion("registration_num not like", value, "registrationNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrationNumIn(List values) {
+ addCriterion("registration_num in", values, "registrationNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrationNumNotIn(List values) {
+ addCriterion("registration_num not in", values, "registrationNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrationNumBetween(String value1, String value2) {
+ addCriterion("registration_num between", value1, value2, "registrationNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrationNumNotBetween(String value1, String value2) {
+ addCriterion("registration_num not between", value1, value2, "registrationNum");
+ return (Criteria) this;
+ }
+
+ public Criteria andOrgaStruCodeIsNull() {
+ addCriterion("orga_stru_code is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOrgaStruCodeIsNotNull() {
+ addCriterion("orga_stru_code is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOrgaStruCodeEqualTo(String value) {
+ addCriterion("orga_stru_code =", value, "orgaStruCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andOrgaStruCodeNotEqualTo(String value) {
+ addCriterion("orga_stru_code <>", value, "orgaStruCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andOrgaStruCodeGreaterThan(String value) {
+ addCriterion("orga_stru_code >", value, "orgaStruCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andOrgaStruCodeGreaterThanOrEqualTo(String value) {
+ addCriterion("orga_stru_code >=", value, "orgaStruCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andOrgaStruCodeLessThan(String value) {
+ addCriterion("orga_stru_code <", value, "orgaStruCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andOrgaStruCodeLessThanOrEqualTo(String value) {
+ addCriterion("orga_stru_code <=", value, "orgaStruCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andOrgaStruCodeLike(String value) {
+ addCriterion("orga_stru_code like", value, "orgaStruCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andOrgaStruCodeNotLike(String value) {
+ addCriterion("orga_stru_code not like", value, "orgaStruCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andOrgaStruCodeIn(List values) {
+ addCriterion("orga_stru_code in", values, "orgaStruCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andOrgaStruCodeNotIn(List values) {
+ addCriterion("orga_stru_code not in", values, "orgaStruCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andOrgaStruCodeBetween(String value1, String value2) {
+ addCriterion("orga_stru_code between", value1, value2, "orgaStruCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andOrgaStruCodeNotBetween(String value1, String value2) {
+ addCriterion("orga_stru_code not between", value1, value2, "orgaStruCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyTypeIsNull() {
+ addCriterion("company_type is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyTypeIsNotNull() {
+ addCriterion("company_type is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyTypeEqualTo(String value) {
+ addCriterion("company_type =", value, "companyType");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyTypeNotEqualTo(String value) {
+ addCriterion("company_type <>", value, "companyType");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyTypeGreaterThan(String value) {
+ addCriterion("company_type >", value, "companyType");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyTypeGreaterThanOrEqualTo(String value) {
+ addCriterion("company_type >=", value, "companyType");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyTypeLessThan(String value) {
+ addCriterion("company_type <", value, "companyType");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyTypeLessThanOrEqualTo(String value) {
+ addCriterion("company_type <=", value, "companyType");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyTypeLike(String value) {
+ addCriterion("company_type like", value, "companyType");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyTypeNotLike(String value) {
+ addCriterion("company_type not like", value, "companyType");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyTypeIn(List values) {
+ addCriterion("company_type in", values, "companyType");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyTypeNotIn(List values) {
+ addCriterion("company_type not in", values, "companyType");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyTypeBetween(String value1, String value2) {
+ addCriterion("company_type between", value1, value2, "companyType");
+ return (Criteria) this;
+ }
+
+ public Criteria andCompanyTypeNotBetween(String value1, String value2) {
+ addCriterion("company_type not between", value1, value2, "companyType");
+ return (Criteria) this;
+ }
+
+ public Criteria andIndustryIsNull() {
+ addCriterion("industry is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIndustryIsNotNull() {
+ addCriterion("industry is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIndustryEqualTo(String value) {
+ addCriterion("industry =", value, "industry");
+ return (Criteria) this;
+ }
+
+ public Criteria andIndustryNotEqualTo(String value) {
+ addCriterion("industry <>", value, "industry");
+ return (Criteria) this;
+ }
+
+ public Criteria andIndustryGreaterThan(String value) {
+ addCriterion("industry >", value, "industry");
+ return (Criteria) this;
+ }
+
+ public Criteria andIndustryGreaterThanOrEqualTo(String value) {
+ addCriterion("industry >=", value, "industry");
+ return (Criteria) this;
+ }
+
+ public Criteria andIndustryLessThan(String value) {
+ addCriterion("industry <", value, "industry");
+ return (Criteria) this;
+ }
+
+ public Criteria andIndustryLessThanOrEqualTo(String value) {
+ addCriterion("industry <=", value, "industry");
+ return (Criteria) this;
+ }
+
+ public Criteria andIndustryLike(String value) {
+ addCriterion("industry like", value, "industry");
+ return (Criteria) this;
+ }
+
+ public Criteria andIndustryNotLike(String value) {
+ addCriterion("industry not like", value, "industry");
+ return (Criteria) this;
+ }
+
+ public Criteria andIndustryIn(List values) {
+ addCriterion("industry in", values, "industry");
+ return (Criteria) this;
+ }
+
+ public Criteria andIndustryNotIn(List values) {
+ addCriterion("industry not in", values, "industry");
+ return (Criteria) this;
+ }
+
+ public Criteria andIndustryBetween(String value1, String value2) {
+ addCriterion("industry between", value1, value2, "industry");
+ return (Criteria) this;
+ }
+
+ public Criteria andIndustryNotBetween(String value1, String value2) {
+ addCriterion("industry not between", value1, value2, "industry");
+ return (Criteria) this;
+ }
+
+ public Criteria andApprovalDateIsNull() {
+ addCriterion("approval_date is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andApprovalDateIsNotNull() {
+ addCriterion("approval_date is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andApprovalDateEqualTo(String value) {
+ addCriterion("approval_date =", value, "approvalDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andApprovalDateNotEqualTo(String value) {
+ addCriterion("approval_date <>", value, "approvalDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andApprovalDateGreaterThan(String value) {
+ addCriterion("approval_date >", value, "approvalDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andApprovalDateGreaterThanOrEqualTo(String value) {
+ addCriterion("approval_date >=", value, "approvalDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andApprovalDateLessThan(String value) {
+ addCriterion("approval_date <", value, "approvalDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andApprovalDateLessThanOrEqualTo(String value) {
+ addCriterion("approval_date <=", value, "approvalDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andApprovalDateLike(String value) {
+ addCriterion("approval_date like", value, "approvalDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andApprovalDateNotLike(String value) {
+ addCriterion("approval_date not like", value, "approvalDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andApprovalDateIn(List values) {
+ addCriterion("approval_date in", values, "approvalDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andApprovalDateNotIn(List values) {
+ addCriterion("approval_date not in", values, "approvalDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andApprovalDateBetween(String value1, String value2) {
+ addCriterion("approval_date between", value1, value2, "approvalDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andApprovalDateNotBetween(String value1, String value2) {
+ addCriterion("approval_date not between", value1, value2, "approvalDate");
+ return (Criteria) this;
+ }
+
+ public Criteria andStaffSizeIsNull() {
+ addCriterion("staff_size is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andStaffSizeIsNotNull() {
+ addCriterion("staff_size is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andStaffSizeEqualTo(String value) {
+ addCriterion("staff_size =", value, "staffSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andStaffSizeNotEqualTo(String value) {
+ addCriterion("staff_size <>", value, "staffSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andStaffSizeGreaterThan(String value) {
+ addCriterion("staff_size >", value, "staffSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andStaffSizeGreaterThanOrEqualTo(String value) {
+ addCriterion("staff_size >=", value, "staffSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andStaffSizeLessThan(String value) {
+ addCriterion("staff_size <", value, "staffSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andStaffSizeLessThanOrEqualTo(String value) {
+ addCriterion("staff_size <=", value, "staffSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andStaffSizeLike(String value) {
+ addCriterion("staff_size like", value, "staffSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andStaffSizeNotLike(String value) {
+ addCriterion("staff_size not like", value, "staffSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andStaffSizeIn(List values) {
+ addCriterion("staff_size in", values, "staffSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andStaffSizeNotIn(List values) {
+ addCriterion("staff_size not in", values, "staffSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andStaffSizeBetween(String value1, String value2) {
+ addCriterion("staff_size between", value1, value2, "staffSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andStaffSizeNotBetween(String value1, String value2) {
+ addCriterion("staff_size not between", value1, value2, "staffSize");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrarIsNull() {
+ addCriterion("registrar is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrarIsNotNull() {
+ addCriterion("registrar is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrarEqualTo(String value) {
+ addCriterion("registrar =", value, "registrar");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrarNotEqualTo(String value) {
+ addCriterion("registrar <>", value, "registrar");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrarGreaterThan(String value) {
+ addCriterion("registrar >", value, "registrar");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrarGreaterThanOrEqualTo(String value) {
+ addCriterion("registrar >=", value, "registrar");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrarLessThan(String value) {
+ addCriterion("registrar <", value, "registrar");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrarLessThanOrEqualTo(String value) {
+ addCriterion("registrar <=", value, "registrar");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrarLike(String value) {
+ addCriterion("registrar like", value, "registrar");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrarNotLike(String value) {
+ addCriterion("registrar not like", value, "registrar");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrarIn(List values) {
+ addCriterion("registrar in", values, "registrar");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrarNotIn(List values) {
+ addCriterion("registrar not in", values, "registrar");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrarBetween(String value1, String value2) {
+ addCriterion("registrar between", value1, value2, "registrar");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegistrarNotBetween(String value1, String value2) {
+ addCriterion("registrar not between", value1, value2, "registrar");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredAddressIsNull() {
+ addCriterion("registered_address is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredAddressIsNotNull() {
+ addCriterion("registered_address is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredAddressEqualTo(String value) {
+ addCriterion("registered_address =", value, "registeredAddress");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredAddressNotEqualTo(String value) {
+ addCriterion("registered_address <>", value, "registeredAddress");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredAddressGreaterThan(String value) {
+ addCriterion("registered_address >", value, "registeredAddress");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredAddressGreaterThanOrEqualTo(String value) {
+ addCriterion("registered_address >=", value, "registeredAddress");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredAddressLessThan(String value) {
+ addCriterion("registered_address <", value, "registeredAddress");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredAddressLessThanOrEqualTo(String value) {
+ addCriterion("registered_address <=", value, "registeredAddress");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredAddressLike(String value) {
+ addCriterion("registered_address like", value, "registeredAddress");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredAddressNotLike(String value) {
+ addCriterion("registered_address not like", value, "registeredAddress");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredAddressIn(List values) {
+ addCriterion("registered_address in", values, "registeredAddress");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredAddressNotIn(List values) {
+ addCriterion("registered_address not in", values, "registeredAddress");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredAddressBetween(String value1, String value2) {
+ addCriterion("registered_address between", value1, value2, "registeredAddress");
+ return (Criteria) this;
+ }
+
+ public Criteria andRegisteredAddressNotBetween(String value1, String value2) {
+ addCriterion("registered_address not between", value1, value2, "registeredAddress");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessScopeIsNull() {
+ addCriterion("business_scope is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessScopeIsNotNull() {
+ addCriterion("business_scope is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessScopeEqualTo(String value) {
+ addCriterion("business_scope =", value, "businessScope");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessScopeNotEqualTo(String value) {
+ addCriterion("business_scope <>", value, "businessScope");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessScopeGreaterThan(String value) {
+ addCriterion("business_scope >", value, "businessScope");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessScopeGreaterThanOrEqualTo(String value) {
+ addCriterion("business_scope >=", value, "businessScope");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessScopeLessThan(String value) {
+ addCriterion("business_scope <", value, "businessScope");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessScopeLessThanOrEqualTo(String value) {
+ addCriterion("business_scope <=", value, "businessScope");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessScopeLike(String value) {
+ addCriterion("business_scope like", value, "businessScope");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessScopeNotLike(String value) {
+ addCriterion("business_scope not like", value, "businessScope");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessScopeIn(List values) {
+ addCriterion("business_scope in", values, "businessScope");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessScopeNotIn(List values) {
+ addCriterion("business_scope not in", values, "businessScope");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessScopeBetween(String value1, String value2) {
+ addCriterion("business_scope between", value1, value2, "businessScope");
+ return (Criteria) this;
+ }
+
+ public Criteria andBusinessScopeNotBetween(String value1, String value2) {
+ addCriterion("business_scope not between", value1, value2, "businessScope");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/com/sztzjy/fund_investment/entity/ProFinancialIndexDetail.java b/src/main/java/com/sztzjy/fund_investment/entity/ProFinancialIndexDetail.java
index a79b625..858f7ae 100644
--- a/src/main/java/com/sztzjy/fund_investment/entity/ProFinancialIndexDetail.java
+++ b/src/main/java/com/sztzjy/fund_investment/entity/ProFinancialIndexDetail.java
@@ -1,11 +1,14 @@
package com.sztzjy.fund_investment.entity;
import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
/**
*
* @author xcj
* pro_financial_index_detail
*/
+@Data
public class ProFinancialIndexDetail {
@ApiModelProperty("财务指标选取详情ID")
private String id;
diff --git a/src/main/java/com/sztzjy/fund_investment/entity/treeSelect/TreeSelect.java b/src/main/java/com/sztzjy/fund_investment/entity/treeSelect/TreeSelect.java
new file mode 100644
index 0000000..99f8a46
--- /dev/null
+++ b/src/main/java/com/sztzjy/fund_investment/entity/treeSelect/TreeSelect.java
@@ -0,0 +1,93 @@
+package com.sztzjy.fund_investment.entity.treeSelect;
+
+
+
+import com.sztzjy.fund_investment.entity.ProFinancialIndex;
+import com.sztzjy.fund_investment.entity.ProFinancialStatement;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+
+public class TreeSelect implements Serializable {
+ private static final long serialVersionUID = 1L;
+ /** 节点ID */
+ private String id;
+
+ /** 节点名称 */
+ private String name;
+
+ private String parentId;
+
+ /** 子节点 */
+ private List children;
+
+ public TreeSelect(ProFinancialIndex financialIndex) {
+ this.id=financialIndex.getId();
+ this.name=financialIndex.getName();
+ this.parentId=financialIndex.getParentId();
+ }
+
+ public TreeSelect(ProFinancialStatement financialStatement) {
+ this.id=financialStatement.getId();
+ this.name=financialStatement.getName();
+ this.parentId=financialStatement.getParentId();
+ }
+
+ public static List buildTree(List dataList) {
+ List treeList = new ArrayList<>();
+
+ for (TreeSelect data : dataList) {
+ if ("0".equals(data.parentId)) {
+ treeList.add(findChildren(data, dataList));
+ }
+ }
+
+ return treeList;
+ }
+
+ private static TreeSelect findChildren(TreeSelect parent, List dataList) {
+ for (TreeSelect data : dataList) {
+ if (parent.id.equals(data.parentId)) {
+ if (parent.children == null) {
+ parent.children = new ArrayList<>();
+ }
+ parent.children.add(findChildren(data, dataList));
+ }
+ }
+
+ return parent;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getParentId() {
+ return parentId;
+ }
+
+ public void setParentId(String parentId) {
+ this.parentId = parentId;
+ }
+
+ public List getChildren() {
+ return children;
+ }
+
+ public void setChildren(List children) {
+ this.children = children;
+ }
+}
diff --git a/src/main/java/com/sztzjy/fund_investment/mapper/EduCompanyMapper.java b/src/main/java/com/sztzjy/fund_investment/mapper/EduCompanyMapper.java
new file mode 100644
index 0000000..1ebc778
--- /dev/null
+++ b/src/main/java/com/sztzjy/fund_investment/mapper/EduCompanyMapper.java
@@ -0,0 +1,30 @@
+package com.sztzjy.fund_investment.mapper;
+
+import com.sztzjy.fund_investment.entity.EduCompany;
+import com.sztzjy.fund_investment.entity.EduCompanyExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface EduCompanyMapper {
+ long countByExample(EduCompanyExample example);
+
+ int deleteByExample(EduCompanyExample example);
+
+ int deleteByPrimaryKey(String id);
+
+ int insert(EduCompany record);
+
+ int insertSelective(EduCompany record);
+
+ List selectByExample(EduCompanyExample example);
+
+ EduCompany selectByPrimaryKey(String id);
+
+ int updateByExampleSelective(@Param("record") EduCompany record, @Param("example") EduCompanyExample example);
+
+ int updateByExample(@Param("record") EduCompany record, @Param("example") EduCompanyExample example);
+
+ int updateByPrimaryKeySelective(EduCompany record);
+
+ int updateByPrimaryKey(EduCompany record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/sztzjy/fund_investment/mapper/EduProjectValuationMapper.java b/src/main/java/com/sztzjy/fund_investment/mapper/EduProjectValuationMapper.java
new file mode 100644
index 0000000..7442d18
--- /dev/null
+++ b/src/main/java/com/sztzjy/fund_investment/mapper/EduProjectValuationMapper.java
@@ -0,0 +1,32 @@
+package com.sztzjy.fund_investment.mapper;
+
+import com.sztzjy.fund_investment.entity.EduProjectValuation;
+import com.sztzjy.fund_investment.entity.EduProjectValuationExample;
+import java.util.List;
+
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+@Mapper
+public interface EduProjectValuationMapper {
+ long countByExample(EduProjectValuationExample example);
+
+ int deleteByExample(EduProjectValuationExample example);
+
+ int deleteByPrimaryKey(String id);
+
+ int insert(EduProjectValuation record);
+
+ int insertSelective(EduProjectValuation record);
+
+ List selectByExample(EduProjectValuationExample example);
+
+ EduProjectValuation selectByPrimaryKey(String id);
+
+ int updateByExampleSelective(@Param("record") EduProjectValuation record, @Param("example") EduProjectValuationExample example);
+
+ int updateByExample(@Param("record") EduProjectValuation record, @Param("example") EduProjectValuationExample example);
+
+ int updateByPrimaryKeySelective(EduProjectValuation record);
+
+ int updateByPrimaryKey(EduProjectValuation record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/sztzjy/fund_investment/mapper/ProBusinessInfoMapper.java b/src/main/java/com/sztzjy/fund_investment/mapper/ProBusinessInfoMapper.java
new file mode 100644
index 0000000..4d5ee2e
--- /dev/null
+++ b/src/main/java/com/sztzjy/fund_investment/mapper/ProBusinessInfoMapper.java
@@ -0,0 +1,32 @@
+package com.sztzjy.fund_investment.mapper;
+
+import com.sztzjy.fund_investment.entity.ProBusinessInfo;
+import com.sztzjy.fund_investment.entity.ProBusinessInfoExample;
+import java.util.List;
+
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+@Mapper
+public interface ProBusinessInfoMapper {
+ long countByExample(ProBusinessInfoExample example);
+
+ int deleteByExample(ProBusinessInfoExample example);
+
+ int deleteByPrimaryKey(String id);
+
+ int insert(ProBusinessInfo record);
+
+ int insertSelective(ProBusinessInfo record);
+
+ List selectByExample(ProBusinessInfoExample example);
+
+ ProBusinessInfo selectByPrimaryKey(String id);
+
+ int updateByExampleSelective(@Param("record") ProBusinessInfo record, @Param("example") ProBusinessInfoExample example);
+
+ int updateByExample(@Param("record") ProBusinessInfo record, @Param("example") ProBusinessInfoExample example);
+
+ int updateByPrimaryKeySelective(ProBusinessInfo record);
+
+ int updateByPrimaryKey(ProBusinessInfo record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/sztzjy/fund_investment/mapper/ProFinancialIndexDetailMapper.java b/src/main/java/com/sztzjy/fund_investment/mapper/ProFinancialIndexDetailMapper.java
index a793bbd..1537c79 100644
--- a/src/main/java/com/sztzjy/fund_investment/mapper/ProFinancialIndexDetailMapper.java
+++ b/src/main/java/com/sztzjy/fund_investment/mapper/ProFinancialIndexDetailMapper.java
@@ -3,8 +3,10 @@ package com.sztzjy.fund_investment.mapper;
import com.sztzjy.fund_investment.entity.ProFinancialIndexDetail;
import com.sztzjy.fund_investment.entity.ProFinancialIndexDetailExample;
import java.util.List;
-import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+@Mapper
public interface ProFinancialIndexDetailMapper {
long countByExample(ProFinancialIndexDetailExample example);
@@ -27,4 +29,6 @@ public interface ProFinancialIndexDetailMapper {
int updateByPrimaryKeySelective(ProFinancialIndexDetail record);
int updateByPrimaryKey(ProFinancialIndexDetail record);
+
+ List selectByProFinancialIndexIdListAndProjectPoolId(List proFinancialIndexIdList, String projectPoolId);
}
\ No newline at end of file
diff --git a/src/main/java/com/sztzjy/fund_investment/mapper/ProFinancialIndexMapper.java b/src/main/java/com/sztzjy/fund_investment/mapper/ProFinancialIndexMapper.java
index 24a0e27..246ae13 100644
--- a/src/main/java/com/sztzjy/fund_investment/mapper/ProFinancialIndexMapper.java
+++ b/src/main/java/com/sztzjy/fund_investment/mapper/ProFinancialIndexMapper.java
@@ -3,8 +3,12 @@ package com.sztzjy.fund_investment.mapper;
import com.sztzjy.fund_investment.entity.ProFinancialIndex;
import com.sztzjy.fund_investment.entity.ProFinancialIndexExample;
import java.util.List;
+
+import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
+@Mapper
public interface ProFinancialIndexMapper {
long countByExample(ProFinancialIndexExample example);
@@ -27,4 +31,6 @@ public interface ProFinancialIndexMapper {
int updateByPrimaryKeySelective(ProFinancialIndex record);
int updateByPrimaryKey(ProFinancialIndex record);
+
+ List selectAll();
}
\ No newline at end of file
diff --git a/src/main/java/com/sztzjy/fund_investment/mapper/ProFinancialStatementDetailMapper.java b/src/main/java/com/sztzjy/fund_investment/mapper/ProFinancialStatementDetailMapper.java
index 38505d8..e4f965f 100644
--- a/src/main/java/com/sztzjy/fund_investment/mapper/ProFinancialStatementDetailMapper.java
+++ b/src/main/java/com/sztzjy/fund_investment/mapper/ProFinancialStatementDetailMapper.java
@@ -3,8 +3,10 @@ package com.sztzjy.fund_investment.mapper;
import com.sztzjy.fund_investment.entity.ProFinancialStatementDetail;
import com.sztzjy.fund_investment.entity.ProFinancialStatementDetailExample;
import java.util.List;
-import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+@Mapper
public interface ProFinancialStatementDetailMapper {
long countByExample(ProFinancialStatementDetailExample example);
@@ -27,4 +29,6 @@ public interface ProFinancialStatementDetailMapper {
int updateByPrimaryKeySelective(ProFinancialStatementDetail record);
int updateByPrimaryKey(ProFinancialStatementDetail record);
+
+ List selectByproFinancialStatementIdListAndProjectPoolId(List proFinancialStatementIdList, String projectPoolId);
}
\ No newline at end of file
diff --git a/src/main/java/com/sztzjy/fund_investment/mapper/ProFinancialStatementMapper.java b/src/main/java/com/sztzjy/fund_investment/mapper/ProFinancialStatementMapper.java
index 3fdc7db..ea4bda6 100644
--- a/src/main/java/com/sztzjy/fund_investment/mapper/ProFinancialStatementMapper.java
+++ b/src/main/java/com/sztzjy/fund_investment/mapper/ProFinancialStatementMapper.java
@@ -3,8 +3,10 @@ package com.sztzjy.fund_investment.mapper;
import com.sztzjy.fund_investment.entity.ProFinancialStatement;
import com.sztzjy.fund_investment.entity.ProFinancialStatementExample;
import java.util.List;
-import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+@Mapper
public interface ProFinancialStatementMapper {
long countByExample(ProFinancialStatementExample example);
@@ -27,4 +29,6 @@ public interface ProFinancialStatementMapper {
int updateByPrimaryKeySelective(ProFinancialStatement record);
int updateByPrimaryKey(ProFinancialStatement record);
+
+ List selectAll();
}
\ No newline at end of file
diff --git a/src/main/java/com/sztzjy/fund_investment/service/ISysProjectDueDiligenceService.java b/src/main/java/com/sztzjy/fund_investment/service/ISysProjectDueDiligenceService.java
index 52f8a4b..9246091 100644
--- a/src/main/java/com/sztzjy/fund_investment/service/ISysProjectDueDiligenceService.java
+++ b/src/main/java/com/sztzjy/fund_investment/service/ISysProjectDueDiligenceService.java
@@ -1,6 +1,8 @@
package com.sztzjy.fund_investment.service;
+import com.github.pagehelper.PageInfo;
import com.sztzjy.fund_investment.entity.*;
+import com.sztzjy.fund_investment.entity.treeSelect.TreeSelect;
import java.util.List;
@@ -32,4 +34,14 @@ public interface ISysProjectDueDiligenceService {
List getProAdminiPenaltyListByFlowId(String flowId);
void updateServiceDueDiligence(FoundProject foundProject);
+
+ List getBusinessInfoList(String flowId);
+
+ List getProFinancialIndexSelectTree();
+
+ List getProFinancialStatementSelectTree();
+
+ PageInfo selectProFinancialIndexDetailList(List proFinancialIndexIdList, String flowId, Integer size, Integer index);
+
+ PageInfo selectProFinancialStatementDetailList(List proFinancialStatementIdList, String flowId,Integer size,Integer index);
}
diff --git a/src/main/java/com/sztzjy/fund_investment/service/ISysProjectValuationService.java b/src/main/java/com/sztzjy/fund_investment/service/ISysProjectValuationService.java
new file mode 100644
index 0000000..da68545
--- /dev/null
+++ b/src/main/java/com/sztzjy/fund_investment/service/ISysProjectValuationService.java
@@ -0,0 +1,11 @@
+package com.sztzjy.fund_investment.service;
+
+import com.sztzjy.fund_investment.entity.EduProjectValuation;
+
+import java.util.List;
+
+public interface ISysProjectValuationService {
+ List getPE(String flowId);
+ List getPB(String flowId);
+ List getPS(String flowId);
+}
diff --git a/src/main/java/com/sztzjy/fund_investment/service/serviceImpl/SysProjectDueDiligenceServiceImpl.java b/src/main/java/com/sztzjy/fund_investment/service/serviceImpl/SysProjectDueDiligenceServiceImpl.java
index d9f5330..4a4a6e1 100644
--- a/src/main/java/com/sztzjy/fund_investment/service/serviceImpl/SysProjectDueDiligenceServiceImpl.java
+++ b/src/main/java/com/sztzjy/fund_investment/service/serviceImpl/SysProjectDueDiligenceServiceImpl.java
@@ -1,12 +1,16 @@
package com.sztzjy.fund_investment.service.serviceImpl;
+import com.github.pagehelper.PageHelper;
+import com.github.pagehelper.PageInfo;
import com.sztzjy.fund_investment.entity.*;
+import com.sztzjy.fund_investment.entity.treeSelect.TreeSelect;
import com.sztzjy.fund_investment.mapper.*;
import com.sztzjy.fund_investment.service.ISysFoundProjectService;
import com.sztzjy.fund_investment.service.ISysProjectDueDiligenceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
+import java.util.ArrayList;
import java.util.List;
@Service
@@ -41,7 +45,16 @@ public class SysProjectDueDiligenceServiceImpl implements ISysProjectDueDiligenc
ProAdminiPenaltyMapper proAdminiPenaltyMapper;
@Autowired
FoundProjectMapper foundProjectMapper;
-
+ @Autowired
+ ProBusinessInfoMapper proBusinessInfoMapper;
+ @Autowired
+ ProFinancialIndexMapper proFinancialIndexMapper;
+ @Autowired
+ ProFinancialStatementMapper proFinancialStatementMapper;
+ @Autowired
+ ProFinancialIndexDetailMapper proFinancialIndexDetailMapper;
+ @Autowired
+ ProFinancialStatementDetailMapper proFinancialStatementDetailMapper;
//公司背景-公司信息
//先根据flowId查询项目池ID 根据项目池ID获取对应的数据
@@ -179,4 +192,60 @@ public class SysProjectDueDiligenceServiceImpl implements ISysProjectDueDiligenc
public void updateServiceDueDiligence(FoundProject foundProject) {
foundProjectMapper.updateByPrimaryKeySelective(foundProject);
}
+
+ @Override
+ public List getBusinessInfoList(String flowId) {
+ String projectPoolId = foundProjectService.selectProjectPoolIdByFlowId(flowId);
+ ProBusinessInfoExample example = new ProBusinessInfoExample();
+ ProBusinessInfoExample.Criteria criteria = example.createCriteria();
+ criteria.andProjectPoolIdEqualTo(projectPoolId);
+ List list = proBusinessInfoMapper.selectByExample(example);
+ return list;
+ }
+
+
+ //返回财务指标选取树
+ @Override
+ public List getProFinancialIndexSelectTree() {
+ List financialIndexList=proFinancialIndexMapper.selectAll();
+ List treeSelectList=new ArrayList<>();
+ for (int i = 0; i < financialIndexList.size(); i++) {
+ treeSelectList.add(new TreeSelect(financialIndexList.get(i)));
+ }
+ List treeSelects = TreeSelect.buildTree(treeSelectList);
+ return treeSelects;
+ }
+
+ //返回财务报表选取树
+ @Override
+ public List getProFinancialStatementSelectTree() {
+ List financialStatementList=proFinancialStatementMapper.selectAll();
+ List treeSelectList=new ArrayList<>();
+ for (int i = 0; i < financialStatementList.size(); i++) {
+ treeSelectList.add(new TreeSelect(financialStatementList.get(i)));
+ }
+ List treeSelects = TreeSelect.buildTree(treeSelectList);
+ return treeSelects;
+ }
+
+ //财务指标详情查询
+ //先根据flowid查询项目池id
+ @Override
+ public PageInfo selectProFinancialIndexDetailList(List proFinancialIndexIdList,String flowId,Integer size,Integer index) {
+ PageHelper.startPage(index, size);
+ String projectPoolId = foundProjectService.selectProjectPoolIdByFlowId(flowId);
+ List detailList = proFinancialIndexDetailMapper.selectByProFinancialIndexIdListAndProjectPoolId(proFinancialIndexIdList, projectPoolId);
+ PageInfo pageInfo = new PageInfo<>(detailList);
+ return pageInfo;
+ }
+
+ @Override
+ public PageInfo selectProFinancialStatementDetailList(List proFinancialStatementIdList, String flowId,Integer size,Integer index) {
+ String projectPoolId = foundProjectService.selectProjectPoolIdByFlowId(flowId);
+ List detailList=proFinancialStatementDetailMapper.selectByproFinancialStatementIdListAndProjectPoolId(proFinancialStatementIdList,projectPoolId);
+ PageInfo pageInfo = new PageInfo<>(detailList);
+ return pageInfo;
+ }
+
+
}
diff --git a/src/main/java/com/sztzjy/fund_investment/service/serviceImpl/SysProjectValuationServiceImpl.java b/src/main/java/com/sztzjy/fund_investment/service/serviceImpl/SysProjectValuationServiceImpl.java
new file mode 100644
index 0000000..c73eb27
--- /dev/null
+++ b/src/main/java/com/sztzjy/fund_investment/service/serviceImpl/SysProjectValuationServiceImpl.java
@@ -0,0 +1,49 @@
+package com.sztzjy.fund_investment.service.serviceImpl;
+
+import com.sztzjy.fund_investment.entity.EduProjectValuation;
+import com.sztzjy.fund_investment.entity.EduProjectValuationExample;
+import com.sztzjy.fund_investment.mapper.EduProjectValuationMapper;
+import com.sztzjy.fund_investment.mapper.FoundProjectMapper;
+import com.sztzjy.fund_investment.service.ISysProjectValuationService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+@Service
+public class SysProjectValuationServiceImpl implements ISysProjectValuationService {
+ @Autowired
+ FoundProjectMapper foundProjectMapper;
+ @Autowired
+ EduProjectValuationMapper projectValuationMapper;
+
+ @Override
+ public List getPE(String flowId) {
+ String projectPoolId = foundProjectMapper.selectByPrimaryKey(flowId).getProjectPoolId();
+ EduProjectValuationExample example = new EduProjectValuationExample();
+ EduProjectValuationExample.Criteria criteria = example.createCriteria();
+ criteria.andProjectPoolIdEqualTo(projectPoolId).andMethodIdEqualTo(1);
+ List projectValuationList = projectValuationMapper.selectByExample(example);
+ return projectValuationList;
+ }
+
+ @Override
+ public List getPB(String flowId) {
+ String projectPoolId = foundProjectMapper.selectByPrimaryKey(flowId).getProjectPoolId();
+ EduProjectValuationExample example = new EduProjectValuationExample();
+ EduProjectValuationExample.Criteria criteria = example.createCriteria();
+ criteria.andProjectPoolIdEqualTo(projectPoolId).andMethodIdEqualTo(2);
+ List projectValuationList = projectValuationMapper.selectByExample(example);
+ return projectValuationList;
+ }
+
+ @Override
+ public List getPS(String flowId) {
+ String projectPoolId = foundProjectMapper.selectByPrimaryKey(flowId).getProjectPoolId();
+ EduProjectValuationExample example = new EduProjectValuationExample();
+ EduProjectValuationExample.Criteria criteria = example.createCriteria();
+ criteria.andProjectPoolIdEqualTo(projectPoolId).andMethodIdEqualTo(3);
+ List projectValuationList = projectValuationMapper.selectByExample(example);
+ return projectValuationList;
+ }
+}
diff --git a/src/main/java/com/sztzjy/fund_investment/util/pdfUtils/HeaderAndFooterEvent.java b/src/main/java/com/sztzjy/fund_investment/util/pdfUtils/HeaderAndFooterEvent.java
new file mode 100644
index 0000000..f5b1de5
--- /dev/null
+++ b/src/main/java/com/sztzjy/fund_investment/util/pdfUtils/HeaderAndFooterEvent.java
@@ -0,0 +1,193 @@
+package com.sztzjy.fund_investment.util.pdfUtils;
+
+import com.itextpdf.text.*;
+import com.itextpdf.text.Font;
+import com.itextpdf.text.Image;
+import com.itextpdf.text.Rectangle;
+import com.itextpdf.text.pdf.*;
+import lombok.SneakyThrows;
+import org.springframework.stereotype.Component;
+
+import java.awt.*;
+
+@Component
+public class HeaderAndFooterEvent extends PdfPageEventHelper {
+ public static PdfTemplate tpl = null;
+ public static boolean PAGE_NUMBER = false;
+ public static Rectangle rect = PageSize.A4;
+
+ private static Font font;
+
+ public static String HeaderFooterFontName = "黑体";
+ public static int HeaderFooterFontSize = 10;
+ public static Color HeaderFooterFontColor = Color.BLACK;
+
+ public static String HeaderLeft;
+ public static String HeaderRight;
+ public static String FooterLeft;
+ public static String FooterRight;
+
+ public static void SetPageSize(String type) {
+ switch (type.trim()) {
+ case "A4":
+ rect = PageSize.A4;
+ break;
+ case "A8":
+ rect = PageSize.A8;
+ break;
+ }
+ }
+
+ @SneakyThrows
+ public static void SetFont(BaseColor color, String fontName, float size, int style) {
+ BaseFont baseFont;
+ String FONT_PATH="C:/Windows/Fonts/";
+ switch (fontName) {
+ case "黑体":
+// baseFont = BaseFont.createFont("SIMHEI.TTF", BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
+ baseFont = BaseFont.createFont(FONT_PATH+"simhei.ttf", BaseFont.IDENTITY_H, BaseFont.NOT_EMBEDDED);
+ break;
+ case "华文中宋":
+// baseFont = BaseFont.createFont("STZHONGS.TTF", BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
+ baseFont = BaseFont.createFont("STSong-Light", "UniGB-UCS2-H", BaseFont.NOT_EMBEDDED);
+ break;
+ case "宋体":
+// baseFont = BaseFont.createFont("SIMYOU.TTF", BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
+ baseFont = BaseFont.createFont("STSong-Light", "UniGB-UCS2-H", BaseFont.NOT_EMBEDDED);
+ break;
+ default:
+// baseFont = BaseFont.createFont("SIMYOU.TTF", BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
+ baseFont = BaseFont.createFont("STSong-Light", "UniGB-UCS2-H", BaseFont.NOT_EMBEDDED);
+ break;
+ }
+ font = new Font(baseFont, size, style,color);
+ }
+
+ @Override
+ public void onEndPage(PdfWriter writer, Document document) {
+ if (PAGE_NUMBER) {
+ Font HeaderFooterFont = new Font(font.getBaseFont(), HeaderFooterFontSize, Font.NORMAL);
+ Phrase header_left = new Phrase(HeaderLeft, HeaderFooterFont);
+ Phrase header_right = new Phrase(HeaderRight, HeaderFooterFont);
+
+ Phrase footer_left = new Phrase(FooterLeft, HeaderFooterFont);
+ Phrase footer_center = new Phrase("第" + (writer.getPageNumber()) + "页/共 页", HeaderFooterFont);
+ Phrase footer_right = new Phrase(FooterRight, HeaderFooterFont);
+
+ PdfContentByte cb = writer.getDirectContent();
+ cb.addTemplate(tpl, document.right() - 290 + document.leftMargin(), document.bottom() - 15);
+
+ ColumnText.showTextAligned(cb, Element.ALIGN_CENTER, header_right,
+ document.right() - 50 + document.leftMargin(), document.top() + 15, 0);
+
+ ColumnText.showTextAligned(cb, Element.ALIGN_CENTER, header_left,
+ document.right() - 500 + document.leftMargin(), document.top() + 15, 0);
+
+ ColumnText.showTextAligned(cb, Element.ALIGN_CENTER, footer_left,
+ document.right() - 535 + document.leftMargin(), document.bottom() - 15, 0);
+
+ ColumnText.showTextAligned(cb, Element.ALIGN_CENTER, footer_center,
+ document.right() - 300 + document.leftMargin(), document.bottom() - 15, 0);
+
+ ColumnText.showTextAligned(cb, Element.ALIGN_CENTER, footer_right,
+ document.right() - 80 + document.leftMargin(), document.bottom() - 15, 0);
+
+ }
+ }
+
+ @Override
+ public void onStartPage(PdfWriter writer, Document document) {
+ if (PAGE_NUMBER) {
+ writer.setPageCount(writer.getPageNumber());
+ }
+ }
+
+ @Override
+ public void onCloseDocument(PdfWriter writer, Document document) {
+ tpl.beginText();
+ tpl.setFontAndSize(font.getBaseFont(), HeaderFooterFontSize);
+ tpl.showText(String.valueOf(writer.getPageNumber()));
+ tpl.endText();
+ tpl.closePath();
+ }
+
+ public static Paragraph AddParagraph(String content, int Alignment, float SpacingAfter, float SpacingBefore, float MultipliedLeading) {
+ Paragraph pra = new Paragraph(content, font);
+ pra.setAlignment(Alignment);
+ pra.setSpacingAfter(SpacingAfter);
+ pra.setSpacingBefore(SpacingBefore);
+ // pra.setMultipliedLeading(MultipliedLeading);
+ return pra;
+ }
+
+ public static Paragraph AddParagraph(String content, int Alignment, float MultipliedLeading) {
+ Paragraph pra = new Paragraph(content, font);
+ pra.setAlignment(Alignment);
+ // pra.setMultipliedLeading(MultipliedLeading);
+ return pra;
+ }
+
+ public static Paragraph AddParagraph(String content, int Alignment) {
+ Paragraph pra = new Paragraph(content, font);
+ pra.setAlignment(Alignment);
+ return pra;
+ }
+
+ public static Paragraph AddParagraph(String content) {
+ Paragraph pra = new Paragraph(content, font);
+ return pra;
+ }
+
+ public static PdfPCell AddCell(String content, int horizontalAlignment, int verticalAlignment, float borderWidth) {
+ PdfPCell cell = new PdfPCell(new Phrase(content, font));
+ cell.setHorizontalAlignment(horizontalAlignment);
+ cell.setVerticalAlignment(verticalAlignment);
+ cell.setBorderWidth(borderWidth);
+ return cell;
+ }
+
+ public static PdfPCell AddCell(String content, int horizontalAlignment, int verticalAlignment) {
+ PdfPCell cell = new PdfPCell(new Phrase(content, font));
+ cell.setHorizontalAlignment(horizontalAlignment);
+ cell.setVerticalAlignment(verticalAlignment);
+ return cell;
+ }
+
+ public static PdfPCell AddCell(String content, int horizontalAlignment) {
+ PdfPCell cell = new PdfPCell(new Phrase(content, font));
+ cell.setHorizontalAlignment(horizontalAlignment);
+ return cell;
+ }
+
+ public static PdfPCell AddCell(String content) {
+ PdfPCell cell = new PdfPCell(new Phrase(content, font));
+ return cell;
+ }
+
+ public static PdfPCell AddCell(Image image, int horizontalAlignment, int verticalAlignment, float borderWidth) {
+ PdfPCell cell = new PdfPCell(image);
+ cell.setHorizontalAlignment(horizontalAlignment);
+ cell.setVerticalAlignment(verticalAlignment);
+ cell.setBorderWidth(borderWidth);
+ return cell;
+ }
+
+ public static PdfPCell AddCell(Image image, int horizontalAlignment, int verticalAlignment) {
+ PdfPCell cell = new PdfPCell(image);
+ cell.setHorizontalAlignment(horizontalAlignment);
+ cell.setVerticalAlignment(verticalAlignment);
+ return cell;
+ }
+
+ public static PdfPCell AddCell(Image image, int horizontalAlignment) {
+ PdfPCell cell = new PdfPCell(image);
+ cell.setHorizontalAlignment(horizontalAlignment);
+ return cell;
+ }
+
+ public static PdfPCell AddCell(Image image) {
+ PdfPCell cell = new PdfPCell(image);
+ return cell;
+ }
+
+}
diff --git a/src/main/resources/mappers/EduCompanyMapper.xml b/src/main/resources/mappers/EduCompanyMapper.xml
new file mode 100644
index 0000000..d494aa8
--- /dev/null
+++ b/src/main/resources/mappers/EduCompanyMapper.xml
@@ -0,0 +1,164 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name
+
+
+
+
+ delete from edu_company
+ where id = #{id,jdbcType=VARCHAR}
+
+
+ delete from edu_company
+
+
+
+
+
+ insert into edu_company (id, name)
+ values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR})
+
+
+ insert into edu_company
+
+
+ id,
+
+
+ name,
+
+
+
+
+ #{id,jdbcType=VARCHAR},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+
+
+
+ update edu_company
+
+
+ id = #{record.id,jdbcType=VARCHAR},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update edu_company
+ set id = #{record.id,jdbcType=VARCHAR},
+ name = #{record.name,jdbcType=VARCHAR}
+
+
+
+
+
+ update edu_company
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=VARCHAR}
+
+
+ update edu_company
+ set name = #{name,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=VARCHAR}
+
+
\ No newline at end of file
diff --git a/src/main/resources/mappers/EduProjectValuationMapper.xml b/src/main/resources/mappers/EduProjectValuationMapper.xml
new file mode 100644
index 0000000..d432708
--- /dev/null
+++ b/src/main/resources/mappers/EduProjectValuationMapper.xml
@@ -0,0 +1,401 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, companyId, project_pool_id, market_price, earnings, earnings1, growth_rate, growth_rate1,
+ net_worth, net_worth1, net_interest, net_interest1, operating_income, operating_income1,
+ net_operatinginterest_rate, net_operatinginterest_rate1, method_id
+
+
+
+
+ delete from edu_project_valuation
+ where id = #{id,jdbcType=VARCHAR}
+
+
+ delete from edu_project_valuation
+
+
+
+
+
+ insert into edu_project_valuation (id, companyId, project_pool_id,
+ market_price, earnings, earnings1,
+ growth_rate, growth_rate1, net_worth,
+ net_worth1, net_interest, net_interest1,
+ operating_income, operating_income1, net_operatinginterest_rate,
+ net_operatinginterest_rate1, method_id)
+ values (#{id,jdbcType=VARCHAR}, #{companyid,jdbcType=VARCHAR}, #{projectPoolId,jdbcType=VARCHAR},
+ #{marketPrice,jdbcType=DECIMAL}, #{earnings,jdbcType=DECIMAL}, #{earnings1,jdbcType=DECIMAL},
+ #{growthRate,jdbcType=DECIMAL}, #{growthRate1,jdbcType=DECIMAL}, #{netWorth,jdbcType=DECIMAL},
+ #{netWorth1,jdbcType=DECIMAL}, #{netInterest,jdbcType=DECIMAL}, #{netInterest1,jdbcType=DECIMAL},
+ #{operatingIncome,jdbcType=DECIMAL}, #{operatingIncome1,jdbcType=DECIMAL}, #{netOperatinginterestRate,jdbcType=DECIMAL},
+ #{netOperatinginterestRate1,jdbcType=DECIMAL}, #{methodId,jdbcType=INTEGER})
+
+
+ insert into edu_project_valuation
+
+
+ id,
+
+
+ companyId,
+
+
+ project_pool_id,
+
+
+ market_price,
+
+
+ earnings,
+
+
+ earnings1,
+
+
+ growth_rate,
+
+
+ growth_rate1,
+
+
+ net_worth,
+
+
+ net_worth1,
+
+
+ net_interest,
+
+
+ net_interest1,
+
+
+ operating_income,
+
+
+ operating_income1,
+
+
+ net_operatinginterest_rate,
+
+
+ net_operatinginterest_rate1,
+
+
+ method_id,
+
+
+
+
+ #{id,jdbcType=VARCHAR},
+
+
+ #{companyid,jdbcType=VARCHAR},
+
+
+ #{projectPoolId,jdbcType=VARCHAR},
+
+
+ #{marketPrice,jdbcType=DECIMAL},
+
+
+ #{earnings,jdbcType=DECIMAL},
+
+
+ #{earnings1,jdbcType=DECIMAL},
+
+
+ #{growthRate,jdbcType=DECIMAL},
+
+
+ #{growthRate1,jdbcType=DECIMAL},
+
+
+ #{netWorth,jdbcType=DECIMAL},
+
+
+ #{netWorth1,jdbcType=DECIMAL},
+
+
+ #{netInterest,jdbcType=DECIMAL},
+
+
+ #{netInterest1,jdbcType=DECIMAL},
+
+
+ #{operatingIncome,jdbcType=DECIMAL},
+
+
+ #{operatingIncome1,jdbcType=DECIMAL},
+
+
+ #{netOperatinginterestRate,jdbcType=DECIMAL},
+
+
+ #{netOperatinginterestRate1,jdbcType=DECIMAL},
+
+
+ #{methodId,jdbcType=INTEGER},
+
+
+
+
+
+ update edu_project_valuation
+
+
+ id = #{record.id,jdbcType=VARCHAR},
+
+
+ companyId = #{record.companyid,jdbcType=VARCHAR},
+
+
+ project_pool_id = #{record.projectPoolId,jdbcType=VARCHAR},
+
+
+ market_price = #{record.marketPrice,jdbcType=DECIMAL},
+
+
+ earnings = #{record.earnings,jdbcType=DECIMAL},
+
+
+ earnings1 = #{record.earnings1,jdbcType=DECIMAL},
+
+
+ growth_rate = #{record.growthRate,jdbcType=DECIMAL},
+
+
+ growth_rate1 = #{record.growthRate1,jdbcType=DECIMAL},
+
+
+ net_worth = #{record.netWorth,jdbcType=DECIMAL},
+
+
+ net_worth1 = #{record.netWorth1,jdbcType=DECIMAL},
+
+
+ net_interest = #{record.netInterest,jdbcType=DECIMAL},
+
+
+ net_interest1 = #{record.netInterest1,jdbcType=DECIMAL},
+
+
+ operating_income = #{record.operatingIncome,jdbcType=DECIMAL},
+
+
+ operating_income1 = #{record.operatingIncome1,jdbcType=DECIMAL},
+
+
+ net_operatinginterest_rate = #{record.netOperatinginterestRate,jdbcType=DECIMAL},
+
+
+ net_operatinginterest_rate1 = #{record.netOperatinginterestRate1,jdbcType=DECIMAL},
+
+
+ method_id = #{record.methodId,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update edu_project_valuation
+ set id = #{record.id,jdbcType=VARCHAR},
+ companyId = #{record.companyid,jdbcType=VARCHAR},
+ project_pool_id = #{record.projectPoolId,jdbcType=VARCHAR},
+ market_price = #{record.marketPrice,jdbcType=DECIMAL},
+ earnings = #{record.earnings,jdbcType=DECIMAL},
+ earnings1 = #{record.earnings1,jdbcType=DECIMAL},
+ growth_rate = #{record.growthRate,jdbcType=DECIMAL},
+ growth_rate1 = #{record.growthRate1,jdbcType=DECIMAL},
+ net_worth = #{record.netWorth,jdbcType=DECIMAL},
+ net_worth1 = #{record.netWorth1,jdbcType=DECIMAL},
+ net_interest = #{record.netInterest,jdbcType=DECIMAL},
+ net_interest1 = #{record.netInterest1,jdbcType=DECIMAL},
+ operating_income = #{record.operatingIncome,jdbcType=DECIMAL},
+ operating_income1 = #{record.operatingIncome1,jdbcType=DECIMAL},
+ net_operatinginterest_rate = #{record.netOperatinginterestRate,jdbcType=DECIMAL},
+ net_operatinginterest_rate1 = #{record.netOperatinginterestRate1,jdbcType=DECIMAL},
+ method_id = #{record.methodId,jdbcType=INTEGER}
+
+
+
+
+
+ update edu_project_valuation
+
+
+ companyId = #{companyid,jdbcType=VARCHAR},
+
+
+ project_pool_id = #{projectPoolId,jdbcType=VARCHAR},
+
+
+ market_price = #{marketPrice,jdbcType=DECIMAL},
+
+
+ earnings = #{earnings,jdbcType=DECIMAL},
+
+
+ earnings1 = #{earnings1,jdbcType=DECIMAL},
+
+
+ growth_rate = #{growthRate,jdbcType=DECIMAL},
+
+
+ growth_rate1 = #{growthRate1,jdbcType=DECIMAL},
+
+
+ net_worth = #{netWorth,jdbcType=DECIMAL},
+
+
+ net_worth1 = #{netWorth1,jdbcType=DECIMAL},
+
+
+ net_interest = #{netInterest,jdbcType=DECIMAL},
+
+
+ net_interest1 = #{netInterest1,jdbcType=DECIMAL},
+
+
+ operating_income = #{operatingIncome,jdbcType=DECIMAL},
+
+
+ operating_income1 = #{operatingIncome1,jdbcType=DECIMAL},
+
+
+ net_operatinginterest_rate = #{netOperatinginterestRate,jdbcType=DECIMAL},
+
+
+ net_operatinginterest_rate1 = #{netOperatinginterestRate1,jdbcType=DECIMAL},
+
+
+ method_id = #{methodId,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=VARCHAR}
+
+
+ update edu_project_valuation
+ set companyId = #{companyid,jdbcType=VARCHAR},
+ project_pool_id = #{projectPoolId,jdbcType=VARCHAR},
+ market_price = #{marketPrice,jdbcType=DECIMAL},
+ earnings = #{earnings,jdbcType=DECIMAL},
+ earnings1 = #{earnings1,jdbcType=DECIMAL},
+ growth_rate = #{growthRate,jdbcType=DECIMAL},
+ growth_rate1 = #{growthRate1,jdbcType=DECIMAL},
+ net_worth = #{netWorth,jdbcType=DECIMAL},
+ net_worth1 = #{netWorth1,jdbcType=DECIMAL},
+ net_interest = #{netInterest,jdbcType=DECIMAL},
+ net_interest1 = #{netInterest1,jdbcType=DECIMAL},
+ operating_income = #{operatingIncome,jdbcType=DECIMAL},
+ operating_income1 = #{operatingIncome1,jdbcType=DECIMAL},
+ net_operatinginterest_rate = #{netOperatinginterestRate,jdbcType=DECIMAL},
+ net_operatinginterest_rate1 = #{netOperatinginterestRate1,jdbcType=DECIMAL},
+ method_id = #{methodId,jdbcType=INTEGER}
+ where id = #{id,jdbcType=VARCHAR}
+
+
\ No newline at end of file
diff --git a/src/main/resources/mappers/ProBusinessInfoMapper.xml b/src/main/resources/mappers/ProBusinessInfoMapper.xml
new file mode 100644
index 0000000..1d6da56
--- /dev/null
+++ b/src/main/resources/mappers/ProBusinessInfoMapper.xml
@@ -0,0 +1,434 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, project_pool_id, registered_capital, operating_state, credit_code, identification_number,
+ business_term, paidIn_capital, insurance_num, create_date, registration_num, orga_stru_code,
+ company_type, industry, approval_date, staff_size, registrar, registered_address,
+ business_scope
+
+
+
+
+ delete from pro_business_info
+ where id = #{id,jdbcType=VARCHAR}
+
+
+ delete from pro_business_info
+
+
+
+
+
+ insert into pro_business_info (id, project_pool_id, registered_capital,
+ operating_state, credit_code, identification_number,
+ business_term, paidIn_capital, insurance_num,
+ create_date, registration_num, orga_stru_code,
+ company_type, industry, approval_date,
+ staff_size, registrar, registered_address,
+ business_scope)
+ values (#{id,jdbcType=VARCHAR}, #{projectPoolId,jdbcType=VARCHAR}, #{registeredCapital,jdbcType=VARCHAR},
+ #{operatingState,jdbcType=VARCHAR}, #{creditCode,jdbcType=VARCHAR}, #{identificationNumber,jdbcType=VARCHAR},
+ #{businessTerm,jdbcType=VARCHAR}, #{paidinCapital,jdbcType=VARCHAR}, #{insuranceNum,jdbcType=VARCHAR},
+ #{createDate,jdbcType=VARCHAR}, #{registrationNum,jdbcType=VARCHAR}, #{orgaStruCode,jdbcType=VARCHAR},
+ #{companyType,jdbcType=VARCHAR}, #{industry,jdbcType=VARCHAR}, #{approvalDate,jdbcType=VARCHAR},
+ #{staffSize,jdbcType=VARCHAR}, #{registrar,jdbcType=VARCHAR}, #{registeredAddress,jdbcType=VARCHAR},
+ #{businessScope,jdbcType=VARCHAR})
+
+
+ insert into pro_business_info
+
+
+ id,
+
+
+ project_pool_id,
+
+
+ registered_capital,
+
+
+ operating_state,
+
+
+ credit_code,
+
+
+ identification_number,
+
+
+ business_term,
+
+
+ paidIn_capital,
+
+
+ insurance_num,
+
+
+ create_date,
+
+
+ registration_num,
+
+
+ orga_stru_code,
+
+
+ company_type,
+
+
+ industry,
+
+
+ approval_date,
+
+
+ staff_size,
+
+
+ registrar,
+
+
+ registered_address,
+
+
+ business_scope,
+
+
+
+
+ #{id,jdbcType=VARCHAR},
+
+
+ #{projectPoolId,jdbcType=VARCHAR},
+
+
+ #{registeredCapital,jdbcType=VARCHAR},
+
+
+ #{operatingState,jdbcType=VARCHAR},
+
+
+ #{creditCode,jdbcType=VARCHAR},
+
+
+ #{identificationNumber,jdbcType=VARCHAR},
+
+
+ #{businessTerm,jdbcType=VARCHAR},
+
+
+ #{paidinCapital,jdbcType=VARCHAR},
+
+
+ #{insuranceNum,jdbcType=VARCHAR},
+
+
+ #{createDate,jdbcType=VARCHAR},
+
+
+ #{registrationNum,jdbcType=VARCHAR},
+
+
+ #{orgaStruCode,jdbcType=VARCHAR},
+
+
+ #{companyType,jdbcType=VARCHAR},
+
+
+ #{industry,jdbcType=VARCHAR},
+
+
+ #{approvalDate,jdbcType=VARCHAR},
+
+
+ #{staffSize,jdbcType=VARCHAR},
+
+
+ #{registrar,jdbcType=VARCHAR},
+
+
+ #{registeredAddress,jdbcType=VARCHAR},
+
+
+ #{businessScope,jdbcType=VARCHAR},
+
+
+
+
+
+ update pro_business_info
+
+
+ id = #{record.id,jdbcType=VARCHAR},
+
+
+ project_pool_id = #{record.projectPoolId,jdbcType=VARCHAR},
+
+
+ registered_capital = #{record.registeredCapital,jdbcType=VARCHAR},
+
+
+ operating_state = #{record.operatingState,jdbcType=VARCHAR},
+
+
+ credit_code = #{record.creditCode,jdbcType=VARCHAR},
+
+
+ identification_number = #{record.identificationNumber,jdbcType=VARCHAR},
+
+
+ business_term = #{record.businessTerm,jdbcType=VARCHAR},
+
+
+ paidIn_capital = #{record.paidinCapital,jdbcType=VARCHAR},
+
+
+ insurance_num = #{record.insuranceNum,jdbcType=VARCHAR},
+
+
+ create_date = #{record.createDate,jdbcType=VARCHAR},
+
+
+ registration_num = #{record.registrationNum,jdbcType=VARCHAR},
+
+
+ orga_stru_code = #{record.orgaStruCode,jdbcType=VARCHAR},
+
+
+ company_type = #{record.companyType,jdbcType=VARCHAR},
+
+
+ industry = #{record.industry,jdbcType=VARCHAR},
+
+
+ approval_date = #{record.approvalDate,jdbcType=VARCHAR},
+
+
+ staff_size = #{record.staffSize,jdbcType=VARCHAR},
+
+
+ registrar = #{record.registrar,jdbcType=VARCHAR},
+
+
+ registered_address = #{record.registeredAddress,jdbcType=VARCHAR},
+
+
+ business_scope = #{record.businessScope,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update pro_business_info
+ set id = #{record.id,jdbcType=VARCHAR},
+ project_pool_id = #{record.projectPoolId,jdbcType=VARCHAR},
+ registered_capital = #{record.registeredCapital,jdbcType=VARCHAR},
+ operating_state = #{record.operatingState,jdbcType=VARCHAR},
+ credit_code = #{record.creditCode,jdbcType=VARCHAR},
+ identification_number = #{record.identificationNumber,jdbcType=VARCHAR},
+ business_term = #{record.businessTerm,jdbcType=VARCHAR},
+ paidIn_capital = #{record.paidinCapital,jdbcType=VARCHAR},
+ insurance_num = #{record.insuranceNum,jdbcType=VARCHAR},
+ create_date = #{record.createDate,jdbcType=VARCHAR},
+ registration_num = #{record.registrationNum,jdbcType=VARCHAR},
+ orga_stru_code = #{record.orgaStruCode,jdbcType=VARCHAR},
+ company_type = #{record.companyType,jdbcType=VARCHAR},
+ industry = #{record.industry,jdbcType=VARCHAR},
+ approval_date = #{record.approvalDate,jdbcType=VARCHAR},
+ staff_size = #{record.staffSize,jdbcType=VARCHAR},
+ registrar = #{record.registrar,jdbcType=VARCHAR},
+ registered_address = #{record.registeredAddress,jdbcType=VARCHAR},
+ business_scope = #{record.businessScope,jdbcType=VARCHAR}
+
+
+
+
+
+ update pro_business_info
+
+
+ project_pool_id = #{projectPoolId,jdbcType=VARCHAR},
+
+
+ registered_capital = #{registeredCapital,jdbcType=VARCHAR},
+
+
+ operating_state = #{operatingState,jdbcType=VARCHAR},
+
+
+ credit_code = #{creditCode,jdbcType=VARCHAR},
+
+
+ identification_number = #{identificationNumber,jdbcType=VARCHAR},
+
+
+ business_term = #{businessTerm,jdbcType=VARCHAR},
+
+
+ paidIn_capital = #{paidinCapital,jdbcType=VARCHAR},
+
+
+ insurance_num = #{insuranceNum,jdbcType=VARCHAR},
+
+
+ create_date = #{createDate,jdbcType=VARCHAR},
+
+
+ registration_num = #{registrationNum,jdbcType=VARCHAR},
+
+
+ orga_stru_code = #{orgaStruCode,jdbcType=VARCHAR},
+
+
+ company_type = #{companyType,jdbcType=VARCHAR},
+
+
+ industry = #{industry,jdbcType=VARCHAR},
+
+
+ approval_date = #{approvalDate,jdbcType=VARCHAR},
+
+
+ staff_size = #{staffSize,jdbcType=VARCHAR},
+
+
+ registrar = #{registrar,jdbcType=VARCHAR},
+
+
+ registered_address = #{registeredAddress,jdbcType=VARCHAR},
+
+
+ business_scope = #{businessScope,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=VARCHAR}
+
+
+ update pro_business_info
+ set project_pool_id = #{projectPoolId,jdbcType=VARCHAR},
+ registered_capital = #{registeredCapital,jdbcType=VARCHAR},
+ operating_state = #{operatingState,jdbcType=VARCHAR},
+ credit_code = #{creditCode,jdbcType=VARCHAR},
+ identification_number = #{identificationNumber,jdbcType=VARCHAR},
+ business_term = #{businessTerm,jdbcType=VARCHAR},
+ paidIn_capital = #{paidinCapital,jdbcType=VARCHAR},
+ insurance_num = #{insuranceNum,jdbcType=VARCHAR},
+ create_date = #{createDate,jdbcType=VARCHAR},
+ registration_num = #{registrationNum,jdbcType=VARCHAR},
+ orga_stru_code = #{orgaStruCode,jdbcType=VARCHAR},
+ company_type = #{companyType,jdbcType=VARCHAR},
+ industry = #{industry,jdbcType=VARCHAR},
+ approval_date = #{approvalDate,jdbcType=VARCHAR},
+ staff_size = #{staffSize,jdbcType=VARCHAR},
+ registrar = #{registrar,jdbcType=VARCHAR},
+ registered_address = #{registeredAddress,jdbcType=VARCHAR},
+ business_scope = #{businessScope,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=VARCHAR}
+
+
\ No newline at end of file
diff --git a/src/main/resources/mappers/ProFinancialIndexDetailMapper.xml b/src/main/resources/mappers/ProFinancialIndexDetailMapper.xml
index 79a87d4..6045e5d 100644
--- a/src/main/resources/mappers/ProFinancialIndexDetailMapper.xml
+++ b/src/main/resources/mappers/ProFinancialIndexDetailMapper.xml
@@ -241,4 +241,15 @@
last_three_year_value = #{lastThreeYearValue,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
+
+
\ No newline at end of file
diff --git a/src/main/resources/mappers/ProFinancialIndexMapper.xml b/src/main/resources/mappers/ProFinancialIndexMapper.xml
index 67ba86d..e74444f 100644
--- a/src/main/resources/mappers/ProFinancialIndexMapper.xml
+++ b/src/main/resources/mappers/ProFinancialIndexMapper.xml
@@ -178,4 +178,11 @@
parent_id = #{parentId,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
+
+
+
\ No newline at end of file
diff --git a/src/main/resources/mappers/ProFinancialStatementDetailMapper.xml b/src/main/resources/mappers/ProFinancialStatementDetailMapper.xml
index 7ffebff..85c6938 100644
--- a/src/main/resources/mappers/ProFinancialStatementDetailMapper.xml
+++ b/src/main/resources/mappers/ProFinancialStatementDetailMapper.xml
@@ -69,7 +69,7 @@
- id, project_pool_id, financial_statement_id, name, last_year_value, last_tow_year_value,
+ id, project_pool_id, financial_statement_id, name, last_year_value, last_tow_year_value,
last_three_year_value