This commit is contained in:
richboo111
2022-07-27 10:09:47 +08:00
parent 10b69be9c8
commit d0fb1bfd8d

View File

@@ -201,8 +201,8 @@ func CancelWayOrder(ctx *jxcontext.Context, userId string, param *bida.CancelOrd
// 查询订单
globals.SugarLogger.Debug("userid==================", userId)
//order:=get
order := model.UserVendorOrder{UserId: userId, LocalWayBill: param.OrderNo}
globals.SugarLogger.Debugf("hjghauifhwquihfuiojqw== %s ", order.OtherWayBill)
order := &model.UserVendorOrder{UserId: userId, LocalWayBill: param.OrderNo}
globals.SugarLogger.Debugf("hjghauifhwquihfuiojqw== %v ", &order.OtherWayBill)
if err := dao.GetEntity(dao.GetDB(), order, "UserId", "LocalWayBill"); err != nil {
return err
}