|
@ -134,6 +134,20 @@ public class PatientEndpoint extends EnvelopRestEndpoint {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@PostMapping(value = "updLatLon")
|
|
|
@ApiOperation(value = "修改居民经纬度信息")
|
|
|
public Envelop updLatLon(@ApiParam(name = "latLon", value = "经纬度24.48923061,118.10388605")
|
|
|
@RequestParam(value = "latLon", required = true)String latLon,
|
|
|
@ApiParam(name = "patientId", value = "居民id")
|
|
|
@RequestParam(value = "patientId", required = true)String patientId)throws Exception{
|
|
|
try{
|
|
|
patientService.updLatLon(latLon, patientId);
|
|
|
return success("修改成功");
|
|
|
}catch (Exception e){
|
|
|
return failedException(e);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@PostMapping(value = "updPatient")
|
|
|
@ApiOperation(value = "修改居民信息")
|
|
|
public Envelop updPatient(@ApiParam(name = "jsonData", value = "json格式")
|