重试次数以外的可以二次发起申请

于相涌/mail
YXY 2 years ago
parent f037698ede
commit 74fb26cd7a

@ -48,7 +48,7 @@ public class ApprovalCallback extends CallbackAbstract {
protected void businessProcessing(RequestVo request) {
Event event = queryEvent(request.getAppId(),request.getFromRecordId());
//如果已经存在处理中的就不需要操作数据库了
if (event != null && EventOperateStatus.PENDING.getCode().equals(event.getOperateStatus())){
if (event != null && EventOperateStatus.PENDING.getCode().equals(event.getOperateStatus()) && event.getNumbers() < 3){
return;
}
event = this.buildDto(request,event);

Loading…
Cancel
Save