|
@@ -121,10 +121,26 @@ public class OutStoreFormActivitiServiceImpl extends BaseFormCheckServiceAbstrac
|
|
|
outStoreForm.setId(actAuditRequest.getId());
|
|
|
outStoreForm.setStatus(OutStoreStatusEnum.EXECUTING.getValue());
|
|
|
outStoreFormMapper.updateByPrimaryKeySelective(outStoreForm);
|
|
|
- yongyouService.addOutForm(actAuditRequest.getId());
|
|
|
+ //yongyouService.addOutForm(actAuditRequest.getId());
|
|
|
+ YongYouThread yongYouThread = new YongYouThread();
|
|
|
+ yongYouThread.setId(actAuditRequest.getId());
|
|
|
+ yongYouThread.start();
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
+ class YongYouThread extends Thread {
|
|
|
+ private String id;
|
|
|
+
|
|
|
+ public void setId(String id){
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void run() {
|
|
|
+ yongyouService.addOutForm(id);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 终止审批业务
|
|
|
* 清空:processInstanceId
|