提交 c67cda5b 编写于 作者: M megagao

修改了代码格式

上级 404fe023
...@@ -36,7 +36,6 @@ public class TechnologyController { ...@@ -36,7 +36,6 @@ public class TechnologyController {
return technology; return technology;
} }
@RequestMapping("/find") @RequestMapping("/find")
public String find() throws Exception{ public String find() throws Exception{
return "technology_list"; return "technology_list";
...@@ -121,14 +120,7 @@ public class TechnologyController { ...@@ -121,14 +120,7 @@ public class TechnologyController {
} }
return result; return result;
} }
/*
@RequestMapping(value="/update")
@ResponseBody
private CustomResult update(Technology technology) throws Exception {
CustomResult result = technologyService.update(technology);
return result;
}
*/
@RequestMapping(value="/update_all") @RequestMapping(value="/update_all")
@ResponseBody @ResponseBody
private CustomResult updateAll(@Valid Technology technology, BindingResult bindingResult) throws Exception { private CustomResult updateAll(@Valid Technology technology, BindingResult bindingResult) throws Exception {
...@@ -163,14 +155,7 @@ public class TechnologyController { ...@@ -163,14 +155,7 @@ public class TechnologyController {
} }
return map; return map;
} }
/*
@RequestMapping(value="/delete")
@ResponseBody
private CustomResult delete(String id) throws Exception {
CustomResult result = technologyService.delete(id);
return result;
}
*/
@RequestMapping(value="/delete_batch") @RequestMapping(value="/delete_batch")
@ResponseBody @ResponseBody
private CustomResult deleteBatch(String[] ids) throws Exception { private CustomResult deleteBatch(String[] ids) throws Exception {
...@@ -181,7 +166,8 @@ public class TechnologyController { ...@@ -181,7 +166,8 @@ public class TechnologyController {
//搜索 //搜索
@RequestMapping("/search_technology_by_technologyId") @RequestMapping("/search_technology_by_technologyId")
@ResponseBody @ResponseBody
public EUDataGridResult searchTechnologyByTechnologyId(Integer page, Integer rows, String searchValue) throws Exception{ public EUDataGridResult searchTechnologyByTechnologyId(Integer page, Integer rows, String searchValue)
throws Exception{
EUDataGridResult result = technologyService.searchTechnologyByTechnologyId(page, rows, searchValue); EUDataGridResult result = technologyService.searchTechnologyByTechnologyId(page, rows, searchValue);
return result; return result;
} }
...@@ -189,7 +175,8 @@ public class TechnologyController { ...@@ -189,7 +175,8 @@ public class TechnologyController {
//搜索 //搜索
@RequestMapping("/search_technology_by_technologyName") @RequestMapping("/search_technology_by_technologyName")
@ResponseBody @ResponseBody
public EUDataGridResult searchTechnologyByTechnologyName(Integer page, Integer rows, String searchValue) throws Exception{ public EUDataGridResult searchTechnologyByTechnologyName(Integer page, Integer rows, String searchValue)
throws Exception{
EUDataGridResult result = technologyService.searchTechnologyByTechnologyName(page, rows, searchValue); EUDataGridResult result = technologyService.searchTechnologyByTechnologyName(page, rows, searchValue);
return result; return result;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册