Merge "ASM #527 update revision and shef_qual_code" into asm_14.3.1
Former-commit-id:43b45e9f53
[formerly107b64a544
] [formerly43b45e9f53
[formerly107b64a544
] [formerlye33a27684c
[formerly 0c54c56efa1306d781d64621ccf7f62b3bf70997]]] Former-commit-id:e33a27684c
Former-commit-id:ed4e911992
[formerlya0b2051e7e
] Former-commit-id:ce9120be90
This commit is contained in:
commit
00bab1367a
1 changed files with 3 additions and 0 deletions
|
@ -71,6 +71,7 @@ import com.raytheon.viz.hydrocommon.util.DbUtils;
|
|||
* May 30 2012 14967 wkwock overload insertRejectedData method
|
||||
* Feb 22 2013 14676 lbousaidi check when producttime is null
|
||||
* Mar 25, 2013 1781 mpduff Constrain time series table query with a start time.
|
||||
* May 12 2014 16705 lbousaidi update revision and shef_qual_code in edit routine.
|
||||
* </pre>
|
||||
*
|
||||
* @author dhladky
|
||||
|
@ -1167,6 +1168,8 @@ public class TimeSeriesDataManager extends HydroDataManager {
|
|||
SqlBuilder sql = new SqlBuilder(tablename);
|
||||
sql.setSqlType(SqlBuilder.UPDATE);
|
||||
sql.addDouble("value", data.getValue());
|
||||
sql.addString("shef_qual_code", "M");
|
||||
sql.addInt("revision", 1);
|
||||
sql.addString("postingTime", HydroConstants.DATE_FORMAT.format(now));
|
||||
if (data.getProductTime() == null) {
|
||||
sql.addString(
|
||||
|
|
Loading…
Add table
Reference in a new issue