소스 검색

质检-电签拼接节点PDF

qianxb 2 달 전
부모
커밋
d72eb4534d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      blade-service/blade-business/src/main/java/org/springblade/business/service/impl/TaskServiceImpl.java

+ 1 - 1
blade-service/blade-business/src/main/java/org/springblade/business/service/impl/TaskServiceImpl.java

@@ -1127,7 +1127,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<>();