DengBiao 1 год назад
Родитель
Сommit
3d82531eee
1 измененных файлов: 11 добавлений и 11 удалений
  1. +11
    -11
      app/admin/svc/order/svc_central_kitchen_for_school_order.go

+ 11
- 11
app/admin/svc/order/svc_central_kitchen_for_school_order.go Просмотреть файл

@@ -220,23 +220,23 @@ func CentralKitchenForSchoolOrderRefundAudit(req md.CentralKitchenForSchoolOrder
_ = session.Rollback()
return err5
}

updateAck1, err4 := centralKitchenForSchoolUserWithDayDb.CentralKitchenForSchoolUserWithDayUpdate(userWithDay.Id, userWithDay, "state")
if err4 != nil {
_ = session.Rollback()
return err4
}
if updateAck1 <= 0 {
_ = session.Rollback()
err = errors.New("更新退款就餐记录状态失败2")
return
}
}
//else {
// returnDay.State = enum.CentralKitchenForSchoolUserRefundDayStateForAuditReject
// userWithDay.State = enum.CentralKitchenForSchoolUserWithDayStateForWait
//}

//updateAck1, err4 := centralKitchenForSchoolUserWithDayDb.CentralKitchenForSchoolUserWithDayUpdate(userWithDay.Id, userWithDay, "state")
//if err4 != nil {
// _ = session.Rollback()
// return err4
//}
//if updateAck1 <= 0 {
// _ = session.Rollback()
// err = errors.New("更新退款就餐记录状态失败2")
// return
//}

}

//调用支付宝进行退款


Загрузка…
Отмена
Сохранить