DengBiao 8 mesi fa
parent
commit
2dc67cbe8d
1 ha cambiato i file con 8 aggiunte e 1 eliminazioni
  1. +8
    -1
      app/admin/hdl/hdl_audit_center.go

+ 8
- 1
app/admin/hdl/hdl_audit_center.go Vedi 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


Caricamento…
Annulla
Salva