|
@@ -13,10 +13,7 @@ import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springblade.archive.entity.ArchiveProjectConfig;
|
|
|
import org.springblade.archive.feign.ArchiveAutoClient;
|
|
|
-import org.springblade.business.dto.ReSigningEntrustDto;
|
|
|
-import org.springblade.business.dto.TrialResignDto;
|
|
|
-import org.springblade.business.dto.TrialSelfInspectionRecordDTO;
|
|
|
-import org.springblade.business.dto.reSigningEVisaStatus;
|
|
|
+import org.springblade.business.dto.*;
|
|
|
import org.springblade.business.entity.*;
|
|
|
import org.springblade.business.mapper.TaskMapper;
|
|
|
import org.springblade.business.mapper.TrialSelfInspectionRecordMapper;
|
|
@@ -1910,7 +1907,21 @@ public class TaskServiceImpl extends BaseServiceImpl<TaskMapper, Task> implement
|
|
|
}
|
|
|
return R.success("操作成功");
|
|
|
}
|
|
|
- @Override
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void logSaveAgain(LogSaveAgainDto dto) throws Exception {
|
|
|
+ List<ContractLog> contractLogList = jdbcTemplate.query("select * from u_contract_log where id in (" + dto.getLogIds() + ")", new BeanPropertyRowMapper<>(ContractLog.class));
|
|
|
+ if(contractLogList.size()>0){
|
|
|
+ for (ContractLog contractLog : contractLogList) {
|
|
|
+ contractLogService.update(new LambdaUpdateWrapper<ContractLog>().eq(ContractLog::getId, contractLog.getId())
|
|
|
+ .set(ContractLog::getEVisaPdfUrl, null)
|
|
|
+ .set(ContractLog::getPdfUrl, null));
|
|
|
+ excelTabClient.getTheContractLogBusinessData(dto.getLogPkeyId(), dto.getNodePrimaryKeyId(), contractLog.getRecordTime(), dto.getContractId(), contractLog.getCreateUser());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
public void reSigningEVisa(String classify, String taskIds, String contractId, String projectId, Integer type, String header , HttpServletRequest request) {
|
|
|
//查询任务信息
|
|
|
List<Task> taskList = jdbcTemplate.query("select * from u_task where id in(" + taskIds + ")", new BeanPropertyRowMapper<>(Task.class));
|