| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.io.BufferedReader; |
| | | import java.io.File; |
| | | import java.io.FileReader; |
| | |
| | | */ |
| | | @Service |
| | | public class MainService implements MainMapper { |
| | | @Autowired |
| | | @Resource |
| | | MainMapper mainMapper; |
| | | |
| | | @Autowired |
| | | Coal54Mapper coal54Mapper; |
| | | |
| | | @Override |
| | | public List<CountEntity> countByRange(BigDecimal top, BigDecimal bottom, String wkt) { |
| | | public List<CountEntity> countByRange(Double top, Double bottom, String wkt) { |
| | | return mainMapper.countByRange(top, bottom, wkt); |
| | | } |
| | | |