jiapeng 6 years ago
parent
commit
80f6ad09af

+ 1 - 1
src/main/java/com/ekexiu/project/bridge/servlet/AlarmDataServlet.java

139
									}
139
									}
140
									tmpObj = map.get("alarm_time");
140
									tmpObj = map.get("alarm_time");
141
									if (tmpObj != null && tmpObj instanceof String) {
141
									if (tmpObj != null && tmpObj instanceof String) {
142
										item.setStime((String) tmpObj);
142
										item.setAtime((String) tmpObj);
143
										if (msg.getAlarmTime() == null) {
143
										if (msg.getAlarmTime() == null) {
144
											String at = (String) tmpObj;
144
											String at = (String) tmpObj;
145
											at = at.substring(0, 14);
145
											at = at.substring(0, 14);

+ 1 - 1
src/main/java/com/ekexiu/project/bridge/system/dao/UserDao.java

90
	@SelectList
90
	@SelectList
91
	@From(User.class)
91
	@From(User.class)
92
	List<User> queryByBridgeId(Connection con,
92
	List<User> queryByBridgeId(Connection con,
93
			@SqlColumn(value = "ID IN (SELECT UID FROM USER_BRIDGE WHERE BRIDGE=?", handlerClass = StringHandler.class) String bridge, @Nullable Boolean active)
93
			@SqlColumn(value = "ID IN (SELECT UID FROM USER_BRIDGE WHERE BRIDGE=?)", handlerClass = StringHandler.class) String bridge, @Nullable Boolean active)
94
			throws SQLException;
94
			throws SQLException;
95
}
95
}