Skip to content

Commit

Permalink
Merge branch 'master-sdtabilit' into SLTS-39-Add-icon-PointProperties…
Browse files Browse the repository at this point in the history
…-on-the-form-the-data-source
  • Loading branch information
sdtabilit authored Oct 28, 2016
2 parents 43ca0d2 + 2c630ce commit f78acb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ branches:
only:
- "/^PROC-.*$/"
- "/^develop-sdtabilit.*$/"
- "/^master-sdtabilit.*$/"
notifications:
email: false
env:
Expand Down
4 changes: 2 additions & 2 deletions src/org/scada_lts/dao/UnsilencedAlarmDAO.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class UnsilencedAlarmDAO {
+ "userEvents u "
+ "join events e on u.eventId=e.id "
+ "where "
+ "u.silenced='false' "
+ "u.silenced='N' "
+ "group by "
+ "userId";
// @formatter:on
Expand All @@ -62,7 +62,7 @@ protected List<UnsilencedAlarmLevelCache> getAll() {
public UnsilencedAlarmLevelCache mapRow(ResultSet rs, int rownumber) throws SQLException {
UnsilencedAlarmLevelCache unsilencedAlarmLevel = new UnsilencedAlarmLevelCache();
unsilencedAlarmLevel.setAlarmLevel(rs.getInt(COLUMN_NAME_MAX));
unsilencedAlarmLevel.setAlarmLevel(rs.getInt(COLUMN_NAME_USERID));
unsilencedAlarmLevel.setUserId(rs.getInt(COLUMN_NAME_USERID));
return unsilencedAlarmLevel;
}
});
Expand Down

0 comments on commit f78acb6

Please sign in to comment.