WH01243 1 rok temu
rodzic
commit
940fdc7a7d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      api/internal/service/owner.go

+ 1 - 1
api/internal/service/owner.go

@@ -696,7 +696,7 @@ func BuyerList(partyA, supplier, heterotophy, intermediary, agency string, posit
 		for _, s := range strings.Split(agency, ",") {
 			agencyArr = append(agencyArr, fmt.Sprintf("'%s'", s))
 		}
-		sqlStr := fmt.Sprintf(`SELECT buyer, buyer_id FROM transaction_info  where agency_id in (%s)   order by  userid`, strings.Join(agencyArr, ","))
+		sqlStr := fmt.Sprintf(`SELECT buyer, buyer_id FROM transaction_info  where agency_id in (%s) `, strings.Join(agencyArr, ","))
 		FindHandle(sqlStr, dataMap)
 	}
 	return dataMap