|
@@ -1729,15 +1729,15 @@ public class PassengerApiController {
|
|
@PostMapping("passengerShiftRemindList")
|
|
@PostMapping("passengerShiftRemindList")
|
|
@ApiOperation(value = "乘客当前班次提醒列表")
|
|
@ApiOperation(value = "乘客当前班次提醒列表")
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
- @ApiImplicitParam(name = "shiftId", value = "班次id", paramType = "form"),
|
|
|
|
|
|
+ @ApiImplicitParam(name = "routeId", value = "线路id", paramType = "form"),
|
|
@ApiImplicitParam(name = "openId", value = "openId", paramType = "form")
|
|
@ApiImplicitParam(name = "openId", value = "openId", paramType = "form")
|
|
})
|
|
})
|
|
- public MessageResult<List<StationRemind>> passengerShiftRemindList(String shiftId, String openId) {
|
|
|
|
|
|
+ public MessageResult<List<StationRemind>> passengerShiftRemindList(String routeId, String openId) {
|
|
MessageResult<List<StationRemind>> messageResult = new MessageResult<>();
|
|
MessageResult<List<StationRemind>> messageResult = new MessageResult<>();
|
|
|
|
|
|
try {
|
|
try {
|
|
|
|
|
|
- List<StationRemind> stationRemindList = stationRemindService.findByOpenIdAndVehicleShiftId(openId, shiftId);
|
|
|
|
|
|
+ List<StationRemind> stationRemindList = stationRemindService.findByOpenIdAndRouteId(openId, routeId);
|
|
|
|
|
|
messageResult.setData(stationRemindList);
|
|
messageResult.setData(stationRemindList);
|
|
messageResult.setResult(true);
|
|
messageResult.setResult(true);
|