Commit 8a98ddce by 刘亚鑫

获取基站接口修改

parent d08da175
package com.founder.commonutils.peopleEntity;
import io.swagger.annotations.ApiParam;
import lombok.Data;
/**
* @autohor liuyx
* @date 2021年08月13日17:04
*/
@Data
public class JzFwSearchParams {
@ApiParam(name = "qsjd",value = "起始经度")
private String qsjd;
@ApiParam(name = "qswd",value = "起始纬度")
private String qswd;
@ApiParam(name = "jsjd",value = "结束经度")
private String jsjd;
@ApiParam(name = "jswd",value = "结束纬度")
private String jswd;
}
package com.founder.peopleapi.controller; package com.founder.peopleapi.controller;
import com.founder.commonutils.peopleEntity.JzFwSearchParams;
import com.founder.commonutils.peopleEntity.TbStRegionalstaskresult; import com.founder.commonutils.peopleEntity.TbStRegionalstaskresult;
import com.founder.commonutils.publicEntity.MapRestResult; import com.founder.commonutils.publicEntity.MapRestResult;
import com.founder.peopleapi.service.PhoneService; import com.founder.peopleapi.service.PhoneService;
...@@ -53,14 +54,11 @@ public class PhoneController { ...@@ -53,14 +54,11 @@ public class PhoneController {
@OperLog(message = "范围内基站点位数据接口",operation = OperationType.QUERY) @OperLog(message = "范围内基站点位数据接口",operation = OperationType.QUERY)
@ApiOperation(value = "范围内基站点位数据接口") @ApiOperation(value = "范围内基站点位数据接口")
@PostMapping("/selectJzXx") @PostMapping("/selectJzXx")
public MapRestResult selectJzXx(@ApiParam(name = "qsjd",value = "起始经度") public MapRestResult selectJzXx(@RequestBody JzFwSearchParams jzFwSearchParams) {
@RequestParam String qsjd, String qsjd=jzFwSearchParams.getQsjd();
@ApiParam(name = "qswd",value = "起始纬度") String qswd=jzFwSearchParams.getQswd();
@RequestParam String qswd, String jsjd=jzFwSearchParams.getJsjd();
@ApiParam(name = "jsjd",value = "结束经度") String jswd=jzFwSearchParams.getJswd();
@RequestParam String jsjd,
@ApiParam(name = "jswd",value = "结束纬度")
@RequestParam String jswd) {
return phoneService.selectJzXx(qsjd,qswd,jsjd,jswd); return phoneService.selectJzXx(qsjd,qswd,jsjd,jswd);
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment