瀏覽代碼

update

tmp
DengBiao 9 月之前
父節點
當前提交
afa87804d3
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      app/admin/svc/order/svc_central_kitchen_for_school_order.go

+ 2
- 2
app/admin/svc/order/svc_central_kitchen_for_school_order.go 查看文件

@@ -344,7 +344,7 @@ func CentralKitchenForSchoolOrderRefundAudit(c *gin.Context, req md.CentralKitch
if err6 != nil {
fmt.Println("dealReturnOrdMap_ERR::::", err6.Error())
//TODO::1、将 central_kitchen_for_school_user_refund_day 审核状态修改为`退款中`
sql := fmt.Sprintf("update central_kitchen_for_school_user_refund_day set state =5, memo = %s where out_request_no = '%s'", v.OutRequestNo, err6.Error())
sql := fmt.Sprintf("update central_kitchen_for_school_user_refund_day set state =5, memo = '%s' where out_request_no = '%s'", err6.Error(), v.OutRequestNo)
db.ExecuteOriginalSql(db.Db, sql)
utils.FilePutContents("dealReturnOrdMap_ERR", utils.SerializeStr(map[string]interface{}{
"sql": sql,
@@ -380,7 +380,7 @@ func CentralKitchenForSchoolOrderRefundAudit(c *gin.Context, req md.CentralKitch
if err6 != nil {
fmt.Println("dealReturnOrdMapForWx_ERR::::", err6.Error())
//TODO::1、将审核状态修改为`退款中`
sql := fmt.Sprintf("update central_kitchen_for_school_user_refund_day set state = 5, memo = %s where out_request_no = '%s'", v.OutRequestNo, err6.Error())
sql := fmt.Sprintf("update central_kitchen_for_school_user_refund_day set state =5, memo = '%s' where out_request_no = '%s'", err6.Error(), v.OutRequestNo)
db.ExecuteOriginalSql(db.Db, sql)
utils.FilePutContents("dealReturnOrdMapForWx_ERR", utils.SerializeStr(map[string]interface{}{
"sql": sql,


Loading…
取消
儲存