|
@@ -241,4 +241,19 @@ public class AnalyzeController {
|
|
|
}
|
|
|
return result;
|
|
|
}
|
|
|
+
|
|
|
+ @RequestMapping(value = "/afterSimilarBug")
|
|
|
+ @ResponseBody
|
|
|
+ public void getAfterSimilarBug(String bug_id, HttpServletResponse response){
|
|
|
+ try {
|
|
|
+ PrintWriter out = response.getWriter();
|
|
|
+ JSONObject result = new JSONObject();
|
|
|
+ result.put("bugList",aservice.getAfterSimilarBug(bug_id));
|
|
|
+ out.print(result);
|
|
|
+ out.flush();
|
|
|
+ out.close();
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|