|
@ -95,7 +95,7 @@ LEFT JOIN datasolution as p |
|
|
ON d.station_name=p.sn |
|
|
ON d.station_name=p.sn |
|
|
where p.group_name is not null |
|
|
where p.group_name is not null |
|
|
and d.id > %d and d.id <= %d |
|
|
and d.id > %d and d.id <= %d |
|
|
ORDER BY p.group_name;`, recordInfo.TableName, recordInfo.Id, recordInfo.Id+100) |
|
|
ORDER BY p.group_name;`, recordInfo.TableName, recordInfo.Id, recordInfo.Id+200) |
|
|
var GnssDatas []SinoGnssMySQL.GnssData |
|
|
var GnssDatas []SinoGnssMySQL.GnssData |
|
|
err = the.InDB.Query(&GnssDatas, sql) |
|
|
err = the.InDB.Query(&GnssDatas, sql) |
|
|
if err != nil || len(GnssDatas) == 0 { |
|
|
if err != nil || len(GnssDatas) == 0 { |
|
|