33 lines
674 B
Java
33 lines
674 B
Java
package com.cdzy.user.service;
|
|
|
|
import com.cdzy.user.model.dto.EbikeUserCyclingDto;
|
|
import com.cdzy.user.model.entity.EbikeOrderTransaction;
|
|
import com.mybatisflex.core.service.IService;
|
|
|
|
/**
|
|
* 用户订单 服务层
|
|
*
|
|
* @author: yanglei
|
|
* @since: 2025-10-15 17:06
|
|
*/
|
|
|
|
public interface EbikeOrderTransactionService extends IService<EbikeOrderTransaction> {
|
|
|
|
/**
|
|
* 生成骑行订单
|
|
*
|
|
* @param orderDto 用户骑行信息
|
|
* @return 骑行订单
|
|
*/
|
|
Long saveRide(EbikeUserCyclingDto orderDto);
|
|
|
|
/**
|
|
* 检查历史订单
|
|
*
|
|
* @param userId 用户id
|
|
*/
|
|
EbikeOrderTransaction checkHistoryOrder(Long userId);
|
|
|
|
|
|
}
|