|
@ -1,13 +1,6 @@
|
1
|
1
|
package com.ekexiu.project.bridge.alarm;
|
2
|
2
|
|
3
|
|
import java.sql.Connection;
|
4
|
|
import java.sql.PreparedStatement;
|
5
|
|
import java.sql.ResultSet;
|
6
|
|
import java.sql.SQLException;
|
7
|
|
import java.util.HashMap;
|
8
|
|
import java.util.List;
|
9
|
|
import java.util.Map;
|
10
|
|
|
|
3
|
import com.ekexiu.project.bridge.system.vo.SessionUser;
|
11
|
4
|
import org.jfw.apt.annotation.Autowrie;
|
12
|
5
|
import org.jfw.apt.web.annotation.LoginUser;
|
13
|
6
|
import org.jfw.apt.web.annotation.Path;
|
|
@ -19,7 +12,13 @@ import org.jfw.util.jdbc.JdbcUtil;
|
19
|
12
|
import org.jfw.util.jdbc.PreparedStatementConfig;
|
20
|
13
|
import org.jfw.util.jdbc.ResultSetExtractor;
|
21
|
14
|
|
22
|
|
import com.ekexiu.project.bridge.system.vo.SessionUser;
|
|
15
|
import java.sql.Connection;
|
|
16
|
import java.sql.PreparedStatement;
|
|
17
|
import java.sql.ResultSet;
|
|
18
|
import java.sql.SQLException;
|
|
19
|
import java.util.HashMap;
|
|
20
|
import java.util.List;
|
|
21
|
import java.util.Map;
|
23
|
22
|
|
24
|
23
|
@Path("/alarm")
|
25
|
24
|
public class AlarmService {
|
|
@ -70,7 +69,7 @@ public class AlarmService {
|
70
|
69
|
for(;i < server.length;++i ){
|
71
|
70
|
ps.setString(i+1,server[i]);
|
72
|
71
|
}
|
73
|
|
ps.setString(i,user.getId());
|
|
72
|
ps.setString(i+1,user.getId());
|
74
|
73
|
}
|
75
|
74
|
});
|
76
|
75
|
|