| | |
| | | import java.util.List;
|
| | |
|
| | | import javax.annotation.Resource;
|
| | | import javax.management.monitor.Monitor;
|
| | |
|
| | | import com.moral.monitor.dao.MonitorpointDao;
|
| | | import com.moral.monitor.entity.Monitorpoint;
|
| | | import com.moral.monitor.entity.MonitorPoint;
|
| | | import com.moral.monitor.entity.MonitorPointExample;
|
| | | import com.moral.monitor.entity.QueryHelper;
|
| | | import com.moral.monitor.service.MonitorpointService;
|
| | | import org.springframework.stereotype.Service;
|
| | |
|
| | | /**
|
| | | * @author fengxiang
|
| | | * @Time:2017年10月25日 下午2:24:46
|
| | | * @version 1.0
|
| | | */
|
| | | @Service
|
| | | public class MonitorpointServiceImpl implements MonitorpointService {
|
| | | @Resource
|
| | | MonitorpointDao monitorpointDao;
|
| | | public List<Monitorpoint> allMonitorpoint(QueryHelper queryHelper) {
|
| | | // TODO Auto-generated method stub
|
| | | return null;
|
| | | MonitorpointDao monitorPointDao;
|
| | |
|
| | | @Override
|
| | | public List<MonitorPoint> queryListByExample(MonitorPointExample example) {
|
| | | return monitorPointDao.selectByExample(example);
|
| | | }
|
| | |
|
| | | public int monitorCount(QueryHelper queryHelper) {
|
| | | // TODO Auto-generated method stub
|
| | | return 0;
|
| | | }
|
| | | public List<MonitorPoint> allMonitorpoint(QueryHelper queryHelper){return monitorPointDao.allMonitorPoint(queryHelper);}
|
| | | public int monitorCount(QueryHelper queryHelper){return monitorPointDao.monitorCount(queryHelper);}
|
| | |
|
| | | public void deleteMonitor(String id) {
|
| | | // TODO Auto-generated method stub
|
| | |
|
| | | }
|
| | | public void deleteMonitor(String id){monitorPointDao.deleteMonitor(id);}
|
| | |
|
| | | public void addMonitorpoint(Monitorpoint Monitorpoint) {
|
| | | // TODO Auto-generated method stub
|
| | |
|
| | | }
|
| | | public void addMonitorpoint(MonitorPoint monitorPoint){monitorPointDao.addMonitorpoint(monitorPoint);}
|
| | |
|
| | | public void updateMonitorpoint(Monitorpoint Monitorpoint) {
|
| | | // TODO Auto-generated method stub
|
| | |
|
| | | }
|
| | | public void updateMonitorpoint(MonitorPoint monitorPoint){
|
| | | monitorPointDao.updateMonitorpoint(monitorPoint);
|
| | | }
|
| | |
|
| | | }
|