|
@@ -23,6 +23,7 @@ import com.onemap.common.datasource.annotation.Slave;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
import javax.annotation.Resource;
|
|
|
|
+import java.util.HashMap;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
|
|
|
|
@@ -108,7 +109,12 @@ public class TdgyServiceImp implements TdgyService {
|
|
@Override
|
|
@Override
|
|
public RequestResult getSuspectedIdleLand(String key, String xzqh, Integer limit, Integer offset) {
|
|
public RequestResult getSuspectedIdleLand(String key, String xzqh, Integer limit, Integer offset) {
|
|
List<Map<String, Object>> list = tdgyMapper.getSuspectedIdleLand(key, xzqh, limit, offset);
|
|
List<Map<String, Object>> list = tdgyMapper.getSuspectedIdleLand(key, xzqh, limit, offset);
|
|
- return RequestResult.success(list);
|
|
|
|
|
|
+ Map<String, Object> map = new HashMap<>();
|
|
|
|
+ map.put("list", list);
|
|
|
|
+ // TODO 总数,总面积
|
|
|
|
+ map.put("count", list.size());
|
|
|
|
+ map.put("area", 100);
|
|
|
|
+ return RequestResult.success(map);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -160,4 +166,7 @@ public class TdgyServiceImp implements TdgyService {
|
|
landIdleDisposalMapper.insert(landIdleDisposalDTO);
|
|
landIdleDisposalMapper.insert(landIdleDisposalDTO);
|
|
return RequestResult.success();
|
|
return RequestResult.success();
|
|
}
|
|
}
|
|
|
|
+ /**
|
|
|
|
+ * 获取闲置土地
|
|
|
|
+ */
|
|
}
|
|
}
|