This commit is contained in:
richboo111
2022-07-27 14:43:53 +08:00
parent 29a656d505
commit 45a06c52cb

View File

@@ -204,8 +204,8 @@ func CancelWayOrder(ctx *jxcontext.Context, userId string, param *bida.CancelOrd
globals.SugarLogger.Debug("param.order_no==================", param.OrderNo) globals.SugarLogger.Debug("param.order_no==================", param.OrderNo)
order, err := dao.GetUserVendorOrder(db, userId, param.OrderNo) order, err := dao.GetUserVendorOrder(db, userId, param.OrderNo)
if err != nil { if err != nil {
globals.SugarLogger.Debugf("errrrrrr=========== %v", err) globals.SugarLogger.Debug("err=================", err)
//return err return err
} }
//order := &model.UserVendorOrder{UserId: userId, LocalWayBill: param.OrderNo} //order := &model.UserVendorOrder{UserId: userId, LocalWayBill: param.OrderNo}
//if err := dao.GetEntity(dao.GetDB(), order, "UserId", "LocalWayBill"); err != nil { //if err := dao.GetEntity(dao.GetDB(), order, "UserId", "LocalWayBill"); err != nil {