|
@@ -172,7 +172,7 @@ func CentralKitchenForSchoolOrderRefundAudit(c *gin.Context) { |
|
|
e.OutErr(c, e.ERR_DB_ORM, err1.Error()) |
|
|
e.OutErr(c, e.ERR_DB_ORM, err1.Error()) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
if returnDay.State != enum.CentralKitchenForSchoolUserRefundDayStateForAuditing && returnDay.State != enum.CentralKitchenForSchoolUserRefundDayStateForRefundErr && returnDay.State != enum.CentralKitchenForSchoolUserRefundDayStateForRefundIng { |
|
|
|
|
|
|
|
|
if returnDay.State != enum.CentralKitchenForSchoolUserRefundDayStateForAuditing && returnDay.State != enum.CentralKitchenForSchoolUserRefundDayStateForRefundErr { |
|
|
cache.Del(md.AuditLockKeyForCentralKitchenLockKey) |
|
|
cache.Del(md.AuditLockKeyForCentralKitchenLockKey) |
|
|
_ = session.Rollback() |
|
|
_ = session.Rollback() |
|
|
e.OutErr(c, e.ERR, "请勿重复审核申请单!") |
|
|
e.OutErr(c, e.ERR, "请勿重复审核申请单!") |
|
|