package com.moral.service.impl;
|
|
import java.util.List;
|
import java.util.Map;
|
|
import javax.annotation.Resource;
|
|
import org.springframework.stereotype.Service;
|
|
import com.moral.common.util.ValidateUtil;
|
import com.moral.entity.MonitorPoint;
|
import com.moral.mapper.MonitorPointMapper;
|
import com.moral.service.MonitorPointService;
|
|
@Service
|
public class MonitorPointServiceImpl implements MonitorPointService {
|
@Resource
|
private MonitorPointMapper monitorPointMapper;
|
|
@Override
|
public List<MonitorPoint> getMonitorPointsByAreaName(Map<String, Object> parameters) {
|
ValidateUtil.notNull(parameters.get("areaName"), "param.is.null");
|
return monitorPointMapper.getMonitorPointsByAreaName(parameters);
|
}
|
|
}
|