DengBiao pirms 10 mēnešiem
vecāks
revīzija
e5fd92c34b
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. +3
    -0
      app/admin/hdl/hdl_audit_center.go

+ 3
- 0
app/admin/hdl/hdl_audit_center.go Parādīt failu

@@ -14,6 +14,7 @@ import (
"applet/app/utils/logx"
"errors"
"github.com/gin-gonic/gin"
"time"
)

func CentralKitchenForSchoolOrderRefundList(c *gin.Context) {
@@ -138,6 +139,7 @@ func CentralKitchenForSchoolOrderRefundAudit(c *gin.Context) {
return
}
cache.Set(md.AuditLockKeyForCentralKitchenLockKey, "running")
utils.FilePutContents("DealCentralKitchenForSchoolOrderRefundAudit", "退款处理,开始时间:::"+time.Now().Format("2006-01-02 15:04:05"))

//先将所有申请单改成 审核通过 状态
session := db.Db.NewSession()
@@ -235,6 +237,7 @@ func CentralKitchenForSchoolOrderRefundAudit(c *gin.Context) {
db.Db.In("id", req.Ids).Cols("memo", "state").Update(&m)
}
cache.Del(md.AuditLockKeyForCentralKitchenLockKey)
utils.FilePutContents("DealCentralKitchenForSchoolOrderRefundAudit", "退款处理,结束时间:::"+time.Now().Format("2006-01-02 15:04:05"))
}()
}



Notiek ielāde…
Atcelt
Saglabāt