|
|
@@ -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, |
|
|
|