|
|
@@ -18,7 +18,7 @@ func GetOrderById(eg *xorm.Engine, id string) *model.Order { |
|
|
|
} |
|
|
|
func GetOrderByMore(sess *xorm.Session, args map[string]string) *[]model.Order { |
|
|
|
var order []model.Order |
|
|
|
sess1 := sess.Where("state!=5") |
|
|
|
sess1 := sess.Where("state!=5 and state!=4") |
|
|
|
if args["ids"] != "" { |
|
|
|
sess1.In("oid", strings.Split(args["ids"], ",")) |
|
|
|
} |
|
|
|