ebike-plus/ebike-user/src/main/java/com/cdzy/user/service/EbikeOrderTransactionService.java

32 lines
624 B
Java
Raw Normal View History

2025-10-15 17:38:13 +08:00
package com.cdzy.user.service;
2025-10-17 17:32:20 +08:00
import com.cdzy.user.model.entity.EbikeOrderTransaction;
2025-10-15 17:38:13 +08:00
import com.mybatisflex.core.service.IService;
/**
* 用户订单 服务层
*
2025-10-21 09:57:21 +08:00
* @author: yanglei
* @since: 2025-10-15 17:06
2025-10-15 17:38:13 +08:00
*/
2025-10-17 17:32:20 +08:00
public interface EbikeOrderTransactionService extends IService<EbikeOrderTransaction> {
2025-10-16 11:39:47 +08:00
2025-10-28 09:40:32 +08:00
/**
* 生成骑行订单
*
* @param orderDto 用户骑行信息
* @return 骑行订单
*/
2025-10-28 11:22:10 +08:00
// Long saveRide(EbikeUserCyclingDto orderDto);
2025-10-28 09:40:32 +08:00
2025-10-16 11:39:47 +08:00
/**
* 检查历史订单
*
* @param userId 用户id
*/
2025-10-17 17:32:20 +08:00
EbikeOrderTransaction checkHistoryOrder(Long userId);
2025-10-28 09:40:32 +08:00
2025-10-15 17:38:13 +08:00
}