|
|
|
@ -17,10 +17,7 @@ import io.swagger.annotations.ApiOperation;
|
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.HashMap;
|
|
|
|
@ -280,7 +277,7 @@ public class BigScreenController extends BaseController {
|
|
|
|
|
|
|
|
|
|
@PostMapping("/realTimeAlarmSituation")
|
|
|
|
|
@ApiOperation("实时警情")
|
|
|
|
|
public AjaxResult realTimeAlarmSituation(@ApiParam @Param("时间") String time) {
|
|
|
|
|
public AjaxResult realTimeAlarmSituation(@ApiParam @Param("时间") @RequestParam String time) {
|
|
|
|
|
try {
|
|
|
|
|
if (0 == NumKit.checkInt(time)) {
|
|
|
|
|
time = "30";
|
|
|
|
@ -313,7 +310,7 @@ public class BigScreenController extends BaseController {
|
|
|
|
|
|
|
|
|
|
@PostMapping("/buildingInformation")
|
|
|
|
|
@ApiOperation("楼栋信息")
|
|
|
|
|
public AjaxResult overviewResources(@ApiParam("楼栋地址") String para) {
|
|
|
|
|
public AjaxResult overviewResources(@ApiParam("楼栋地址") @RequestParam String para) {
|
|
|
|
|
try {
|
|
|
|
|
para = para.substring(0, para.indexOf("号"));
|
|
|
|
|
MetaRealEstateInfo estateInfo = new MetaRealEstateInfo();
|
|
|
|
@ -328,7 +325,7 @@ public class BigScreenController extends BaseController {
|
|
|
|
|
|
|
|
|
|
@PostMapping("/buildRealEstate")
|
|
|
|
|
@ApiOperation("楼栋信息:实有房屋统计")
|
|
|
|
|
public AjaxResult buildRealEstate(@ApiParam("楼栋地址") String para) {
|
|
|
|
|
public AjaxResult buildRealEstate(@ApiParam("楼栋地址") @RequestParam String para) {
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
|
|
QueryWrapper<MetaRealEstateInfo> queryWrapper = new QueryWrapper<>();
|
|
|
|
@ -358,7 +355,7 @@ public class BigScreenController extends BaseController {
|
|
|
|
|
|
|
|
|
|
@PostMapping("/buildRealActual")
|
|
|
|
|
@ApiOperation("楼栋信息:实有人口统计")
|
|
|
|
|
public AjaxResult buildRealActual(@ApiParam("楼栋地址") String para) {
|
|
|
|
|
public AjaxResult buildRealActual(@ApiParam("楼栋地址") @RequestParam String para) {
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
|
|
// 创建查询条件,使用模糊查询
|
|
|
|
@ -424,7 +421,9 @@ public class BigScreenController extends BaseController {
|
|
|
|
|
|
|
|
|
|
@PostMapping("/buildStructure")
|
|
|
|
|
@ApiOperation("楼栋信息:房屋结构")
|
|
|
|
|
public AjaxResult buildStructure(@ApiParam("楼栋地址") String para, @ApiParam("单元") String unit) {
|
|
|
|
|
public AjaxResult buildStructure(
|
|
|
|
|
@ApiParam(value = "楼栋地址" ) @RequestParam String para,
|
|
|
|
|
@ApiParam(value = "单元") @RequestParam String unit) {
|
|
|
|
|
try {
|
|
|
|
|
//获取到房屋数据的实际地址
|
|
|
|
|
para = para.substring(0, para.indexOf("号"));
|
|
|
|
@ -470,7 +469,7 @@ public class BigScreenController extends BaseController {
|
|
|
|
|
|
|
|
|
|
@PostMapping("/buildInformation")
|
|
|
|
|
@ApiOperation("楼栋信息:户室信息")
|
|
|
|
|
public AjaxResult buildInformation(@ApiParam("楼栋地址") String para) {
|
|
|
|
|
public AjaxResult buildInformation(@ApiParam("楼栋地址") @RequestParam String para) {
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
|
|
QueryWrapper<MetaRealEstateInfo> addQueryWrapper = new QueryWrapper<>();
|
|
|
|
|