浏览代码

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,


正在加载...
取消
保存