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;
import com.founder.commonutils.peopleEntity.JzFwSearchParams;
import com.founder.commonutils.peopleEntity.TbStRegionalstaskresult;
import com.founder.commonutils.publicEntity.MapRestResult;
import com.founder.peopleapi.service.PhoneService;
......@@ -53,14 +54,11 @@ public class PhoneController {
@OperLog(message = "范围内基站点位数据接口",operation = OperationType.QUERY)
@ApiOperation(value = "范围内基站点位数据接口")
@PostMapping("/selectJzXx")
public MapRestResult selectJzXx(@ApiParam(name = "qsjd",value = "起始经度")
@RequestParam String qsjd,
@ApiParam(name = "qswd",value = "起始纬度")
@RequestParam String qswd,
@ApiParam(name = "jsjd",value = "结束经度")
@RequestParam String jsjd,
@ApiParam(name = "jswd",value = "结束纬度")
@RequestParam String jswd) {
public MapRestResult selectJzXx(@RequestBody JzFwSearchParams jzFwSearchParams) {
String qsjd=jzFwSearchParams.getQsjd();
String qswd=jzFwSearchParams.getQswd();
String jsjd=jzFwSearchParams.getJsjd();
String jswd=jzFwSearchParams.getJswd();
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