|
|
|
@ -198,7 +198,7 @@ public class ProjectDueDiligenceController {
|
|
|
|
|
return new ResultEntity(HttpStatus.BAD_REQUEST, "业务尽调结论为空");
|
|
|
|
|
}
|
|
|
|
|
projectDueDiligenceService.updateServiceDueDiligence(foundProject);
|
|
|
|
|
scoreService.calculateScoreByModule("projectDueDiligenceBusinessReportScore", 2, foundProject.getFlowId());
|
|
|
|
|
// scoreService.calculateScoreByModule("projectDueDiligenceBusinessReportScore", 2, foundProject.getFlowId());
|
|
|
|
|
return new ResultEntity(HttpStatus.OK, "业务尽调结论保存成功");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -346,7 +346,7 @@ public class ProjectDueDiligenceController {
|
|
|
|
|
return new ResultEntity(HttpStatus.BAD_REQUEST, "财务尽调结论为空");
|
|
|
|
|
}
|
|
|
|
|
projectDueDiligenceService.updateServiceDueDiligence(foundProject);
|
|
|
|
|
scoreService.calculateScoreByModule("projectDueDiligenceFinanceReportScore", 2, foundProject.getFlowId());
|
|
|
|
|
// scoreService.calculateScoreByModule("projectDueDiligenceFinanceReportScore", 2, foundProject.getFlowId());
|
|
|
|
|
PerformanceScore performanceScore = scoreService.getByFlowId(foundProject.getFlowId());
|
|
|
|
|
performanceScore.setProjectDueDiligenceTime(new Date());
|
|
|
|
|
performanceScoreMapper.updateByPrimaryKey(performanceScore);
|
|
|
|
@ -491,13 +491,22 @@ public class ProjectDueDiligenceController {
|
|
|
|
|
|
|
|
|
|
HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
|
|
|
|
|
document.add(HeaderAndFooterEvent.AddParagraph("司法风险:", 0, 1.5f));
|
|
|
|
|
ProJudicialRisk proJudicialRisk = projectDueDiligenceService.getProJudicialRiskListByFlowId(flowId).get(0);
|
|
|
|
|
List<ProJudicialRisk> proJudicialRiskList = projectDueDiligenceService.getProJudicialRiskListByFlowId(flowId);
|
|
|
|
|
TreeMap<String, String> treeMap2 = new TreeMap<>();
|
|
|
|
|
treeMap2.put("开庭日期", proJudicialRisk.getLawfulDay());
|
|
|
|
|
treeMap2.put("案号", proJudicialRisk.getCaseCode());
|
|
|
|
|
treeMap2.put("案由", proJudicialRisk.getCause());
|
|
|
|
|
treeMap2.put("公诉人/原告", proJudicialRisk.getPlaintiff());
|
|
|
|
|
treeMap2.put("被告人", proJudicialRisk.getDefendant());
|
|
|
|
|
if(!proJudicialRiskList.isEmpty()){
|
|
|
|
|
ProJudicialRisk proJudicialRisk = proJudicialRiskList.get(0);
|
|
|
|
|
treeMap2.put("开庭日期", proJudicialRisk.getLawfulDay());
|
|
|
|
|
treeMap2.put("案号", proJudicialRisk.getCaseCode());
|
|
|
|
|
treeMap2.put("案由", proJudicialRisk.getCause());
|
|
|
|
|
treeMap2.put("公诉人/原告", proJudicialRisk.getPlaintiff());
|
|
|
|
|
treeMap2.put("被告人", proJudicialRisk.getDefendant());
|
|
|
|
|
}else {
|
|
|
|
|
treeMap2.put("开庭日期", "");
|
|
|
|
|
treeMap2.put("案号", "");
|
|
|
|
|
treeMap2.put("案由", "");
|
|
|
|
|
treeMap2.put("公诉人/原告", "");
|
|
|
|
|
treeMap2.put("被告人", "");
|
|
|
|
|
}
|
|
|
|
|
PdfPTable table2 = returnPdfPTable(treeMap2);
|
|
|
|
|
document.add(table2);
|
|
|
|
|
|
|
|
|
@ -507,14 +516,24 @@ public class ProjectDueDiligenceController {
|
|
|
|
|
|
|
|
|
|
HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
|
|
|
|
|
document.add(HeaderAndFooterEvent.AddParagraph("经营风险:", 0, 1.5f));
|
|
|
|
|
ProBusinessRisk proBusinessRisk = projectDueDiligenceService.getProBusinessRiskListByFlowId(flowId).get(0);
|
|
|
|
|
List<ProBusinessRisk> proBusinessRiskListByFlowId = projectDueDiligenceService.getProBusinessRiskListByFlowId(flowId);
|
|
|
|
|
TreeMap<String, String> 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());
|
|
|
|
|
if (!proBusinessRiskListByFlowId.isEmpty()){
|
|
|
|
|
ProBusinessRisk proBusinessRisk=proBusinessRiskListByFlowId.get(0);
|
|
|
|
|
treeMap3.put("列入日期 ", proBusinessRisk.getIncludedDate());
|
|
|
|
|
treeMap3.put("列入经营异常名录原因", proBusinessRisk.getIncludedCause());
|
|
|
|
|
treeMap3.put("列入机关 ", proBusinessRisk.getIncludedOrganization());
|
|
|
|
|
treeMap3.put("移出日期", proBusinessRisk.getRemovedDate());
|
|
|
|
|
treeMap3.put("移出经营异常名录原因", proBusinessRisk.getRemovedCause());
|
|
|
|
|
treeMap3.put("移出决定机关 ", proBusinessRisk.getRemovedOrganization());
|
|
|
|
|
}else {
|
|
|
|
|
treeMap3.put("列入日期 ", "");
|
|
|
|
|
treeMap3.put("列入经营异常名录原因", "");
|
|
|
|
|
treeMap3.put("列入机关 ", "");
|
|
|
|
|
treeMap3.put("移出日期","");
|
|
|
|
|
treeMap3.put("移出经营异常名录原因", "");
|
|
|
|
|
treeMap3.put("移出决定机关 ", "");
|
|
|
|
|
}
|
|
|
|
|
PdfPTable table3 = returnPdfPTable(treeMap3);
|
|
|
|
|
document.add(table3);
|
|
|
|
|
|
|
|
|
@ -524,35 +543,63 @@ public class ProjectDueDiligenceController {
|
|
|
|
|
|
|
|
|
|
HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
|
|
|
|
|
document.add(HeaderAndFooterEvent.AddParagraph("核心团队:", 0, 1.5f));
|
|
|
|
|
ProCoreTeam proCoreTeam = projectDueDiligenceService.getProCoreTeamListByFlowId(flowId).get(0);
|
|
|
|
|
List<ProCoreTeam> proCoreTeamListByFlowId = projectDueDiligenceService.getProCoreTeamListByFlowId(flowId);
|
|
|
|
|
TreeMap<String, String> treeMap4 = new TreeMap<>();
|
|
|
|
|
treeMap4.put("姓名", proCoreTeam.getName());
|
|
|
|
|
treeMap4.put("职位", proCoreTeam.getDuty());
|
|
|
|
|
treeMap4.put("简介", proCoreTeam.getIntroduction());
|
|
|
|
|
if (!proCoreTeamListByFlowId.isEmpty()){
|
|
|
|
|
ProCoreTeam proCoreTeam = proCoreTeamListByFlowId.get(0);
|
|
|
|
|
treeMap4.put("姓名", proCoreTeam.getName());
|
|
|
|
|
treeMap4.put("职位", proCoreTeam.getDuty());
|
|
|
|
|
treeMap4.put("简介", proCoreTeam.getIntroduction());
|
|
|
|
|
}else {
|
|
|
|
|
treeMap4.put("姓名", "");
|
|
|
|
|
treeMap4.put("职位", "");
|
|
|
|
|
treeMap4.put("简介", "");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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<String, String> treeMap42 = new TreeMap<>();
|
|
|
|
|
treeMap42.put("产品名称", proCoreBusiness.getProductnameName());
|
|
|
|
|
treeMap42.put("行业", proCoreBusiness.getIndustry());
|
|
|
|
|
treeMap42.put("产品介绍", proCoreBusiness.getProductIntroduction());
|
|
|
|
|
List<ProCoreBusiness> proCoreBusinessListByFlowId = projectDueDiligenceService.getProCoreBusinessListByFlowId(flowId);
|
|
|
|
|
if(!proCoreBusinessListByFlowId.isEmpty()){
|
|
|
|
|
ProCoreBusiness proCoreBusiness = proCoreBusinessListByFlowId.get(0);
|
|
|
|
|
treeMap42.put("产品名称", proCoreBusiness.getProductnameName());
|
|
|
|
|
treeMap42.put("行业", proCoreBusiness.getIndustry());
|
|
|
|
|
treeMap42.put("产品介绍", proCoreBusiness.getProductIntroduction());
|
|
|
|
|
}else {
|
|
|
|
|
treeMap42.put("产品名称", "");
|
|
|
|
|
treeMap42.put("行业", "");
|
|
|
|
|
treeMap42.put("产品介绍", "");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
List<ProCoreCompPro> proCoreCompProListByFlowId = projectDueDiligenceService.getProCoreCompProListByFlowId(flowId);
|
|
|
|
|
TreeMap<String, String> 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());
|
|
|
|
|
if(!proCoreCompProListByFlowId.isEmpty()){
|
|
|
|
|
ProCoreCompPro proCoreCompPro = proCoreCompProListByFlowId.get(0);
|
|
|
|
|
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());
|
|
|
|
|
}else {
|
|
|
|
|
treeMap43.put("竞品名称", "");
|
|
|
|
|
treeMap43.put("地区", "");
|
|
|
|
|
treeMap43.put("当前融资轮次", "");
|
|
|
|
|
treeMap43.put("行业", "");
|
|
|
|
|
treeMap43.put("业务", "");
|
|
|
|
|
treeMap43.put("成立时间", "");
|
|
|
|
|
treeMap43.put("估值", "");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PdfPTable table43 = returnPdfPTable(treeMap43);
|
|
|
|
|
document.add(table43);
|
|
|
|
|
|
|
|
|
@ -563,45 +610,81 @@ public class ProjectDueDiligenceController {
|
|
|
|
|
|
|
|
|
|
HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
|
|
|
|
|
document.add(HeaderAndFooterEvent.AddParagraph("公司招聘:", 0, 1.5f));
|
|
|
|
|
ProManaSituRecruit proManaSituRecruit = projectDueDiligenceService.getProManaSituRecruitListByFlowId(flowId).get(0);
|
|
|
|
|
List<ProManaSituRecruit> proManaSituRecruitListByFlowId = projectDueDiligenceService.getProManaSituRecruitListByFlowId(flowId);
|
|
|
|
|
TreeMap<String, String> 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());
|
|
|
|
|
if(!proManaSituRecruitListByFlowId.isEmpty()){
|
|
|
|
|
ProManaSituRecruit proManaSituRecruit = proManaSituRecruitListByFlowId.get(0);
|
|
|
|
|
treeMap51.put("发布日期", proManaSituRecruit.getReleaseDate());
|
|
|
|
|
treeMap51.put("招聘职位", proManaSituRecruit.getDuty());
|
|
|
|
|
treeMap51.put("月薪", proManaSituRecruit.getSalary());
|
|
|
|
|
treeMap51.put("学历", proManaSituRecruit.getDegrees());
|
|
|
|
|
treeMap51.put("工作经验", proManaSituRecruit.getExperience());
|
|
|
|
|
treeMap51.put("地区", proManaSituRecruit.getArea());
|
|
|
|
|
}else {
|
|
|
|
|
treeMap51.put("发布日期", "");
|
|
|
|
|
treeMap51.put("招聘职位", "");
|
|
|
|
|
treeMap51.put("月薪", "");
|
|
|
|
|
treeMap51.put("学历", "");
|
|
|
|
|
treeMap51.put("工作经验", "");
|
|
|
|
|
treeMap51.put("地区", "");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
List<ProManaSituCheck> proManaSituCheckListByFlowId = projectDueDiligenceService.getProManaSituCheckListByFlowId(flowId);
|
|
|
|
|
TreeMap<String, String> treeMap52 = new TreeMap<>();
|
|
|
|
|
treeMap52.put("日期", proManaSituCheck.getCheckDate());
|
|
|
|
|
treeMap52.put("类型", proManaSituCheck.getCheckType());
|
|
|
|
|
treeMap52.put("结果", proManaSituCheck.getConsequence());
|
|
|
|
|
treeMap52.put("检查实施机关", proManaSituCheck.getOrganization());
|
|
|
|
|
if(!proManaSituCheckListByFlowId.isEmpty()){
|
|
|
|
|
ProManaSituCheck proManaSituCheck = proManaSituCheckListByFlowId.get(0);
|
|
|
|
|
treeMap52.put("日期", proManaSituCheck.getCheckDate());
|
|
|
|
|
treeMap52.put("类型", proManaSituCheck.getCheckType());
|
|
|
|
|
treeMap52.put("结果", proManaSituCheck.getConsequence());
|
|
|
|
|
treeMap52.put("检查实施机关", proManaSituCheck.getOrganization());
|
|
|
|
|
}else {
|
|
|
|
|
treeMap52.put("日期", "");
|
|
|
|
|
treeMap52.put("类型", "");
|
|
|
|
|
treeMap52.put("结果", "");
|
|
|
|
|
treeMap52.put("检查实施机关", "");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
List<ProManaSituLicense> proManaSituLicenseListByFlowId = projectDueDiligenceService.getProManaSituLicenseListByFlowId(flowId);
|
|
|
|
|
TreeMap<String, String> treeMap53 = new TreeMap<>();
|
|
|
|
|
treeMap53.put("行政许可文书号", proManaSituLicense.getWrittenDecisionNum());
|
|
|
|
|
treeMap53.put("许可决定机关", proManaSituLicense.getOrganization());
|
|
|
|
|
treeMap53.put("许可决定日期", proManaSituLicense.getLicenseDate());
|
|
|
|
|
if(!proManaSituLicenseListByFlowId.isEmpty()){
|
|
|
|
|
ProManaSituLicense proManaSituLicense = proManaSituLicenseListByFlowId.get(0);
|
|
|
|
|
treeMap53.put("行政许可文书号", proManaSituLicense.getWrittenDecisionNum());
|
|
|
|
|
treeMap53.put("许可决定机关", proManaSituLicense.getOrganization());
|
|
|
|
|
treeMap53.put("许可决定日期", proManaSituLicense.getLicenseDate());
|
|
|
|
|
}else {
|
|
|
|
|
treeMap53.put("行政许可文书号", "");
|
|
|
|
|
treeMap53.put("许可决定机关", "");
|
|
|
|
|
treeMap53.put("许可决定日期", "");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
List<ProManaSituTenderingBidding> proManaSituTenderingBiddingListByFlowId = projectDueDiligenceService.getProManaSituTenderingBiddingListByFlowId(flowId);
|
|
|
|
|
TreeMap<String, String> treeMap54 = new TreeMap<>();
|
|
|
|
|
treeMap54.put("发布日期", proManaSituTenderingBidding.getReleaseDate());
|
|
|
|
|
treeMap54.put("标题", proManaSituTenderingBidding.getTitle());
|
|
|
|
|
treeMap54.put("采购人", proManaSituTenderingBidding.getPurchaser());
|
|
|
|
|
if(!proManaSituTenderingBiddingListByFlowId.isEmpty()){
|
|
|
|
|
ProManaSituTenderingBidding proManaSituTenderingBidding = proManaSituTenderingBiddingListByFlowId.get(0);
|
|
|
|
|
treeMap54.put("发布日期", proManaSituTenderingBidding.getReleaseDate());
|
|
|
|
|
treeMap54.put("标题", proManaSituTenderingBidding.getTitle());
|
|
|
|
|
treeMap54.put("采购人", proManaSituTenderingBidding.getPurchaser());
|
|
|
|
|
}else {
|
|
|
|
|
treeMap54.put("发布日期", "");
|
|
|
|
|
treeMap54.put("标题", "");
|
|
|
|
|
treeMap54.put("采购人", "");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PdfPTable table54 = returnPdfPTable(treeMap54);
|
|
|
|
|
document.add(table54);
|
|
|
|
|
|
|
|
|
@ -611,24 +694,43 @@ public class ProjectDueDiligenceController {
|
|
|
|
|
|
|
|
|
|
HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
|
|
|
|
|
document.add(HeaderAndFooterEvent.AddParagraph("专利信息:", 0, 1.5f));
|
|
|
|
|
ProIntelPropertyPatentinfo proIntelPropertyPatentinfo = projectDueDiligenceService.getProIntelPropertyPatentInfoListByFlowId(flowId).get(0);
|
|
|
|
|
List<ProIntelPropertyPatentinfo> proIntelPropertyPatentInfoListByFlowId = projectDueDiligenceService.getProIntelPropertyPatentInfoListByFlowId(flowId);
|
|
|
|
|
TreeMap<String, String> treeMap61 = new TreeMap<>();
|
|
|
|
|
treeMap61.put("申请公布日", proIntelPropertyPatentinfo.getPublishDate());
|
|
|
|
|
treeMap61.put("专利名称", proIntelPropertyPatentinfo.getPatentName());
|
|
|
|
|
treeMap61.put("申请号", proIntelPropertyPatentinfo.getApplicationNum());
|
|
|
|
|
treeMap61.put("申请公布号", proIntelPropertyPatentinfo.getApplicationPubNum());
|
|
|
|
|
treeMap61.put("专利类型", proIntelPropertyPatentinfo.getPatentType());
|
|
|
|
|
if(!proIntelPropertyPatentInfoListByFlowId.isEmpty()){
|
|
|
|
|
ProIntelPropertyPatentinfo proIntelPropertyPatentinfo = proIntelPropertyPatentInfoListByFlowId.get(0);
|
|
|
|
|
treeMap61.put("申请公布日", proIntelPropertyPatentinfo.getPublishDate());
|
|
|
|
|
treeMap61.put("专利名称", proIntelPropertyPatentinfo.getPatentName());
|
|
|
|
|
treeMap61.put("申请号", proIntelPropertyPatentinfo.getApplicationNum());
|
|
|
|
|
treeMap61.put("申请公布号", proIntelPropertyPatentinfo.getApplicationPubNum());
|
|
|
|
|
treeMap61.put("专利类型", proIntelPropertyPatentinfo.getPatentType());
|
|
|
|
|
}else {
|
|
|
|
|
treeMap61.put("申请公布日", "");
|
|
|
|
|
treeMap61.put("专利名称","");
|
|
|
|
|
treeMap61.put("申请号", "");
|
|
|
|
|
treeMap61.put("申请公布号", "");
|
|
|
|
|
treeMap61.put("专利类型", "");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
List<ProIntelPropertyWebsiteRecord> proIntelPropertyWebsiteRecordListByFlowId = projectDueDiligenceService.getProIntelPropertyWebsiteRecordListByFlowId(flowId);
|
|
|
|
|
TreeMap<String, String> treeMap62 = new TreeMap<>();
|
|
|
|
|
treeMap62.put("审核日期", proIntelPropertyWebsiteRecord.getReviewDate());
|
|
|
|
|
treeMap62.put("网站名称", proIntelPropertyWebsiteRecord.getWebsiteName());
|
|
|
|
|
treeMap62.put("IP地址", proIntelPropertyWebsiteRecord.getIpAddress());
|
|
|
|
|
treeMap62.put("域名信息", proIntelPropertyWebsiteRecord.getDomainNameInfo());
|
|
|
|
|
if(!proIntelPropertyWebsiteRecordListByFlowId.isEmpty()){
|
|
|
|
|
ProIntelPropertyWebsiteRecord proIntelPropertyWebsiteRecord = proIntelPropertyWebsiteRecordListByFlowId.get(0);
|
|
|
|
|
treeMap62.put("审核日期", proIntelPropertyWebsiteRecord.getReviewDate());
|
|
|
|
|
treeMap62.put("网站名称", proIntelPropertyWebsiteRecord.getWebsiteName());
|
|
|
|
|
treeMap62.put("IP地址", proIntelPropertyWebsiteRecord.getIpAddress());
|
|
|
|
|
treeMap62.put("域名信息", proIntelPropertyWebsiteRecord.getDomainNameInfo());
|
|
|
|
|
}else {
|
|
|
|
|
treeMap62.put("审核日期", "");
|
|
|
|
|
treeMap62.put("网站名称", "");
|
|
|
|
|
treeMap62.put("IP地址", "");
|
|
|
|
|
treeMap62.put("域名信息", "");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PdfPTable table62 = returnPdfPTable(treeMap62);
|
|
|
|
|
document.add(table62);
|
|
|
|
|
|
|
|
|
@ -638,14 +740,25 @@ public class ProjectDueDiligenceController {
|
|
|
|
|
|
|
|
|
|
HeaderAndFooterEvent.SetFont(BaseColor.BLACK, "黑体", 14, Font.BOLD);
|
|
|
|
|
document.add(HeaderAndFooterEvent.AddParagraph("行政处罚:", 0, 1.5f));
|
|
|
|
|
ProAdminiPenalty proAdminiPenalty = projectDueDiligenceService.getProAdminiPenaltyListByFlowId(flowId).get(0);
|
|
|
|
|
List<ProAdminiPenalty> proAdminiPenaltyListByFlowId = projectDueDiligenceService.getProAdminiPenaltyListByFlowId(flowId);
|
|
|
|
|
TreeMap<String, String> 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());
|
|
|
|
|
if(!proAdminiPenaltyListByFlowId.isEmpty()){
|
|
|
|
|
ProAdminiPenalty proAdminiPenalty = proAdminiPenaltyListByFlowId.get(0);
|
|
|
|
|
treeMap7.put("公司名称", projectPoolName);
|
|
|
|
|
treeMap7.put("决定日期", proAdminiPenalty.getDecisionDate());
|
|
|
|
|
treeMap7.put("决定书文号", proAdminiPenalty.getWrittenDecisionNum());
|
|
|
|
|
treeMap7.put("处罚事由", proAdminiPenalty.getPunishmentCause());
|
|
|
|
|
treeMap7.put("处罚结果", proAdminiPenalty.getPunishmentResult());
|
|
|
|
|
treeMap7.put("处罚机关", proAdminiPenalty.getPunishmentOrganization());
|
|
|
|
|
}else {
|
|
|
|
|
treeMap7.put("公司名称", projectPoolName);
|
|
|
|
|
treeMap7.put("决定日期", "");
|
|
|
|
|
treeMap7.put("决定书文号", "");
|
|
|
|
|
treeMap7.put("处罚事由", "");
|
|
|
|
|
treeMap7.put("处罚结果", "");
|
|
|
|
|
treeMap7.put("处罚机关", "");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PdfPTable table7 = returnPdfPTable(treeMap7);
|
|
|
|
|
document.add(table7);
|
|
|
|
|
|
|
|
|
|