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

View File

@@ -200,7 +200,8 @@ 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)
order := &model.UserVendorOrder{UserId: userId, LocalWayBill: param.OrderNo}
//order:=get
order := model.UserVendorOrder{UserId: userId, LocalWayBill: param.OrderNo}
globals.SugarLogger.Debugf("hjghauifhwquihfuiojqw== %s ", order.OtherWayBill)
if err := dao.GetEntity(dao.GetDB(), order, "UserId", "LocalWayBill"); err != nil {
return err