| | |
| | | package com.terra.coal.service; |
| | | |
| | | import com.terra.coal.entity.Coal54Entity; |
| | | import com.terra.coal.entity.CountEntity; |
| | | import com.terra.coal.entity.StaticData; |
| | | import com.terra.coal.helper.StringHelper; |
| | | import com.terra.coal.mapper.Coal54Mapper; |
| | | import com.terra.coal.mapper.MainMapper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | |
| | | * @author WWW |
| | | */ |
| | | @Service |
| | | public class MainService { |
| | | public class MainService implements MainMapper { |
| | | @Autowired |
| | | MainMapper mainMapper; |
| | | |
| | | @Autowired |
| | | Coal54Mapper coal54Mapper; |
| | | |
| | | @Override |
| | | public List<CountEntity> countByRange(BigDecimal top, BigDecimal bottom, String wkt) { |
| | | return mainMapper.countByRange(top, bottom, wkt); |
| | | } |
| | | |
| | | /** |
| | | * 加载54数据(入库) |
| | | */ |