Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions models/pallidsturgeon.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ type TelemetrySummary struct {
Segment *int `db:"segment_code" json:"segment"`
Season *string `db:"season_code" json:"season"`
Bend *float64 `db:"bend_number" json:"bend"`
TBend *int `db:"t_bend" json:"t_bend"`
RadioTagNum int `db:"radio_tag_num" json:"radioTagNum"`
FrequencyIdCode int `db:"frequency_id" json:"frequencyIdCode"`
CaptureTime string `db:"capture_time" json:"captureTime"`
Expand Down
3 changes: 2 additions & 1 deletion stores/pallidsturgeonstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -2791,7 +2791,7 @@ func (s *PallidSturgeonStore) GetFullTelemetryDataSummary(year string, officeCod
return file.Name(), err
}

var telemetryDataSummarySql = `select t_id, year,field_office_code,project_code,segment_code,season_code,bend_number,radio_tag_num,frequency_id,capture_time, capture_latitude, capture_longitude, position_confidence, macro_code, meso_code, depth, conductivity, turbidity, se_id, site_id, se.search_date, se.search_day, temp, silt, sand, gravel, comments
var telemetryDataSummarySql = `select t_id, year,field_office_code,project_code,segment_code,season_code,bend_number, t_bend, radio_tag_num,frequency_id,capture_time, capture_latitude, capture_longitude, position_confidence, macro_code, meso_code, depth, conductivity, turbidity, se_id, site_id, se.search_date, se.search_day, temp, silt, sand, gravel, comments
FROM table (pallid_data_api.telemetry_datasummary_fnc(:1, :2, :3, :4, :5, :6, :7, to_date(:8,'MM/DD/YYYY'), to_date(:9,'MM/DD/YYYY'))) func
inner join ds_search se on se.se_id = func.se_id`

Expand Down Expand Up @@ -2862,6 +2862,7 @@ func (s *PallidSturgeonStore) GetTelemetryDataSummary(year string, officeCode st
&summary.Segment,
&summary.Season,
&summary.Bend,
&summary.TBend,
&summary.RadioTagNum,
&summary.FrequencyIdCode,
&summary.CaptureTime,
Expand Down