|
@@ -195,12 +195,16 @@ public class EVisaController {
|
|
|
this.jdbcTemplate.execute("delete from u_task_batch where id="+taskApprovalVO.getId());
|
|
|
jdbcTemplate.execute(up_task_par);
|
|
|
jdbcTemplate.execute(up_task);
|
|
|
- jdbcTemplate.execute("update u_information_query set e_visa_pdf_url='',status=0 where id='"+taskApprovalVO.getFormDataId()+"'");
|
|
|
- RedisTemplate.delete("sign-" + taskApprovalVO.getFormDataId());
|
|
|
- //委托单
|
|
|
- if (taskApprovalVO.getApprovalType()==8) {
|
|
|
+
|
|
|
+ if(taskApprovalVO.getApprovalType() == 3){
|
|
|
+ jdbcTemplate.execute("update u_contract_log set status=0 where id='"+taskApprovalVO.getFormDataId()+"'");
|
|
|
+ }else if (taskApprovalVO.getApprovalType()==8) {
|
|
|
this.jdbcTemplate.execute("update u_entrust_info set status=1 where id=(SELECT wbs_id from u_information_query where id='"+taskApprovalVO.getFormDataId()+"')");
|
|
|
+ }else {
|
|
|
+ jdbcTemplate.execute("update u_information_query set e_visa_pdf_url='',status=0 where id='"+taskApprovalVO.getFormDataId()+"'");
|
|
|
}
|
|
|
+ RedisTemplate.delete("sign-" + taskApprovalVO.getFormDataId());
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|