|
|
|
@ -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);
|
|
|
|
|