Parcourir la source

update

add_mode
DengBiao il y a 1 an
Parent
révision
6b5ca74db7
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. +3
    -1
      app/admin/svc/order/svc_central_kitchen_for_school_order.go

+ 3
- 1
app/admin/svc/order/svc_central_kitchen_for_school_order.go Voir le fichier

@@ -9,6 +9,7 @@ import (
"applet/app/enum"
"applet/app/utils"
"errors"
"fmt"
"time"
)

@@ -213,7 +214,8 @@ func CentralKitchenForSchoolOrderRefundAudit(req md.CentralKitchenForSchoolOrder
}
returnDay.State = enum.CentralKitchenForSchoolUserRefundDayStateForAuditComplete
returnDay.RefundDate = time.Now().Format("2006-01-02 15:04:05")
updateAck2, err7 := centralKitchenForSchoolUserWithDayDb.CentralKitchenForSchoolUserWithDayUpdate(userWithDay.Id, userWithDay, "state")
updateAck2, err7 := centralKitchenForSchoolUserWithDayDb.CentralKitchenForSchoolUserWithDayUpdate(userWithDay.Id, userWithDay, "state", "refund_date")
fmt.Println(">>>>>>>>>>>>>>>>>updateAck2<<<<<<<<<<<<<<", updateAck2)
if err7 != nil {
_ = session.Rollback()
return err7


Chargement…
Annuler
Enregistrer