ASM #527 update revision and shef_qual_code
Change-Id: I36fa41796350e8fcae6bcc0101120331188bbeff Former-commit-id:d3be6d0476
[formerlyec5bd7a2bb
[formerly 860ea4b3644a526ac10b4366f158824fe6cbdcb0]] Former-commit-id:ec5bd7a2bb
Former-commit-id:e634d0cdcf
This commit is contained in:
parent
c064fb3ae4
commit
6b73f20d22
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