|
@ -176,4 +176,30 @@ public class FeedbackService {
|
176
|
176
|
fb.setSchema(11);
|
177
|
177
|
return this.feedbackDao.insert(con, fb);
|
178
|
178
|
}
|
|
179
|
|
|
180
|
@Post
|
|
181
|
@Path("/error/team")
|
|
182
|
public long errorTeam(@JdbcConn(true) Connection con,String cnt,String id,@Nullable String user)throws SQLException{
|
|
183
|
Feedback fb = new Feedback();
|
|
184
|
fb.setCategory(1);
|
|
185
|
fb.setParam(id);
|
|
186
|
fb.setState("0");
|
|
187
|
fb.setContent(cnt);
|
|
188
|
fb.setUserId(user);
|
|
189
|
fb.setSchema(12);
|
|
190
|
return this.feedbackDao.insert(con, fb);
|
|
191
|
}
|
|
192
|
|
|
193
|
@Post
|
|
194
|
@Path("/error/resResult")
|
|
195
|
public long errorResResult(@JdbcConn(true) Connection con,String cnt,String id,@Nullable String user)throws SQLException{
|
|
196
|
Feedback fb = new Feedback();
|
|
197
|
fb.setCategory(1);
|
|
198
|
fb.setParam(id);
|
|
199
|
fb.setState("0");
|
|
200
|
fb.setContent(cnt);
|
|
201
|
fb.setUserId(user);
|
|
202
|
fb.setSchema(13);
|
|
203
|
return this.feedbackDao.insert(con, fb);
|
|
204
|
}
|
179
|
205
|
}
|