工业级运维app手机api
xufenglei
2017-11-02 9ecaff68d3af65d701daf627081314bc363ceba1
src/main/java/com/moral/monitor/controller/MonitorPointController.java
@@ -2,15 +2,15 @@
import com.moral.monitor.entity.MonitorPoint;
import com.moral.monitor.entity.QueryHelper;
import com.moral.monitor.service.MonitorPointService;
import com.moral.monitor.service.MonitorpointService;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.annotation.Resource;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
@@ -23,8 +23,8 @@
    private static final Log log = LogFactory.getLog(MonitorPointController.class);
    @Resource
    MonitorPointService monitorPointService;
    @Autowired
    MonitorpointService monitorPointService;
    @RequestMapping("/findAllMonitorpoint")
    @ResponseBody
@@ -36,7 +36,7 @@
        }
        LinkedHashMap<String, Object> s = new LinkedHashMap<String, Object>();
        List<MonitorPoint> equs = monitorPointService.allMonitorPoint(queryHelper);
        List<MonitorPoint> equs = monitorPointService.allMonitorpoint(queryHelper);
        s.put("rows",equs);
        int total = monitorPointService.monitorCount(queryHelper);