40 lines
1015 B
Java
40 lines
1015 B
Java
package com.mca.map.service;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import com.mca.map.vo.ChartVO;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
import com.mca.map.mapper.FieldDataMapper;
|
|
import com.mca.map.vo.FieldDataSearchVO;
|
|
import com.mca.map.vo.FieldDataVO;
|
|
|
|
@Service("fieldDataService")
|
|
public class FieldDataService {
|
|
|
|
@Resource(name="fieldDataMapper")
|
|
FieldDataMapper fieldDataMapper;
|
|
|
|
public List<?> selectFieldDataList(FieldDataSearchVO fieldDataSearchVO) {
|
|
// TODO Auto-generated method stub
|
|
return fieldDataMapper.selectFieldDataList(fieldDataSearchVO);
|
|
}
|
|
|
|
public int selectFieldDataCnt(FieldDataSearchVO fieldDataSearchVO) {
|
|
// TODO Auto-generated method stub
|
|
return fieldDataMapper.selectFieldDataCnt(fieldDataSearchVO);
|
|
}
|
|
|
|
public FieldDataVO selectFieldData(String id) {
|
|
// TODO Auto-generated method stub
|
|
return fieldDataMapper.selectFieldData(id);
|
|
}
|
|
|
|
public List<ChartVO> selectAreaDataList() {
|
|
return fieldDataMapper.selectAreaDataList();
|
|
}
|
|
}
|