@@ -180,7 +180,7 @@ func GetErmcpGoodses(userid int64, lastUpdateTime string, loginID int64) ([]Ermc
if loginID != 0 {
session = session.In("G.MARKETID", ids)
}
- session = session.OrderBy("G.GOODSCODE")
+ session = session.OrderBy("EX.GOODSORDER, G.GOODSCODE")
if err := session.Find(&goodses); err != nil {
return nil, err