Browse Source

update

tmp
DengBiao 8 months ago
parent
commit
2dc67cbe8d
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      app/admin/hdl/hdl_audit_center.go

+ 8
- 1
app/admin/hdl/hdl_audit_center.go View File

@@ -181,7 +181,14 @@ func CentralKitchenForSchoolOrderRefundAudit(c *gin.Context) {
if recordsId[returnDay.RecordsId] {
cache.Del(md.AuditLockKeyForCentralKitchenLockKey)
_ = session.Rollback()
e.OutErr(c, e.ERR, "当前含有重复退订餐记录【身份id:"+utils.IntToStr(returnDay.IdentityId)+"】;"+"记录id:【"+v+"】!")
userIdentityDb := db.UserIdentityDb{}
userIdentityDb.Set(0)
identity, err11 := userIdentityDb.GetUserIdentity(returnDay.IdentityId)
if err11 != nil {
e.OutErr(c, e.ERR_DB_ORM, err11.Error())
return
}
e.OutErr(c, e.ERR, "当前含有重复退订餐记录【身份名称:"+identity.Name+"】;"+"记录id:【"+v+"】!")
return
}
recordsId[returnDay.RecordsId] = true


Loading…
Cancel
Save