|
|
@@ -473,7 +473,7 @@ public class PayServiceImpl implements PayService {
|
|
|
.formUuid("FORM-18921AB3A1AD4CC6853EB7631B9ABA0AHCF3")
|
|
|
.formDataJson(JSON.toJSONString(formData))
|
|
|
.build(), YDConf.FORM_OPERATION.start);
|
|
|
- }catch (McException mcException){
|
|
|
+ }catch (Exception mcException){
|
|
|
try {
|
|
|
Thread.sleep(10000);
|
|
|
} catch (InterruptedException ex) {
|
|
|
@@ -496,10 +496,24 @@ public class PayServiceImpl implements PayService {
|
|
|
}else if(depType.equals("一线部门")){
|
|
|
formData.put("departmentSelectField_mkkjlg1y",issueDepartment);
|
|
|
}
|
|
|
- ydClient.operateData(_initLYParam()
|
|
|
- .formUuid("FORM-609926407D9D4CABB771228200AEE57EKGSE")
|
|
|
- .formDataJson(JSON.toJSONString(formData))
|
|
|
- .build(), YDConf.FORM_OPERATION.start);
|
|
|
+ try {
|
|
|
+ ydClient.operateData(_initLYParam()
|
|
|
+ .formUuid("FORM-609926407D9D4CABB771228200AEE57EKGSE")
|
|
|
+ .formDataJson(JSON.toJSONString(formData))
|
|
|
+ .build(), YDConf.FORM_OPERATION.start);
|
|
|
+ } catch (Exception ex) {
|
|
|
+ ex.printStackTrace();
|
|
|
+ log.error("非班组流程下发出错重试");
|
|
|
+ try {
|
|
|
+ Thread.sleep(5000);
|
|
|
+ } catch (InterruptedException exc) {
|
|
|
+ exc.printStackTrace();
|
|
|
+ }
|
|
|
+ ydClient.operateData(_initLYParam()
|
|
|
+ .formUuid("FORM-609926407D9D4CABB771228200AEE57EKGSE")
|
|
|
+ .formDataJson(JSON.toJSONString(formData))
|
|
|
+ .build(), YDConf.FORM_OPERATION.start);
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
});
|