| | |
| | | } |
| | | |
| | | @ResponseBody |
| | | @RequestMapping(value = "/sensorManagementsan.do", method = { RequestMethod.POST, RequestMethod.GET }) |
| | | public List<tb_gas> sensorManagementsan(HttpServletRequest request) { |
| | | List<tb_gas> sensorManagementList = gasService.getSensorManagement(); |
| | | for (int i = 0; i < sensorManagementList.size();i++) { |
| | | sensorManagementList.get(i).setGas_type(sensorManagementList.get(i).getGas_type().replace(" ", "")); |
| | | } |
| | | return sensorManagementList; |
| | | } |
| | | |
| | | @ResponseBody |
| | | @RequestMapping(value = "/sensorManagement_page.do", method = { RequestMethod.POST, RequestMethod.GET }) |
| | | public String sensorManagement_page(HttpServletRequest request) { |
| | | String pageStr = request.getParameter("page"); |