霍林河露天煤矿生产一体化平台
1
13693261870
2023-04-10 f34c06ae314cd4a3f9a3bd50a264a3ce0da5d7e7
src/main/java/com/terra/coal/service/MainService.java
@@ -1,9 +1,11 @@
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;
@@ -20,10 +22,18 @@
 * @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数据(入库)
     */