diff --git a/app/db/db_order_goods_list.go b/app/db/db_order_goods_list.go index cb92f13..d67f09e 100644 --- a/app/db/db_order_goods_list.go +++ b/app/db/db_order_goods_list.go @@ -8,7 +8,7 @@ import ( func GetOrderGoodsListByIpad(eg *xorm.Engine, param map[string]string) (*[]model.OrderGoods, int64) { var order []model.OrderGoods - sess := eg.Where("state!=5 and num!=success_num") + sess := eg.Where("state<4") if param["oid"] != "" { sess.And("oid = ?", param["oid"])