wangchuanjin 1 anno fa
parent
commit
f82bcb75f4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      openPower/openPower.go

+ 1 - 1
openPower/openPower.go

@@ -92,7 +92,7 @@ func main() {
 	allT := ""
 	for _, v := range *MysqlMain.SelectBySql(`select a.id,c.code,c.name,a.goods_code,a.name as spec_name from base_service.base_goods_spec a
 		inner join base_service.base_goods_spec_power b on (a.id=b.spec_id)
-		inner join base_service.base_function c on (b.function_code=c.code)`) {
+		inner join base_service.base_function c on (b.function_code=c.code) order by a.id`) {
 		id := Int64All(v["id"])
 		if !filterSpec[id] {
 			continue