This commit is contained in:
PC 2026-01-26 17:09:06 +08:00
parent b0dd4e46f6
commit 4cfedafc8c
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ public interface OperationsFeignClient {
* @return 结果 * @return 结果
*/ */
@GetMapping("/ebikeBikeOrder/batterySwapOrder") @GetMapping("/ebikeBikeOrder/batterySwapOrder")
JsonResult<FeignEbikeUserBikeInfo> batterySwapOrder(@RequestParam("ecuSn") String ecuSn); JsonResult<FeignEbikeUserBikeInfo> batterySwapOrder(@RequestParam("ecuSn") String ecuSn,@RequestParam("acceptOrder")Boolean acceptOrder);
/** /**

View File

@ -73,7 +73,7 @@ public class ReoprtHandler {
ResGPSDto resGpsDto = objectMapper.convertValue(param, ResGPSDto.class); ResGPSDto resGpsDto = objectMapper.convertValue(param, ResGPSDto.class);
if (resGpsDto.getSoc() > 0 && resGpsDto.getSoc() < 20) { if (resGpsDto.getSoc() > 0 && resGpsDto.getSoc() < 20) {
//生成换电工单 //生成换电工单
operateFeignClient.batterySwapOrder(deviceId); operateFeignClient.batterySwapOrder(deviceId,Boolean.FALSE);
} }
resGpsDto.setEcuSn(deviceId); resGpsDto.setEcuSn(deviceId);
resGpsDto.setHelmetExit(helmet); resGpsDto.setHelmetExit(helmet);