|
@@ -61,6 +61,7 @@ import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.web.bind.annotation.RequestHeader;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
@@ -1391,7 +1392,7 @@ public class TaskServiceImpl extends BaseServiceImpl<TaskMapper, Task> implement
|
|
|
// }
|
|
|
|
|
|
@Override
|
|
|
- public void reSigningEVisa(String taskIds, String contractId, String projectId, String header) {
|
|
|
+ public void reSigningEVisa(String classify, String taskIds, String contractId, String projectId, String header) {
|
|
|
//查询任务信息
|
|
|
List<Task> taskList = jdbcTemplate.query("select * from u_task where id in(" + taskIds + ")", new BeanPropertyRowMapper<>(Task.class));
|
|
|
if (taskList.size() > 0) {
|
|
@@ -1412,7 +1413,7 @@ public class TaskServiceImpl extends BaseServiceImpl<TaskMapper, Task> implement
|
|
|
for (Task task : taskList) {
|
|
|
//重新保存
|
|
|
long startTime_1 = System.currentTimeMillis();
|
|
|
- R result = this.saveNodePdf(queryMap.get(task.getFormDataId()), contractId, projectId, header);
|
|
|
+ R result = this.saveNodePdf(classify,queryMap.get(task.getFormDataId()), contractId, projectId, header);
|
|
|
long endTime_1 = System.currentTimeMillis();
|
|
|
long executionTime_1 = endTime_1 - startTime_1;
|
|
|
log.info("saveNodePdf执行时间:" + executionTime_1 + " 毫秒");
|
|
@@ -1458,8 +1459,8 @@ public class TaskServiceImpl extends BaseServiceImpl<TaskMapper, Task> implement
|
|
|
throw new ServiceException("未获取到任务信息,操作失败!");
|
|
|
}
|
|
|
|
|
|
- R saveNodePdf(String nodePKeyIds, String contractId, String projectId, String header) throws Exception {
|
|
|
- return excelTabClient.synPDFInfo(contractId, nodePKeyIds, "1", projectId, header);
|
|
|
+ R saveNodePdf(String classify,String nodePKeyIds, String contractId, String projectId, String header) throws Exception {
|
|
|
+ return excelTabClient.synPDFInfo(contractId, nodePKeyIds, classify, projectId, header);
|
|
|
}
|
|
|
|
|
|
}
|