|
@@ -255,7 +255,9 @@ public class TaskServiceImpl extends BaseServiceImpl<TaskMapper, Task> implement
|
|
|
}
|
|
|
|
|
|
//资料填报原始pdf
|
|
|
- String approvalPdf = StringUtils.isNotEmpty(query.getEVisaPdfUrl()) ? query.getEVisaPdfUrl() : query.getPdfUrl();
|
|
|
+// String approvalPdf = StringUtils.isNotEmpty(query.getEVisaPdfUrl()) ? query.getEVisaPdfUrl() : query.getPdfUrl();
|
|
|
+ /** 修改需求,任务查看时,附件不在列表中显示,需要拼接在电签后面。如果此处修改影响其他地方,则到时候再说*/
|
|
|
+ String approvalPdf = StringUtils.isNotEmpty(query.getNodePdfUrl()) ? query.getNodePdfUrl() : query.getPdfUrl();
|
|
|
vo.setApprovalFileList(query.getName(), this.getHppsToHttp(approvalPdf));
|
|
|
|
|
|
//试验关联文件合并pdf
|
|
@@ -1127,7 +1129,7 @@ public class TaskServiceImpl extends BaseServiceImpl<TaskMapper, Task> implement
|
|
|
try {
|
|
|
System.out.println("----- 电签成功--------");
|
|
|
//添加nodePdf的值
|
|
|
- List<Map<String, Object>> mapList = jdbcTemplate.queryForList("select *,domain_url as url from m_table_file where is_deleted = 0 and type in (10,11,12) and tab_id = " + formDataId + "");
|
|
|
+ List<Map<String, Object>> mapList = jdbcTemplate.queryForList("select *,domain_url as url from m_table_file where is_deleted = 0 and type in (10,11,12) and tab_id = (select wbs_id from u_information_query WHERE id = + "+formDataId+")");
|
|
|
if(Func.isNotEmpty(mapList)&&mapList.size()>=1){
|
|
|
String file_path = org.springblade.business.utils.FileUtils.getSysLocalFileUrl();
|
|
|
List<String> datainfo = new ArrayList<>();
|