|
@@ -6,7 +6,6 @@ import com.siwei.apply.domain.vo.BatchTrendReportVO;
|
|
|
import com.siwei.apply.mapper.*;
|
|
import com.siwei.apply.mapper.*;
|
|
|
import com.siwei.common.core.exception.ServiceException;
|
|
import com.siwei.common.core.exception.ServiceException;
|
|
|
import com.siwei.common.core.utils.StringUtils;
|
|
import com.siwei.common.core.utils.StringUtils;
|
|
|
-import com.siwei.spatial.api.RemoteSpatialFilesDbService;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.collections4.CollectionUtils;
|
|
import org.apache.commons.collections4.CollectionUtils;
|
|
|
import org.apache.commons.collections4.MapUtils;
|
|
import org.apache.commons.collections4.MapUtils;
|
|
@@ -21,18 +20,6 @@ import java.util.stream.Collectors;
|
|
|
@Service
|
|
@Service
|
|
|
public class BatchServiceImpl{
|
|
public class BatchServiceImpl{
|
|
|
|
|
|
|
|
- @Autowired
|
|
|
|
|
- private GongdiJihuaMapper gongdiJihuaMapper;
|
|
|
|
|
-
|
|
|
|
|
- @Autowired
|
|
|
|
|
- private TdgyMapper dgyMapper;
|
|
|
|
|
-
|
|
|
|
|
- @Autowired
|
|
|
|
|
- private LandTypeMapper landTypeMapper;
|
|
|
|
|
-
|
|
|
|
|
- @Autowired
|
|
|
|
|
- private RemoteSpatialFilesDbService remoteSpatialFilesDbService;
|
|
|
|
|
-
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private YdbpMapper ydbpMapper;
|
|
private YdbpMapper ydbpMapper;
|
|
|
|
|
|
|
@@ -42,6 +29,9 @@ public class BatchServiceImpl{
|
|
|
|
|
|
|
|
public List<?> getNotSupplyList(String year) {
|
|
public List<?> getNotSupplyList(String year) {
|
|
|
List<Map<String, Object>> resList = new ArrayList<>();
|
|
List<Map<String, Object>> resList = new ArrayList<>();
|
|
|
|
|
+ if(StringUtils.isBlank(year)||"0".equals(year)){
|
|
|
|
|
+ year ="";
|
|
|
|
|
+ }
|
|
|
List<Map<String,Object>> ydbpNotSupplyList = ydbpMapper.queryRemainGeomListByYearOfYdbp(year);
|
|
List<Map<String,Object>> ydbpNotSupplyList = ydbpMapper.queryRemainGeomListByYearOfYdbp(year);
|
|
|
List<Map<String,Object>> ydbpDataNotSupplyList = ydbpDataMapper.queryRemainGeomListByYear(year);
|
|
List<Map<String,Object>> ydbpDataNotSupplyList = ydbpDataMapper.queryRemainGeomListByYear(year);
|
|
|
if(CollectionUtils.isNotEmpty(ydbpNotSupplyList)){
|
|
if(CollectionUtils.isNotEmpty(ydbpNotSupplyList)){
|