运营区车辆列表(仓库外
This commit is contained in:
parent
2e9311f615
commit
84b882fd46
@ -16,8 +16,10 @@ import org.springframework.web.bind.annotation.*;
|
||||
import java.util.List;
|
||||
|
||||
import static com.cdzy.ebikemaintenance.model.pojo.table.EbikeBikeInfoTableDef.EBIKE_BIKE_INFO;
|
||||
|
||||
/**
|
||||
* 运营车辆控制层
|
||||
*
|
||||
* @author attiya
|
||||
* @since 2025-03-21
|
||||
*/
|
||||
@ -33,6 +35,7 @@ public class EbikeOperationController {
|
||||
|
||||
/**
|
||||
* 运营车辆列表
|
||||
*
|
||||
* @return 运营车辆列表
|
||||
*/
|
||||
@GetMapping("page")
|
||||
@ -54,10 +57,11 @@ public class EbikeOperationController {
|
||||
|
||||
/**
|
||||
* 根据运营区id获取运营车辆状态及其位置信息列表
|
||||
*
|
||||
* @return 运营车辆列表
|
||||
*/
|
||||
@PostMapping("list")
|
||||
public JsonResult<?> list(@RequestBody ReqReginIdDto dto) {
|
||||
public JsonResult<?> list(@RequestBody ReqReginIdDto dto) {
|
||||
List<ResEbikeInfoRegionDto> list = bikeInfoService.getOperationalBikeListWithGpsByRegionId(dto.getOperationRegionIds());
|
||||
return JsonResult.success(list);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user