|
@@ -171,7 +171,7 @@ func GetOrderListOutput(eg *xorm.Engine, param map[string]string) *[]model.Order |
|
|
} |
|
|
} |
|
|
sess.In("enterprise_id", oids) |
|
|
sess.In("enterprise_id", oids) |
|
|
} |
|
|
} |
|
|
err := sess.OrderBy("id asc").Find(&order) |
|
|
|
|
|
|
|
|
err := sess.OrderBy("id desc").Find(&order) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
return nil |
|
|
return nil |
|
|
} |
|
|
} |
|
|