| | |
| | | List<MonitorPoint> monitorPointList = monitorPointMapper.selectWithAreaNameByExample(example);
|
| | | return new PageBean(monitorPointList);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public MonitorPoint selectWithRelationById(Integer id){
|
| | | Example example = new Example(ENTITY_CLASS);
|
| | | example.or().andEqualTo("id",id);
|
| | | List<MonitorPoint> monitorPointList = monitorPointMapper.selectWithAreaNameByExample(example);
|
| | | return monitorPointList!=null&&monitorPointList.size()>0?monitorPointList.get(0):null;
|
| | | }
|
| | | @Override
|
| | | public void addOrModify(MonitorPoint monitorPoint) {
|
| | | try{
|