|
@@ -67,7 +67,7 @@ public class StationRemindApiController {
|
|
|
|
|
|
try {
|
|
|
StationRemind stationRemind = new StationRemind();
|
|
|
- stationRemind.setId(SnowflakeIdWorker.getInstance().nextId());
|
|
|
+ stationRemind.setId(UUID.randomUUID().toString());
|
|
|
stationRemind.setStartStationId(startStationId);
|
|
|
stationRemind.setRemindStationId(remindStationId);
|
|
|
stationRemind.setStopInAdvance(stopInAdvance);
|
|
@@ -116,7 +116,7 @@ public class StationRemindApiController {
|
|
|
@ApiImplicitParam(name = "vehicleShiftId", value = "车辆班次编号", paramType = "form", allowEmptyValue = true),
|
|
|
@ApiImplicitParam(name = "openId", value = "微信openId", paramType = "form")
|
|
|
})
|
|
|
- public MessageResult<StationRemind> update(Long remindId,String startStationId,String remindStationId,Integer stopInAdvance,
|
|
|
+ public MessageResult<StationRemind> update(String remindId,String startStationId,String remindStationId,Integer stopInAdvance,
|
|
|
Integer remindType,String vehicleShiftId,String openId){
|
|
|
MessageResult<StationRemind> msgResult = new MessageResult<>();
|
|
|
|
|
@@ -206,7 +206,7 @@ public class StationRemindApiController {
|
|
|
|
|
|
@ApiOperation(value="取消订阅")
|
|
|
@PostMapping("cancel")
|
|
|
- public MessageResult<Integer> cancel(Long id){
|
|
|
+ public MessageResult<Integer> cancel(String id){
|
|
|
MessageResult<Integer> msgResult = new MessageResult<>();
|
|
|
|
|
|
try {
|