非必填
This commit is contained in:
parent
b1df896107
commit
f3e6002e17
|
@ -41,7 +41,7 @@ public class DeviceController {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@GetMapping(value = "/gasStation")
|
@GetMapping(value = "/gasStation")
|
||||||
public List<GasStationVO> queryGasStationList(@RequestParam Long blockId,
|
public List<GasStationVO> queryGasStationList(@RequestParam(required = false) Long blockId,
|
||||||
@RequestParam String gasStationName) {
|
@RequestParam String gasStationName) {
|
||||||
return this.deviceService.queryGasStationList(blockId, gasStationName);
|
return this.deviceService.queryGasStationList(blockId, gasStationName);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue