This commit is contained in:
richboo111
2022-07-27 10:18:59 +08:00
parent d0fb1bfd8d
commit dac9a6b805

View File

@@ -200,9 +200,12 @@ func CreateWayOrder(ctx *jxcontext.Context, param *model.MakeOrderParamReq, user
func CancelWayOrder(ctx *jxcontext.Context, userId string, param *bida.CancelOrderReq) error {
// 查询订单
globals.SugarLogger.Debug("userid==================", userId)
globals.SugarLogger.Debug("param.order_no==================", param.OrderNo)
//order:=get
order := &model.UserVendorOrder{UserId: userId, LocalWayBill: param.OrderNo}
globals.SugarLogger.Debugf("hjghauifhwquihfuiojqw== %v ", &order.OtherWayBill)
//orders, err := QueryOrderDetail(param.Type, param.OrderNo)
//order := &orders
globals.SugarLogger.Debugf("hjghauifhwquihfuiojqw== %v ", order.OtherWayBill)
if err := dao.GetEntity(dao.GetDB(), order, "UserId", "LocalWayBill"); err != nil {
return err
}