Compare commits

..

No commits in common. "2cfe1795046e8b71b9f042decbf369625d59a2ec" and "2e6608483b4328132d9133bee067cfffa0a9152f" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View File

@ -113,7 +113,6 @@ public class EbikeUserOrders implements Serializable {
/**
* 更新时间
*/
@Column(onUpdateValue = "now()")
private LocalDateTime updatedAt;
/**

View File

@ -164,7 +164,7 @@ public class UserOrdersServiceImpl extends ServiceImpl<UserOrdersMapper, EbikeUs
FeignEbikeRegionDto regionDto = regionResult.getData();
ResFeignEbikeSysRcostsetDto feignEbikeSysRcostsetDto = operateJsonResult.getData();
// costCalculation(feignEbikeSysRcostsetDto, resGpsDto, regionDto, userOrders);
costCalculation(feignEbikeSysRcostsetDto, resGpsDto, regionDto, userOrders);
userOrdersMapper.update(userOrders);
//关锁,并且等待结果
CompletableFuture<String> stringCompletableFuture = ebikeCoreHandler.executeCommand(ecuInfo, CmdCode.LOCK, Long.valueOf(bikeInfoDto.getBikeId()), userId);