霍林河露天煤矿生产一体化平台
1
13693261870
2023-04-10 dd50418315218979f8d596f34f185ae4a28adc4a
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(String wkt, double top, double bottom) {
        return mainMapper.countByRange(wkt, top, bottom);
    }
    /**
     * 加载54数据(入库)
     */