Commit e287c1cd authored by fangxinjiang's avatar fangxinjiang

代码优化-fxj

parent 77fa72d1
......@@ -228,13 +228,13 @@ public class TInsuranceUnpurchaseApplyController {
try {
requestId = RedisDistributedLock.tryLockAndTime(redisKey, "10");
} catch (Exception e) {
return R.failed(ResultConstants.REQUEST_LOCK_FAIL);
return R.failed(ResultConstants.NO_GETLOCK_DATA);
}
if (Common.isNotKong(requestId)) {
return tInsuranceUnpurchaseApplyService.auditAndCommit(insuranceUnpurchaseApply, tAuditRecord.getApprovalResult(),
tAuditRecord.getApprovalOpinion(), user);
}
return R.failed(ResultConstants.REQUEST_LOCK_FAIL);
return R.failed(ResultConstants.NO_GETLOCK_DATA);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment