Commit 4dd00d2f53a2df4dff504c90daad298674fc783c
1 parent
15d31749
订单service注释
Showing
1 changed file
with
35 additions
and
16 deletions
src/main/java/com/diligrp/xtrade/order/service/Orderservice.java
1 | -package com.diligrp.xtrade.order.service; | ||
2 | - | ||
3 | -import java.util.List; | ||
4 | - | ||
5 | -import com.diligrp.xtrade.order.domain.dto.OrderCreateRequestDto; | ||
6 | -import com.diligrp.xtrade.order.domain.dto.OrderQueryRequestDto; | ||
7 | -import com.diligrp.xtrade.order.domain.dto.OrderQueryResponseDto; | ||
8 | - | ||
9 | -public interface Orderservice { | ||
10 | - | ||
11 | - public void createOrder(OrderCreateRequestDto orderCreateRequestDto); | ||
12 | - | ||
13 | - public List<OrderQueryResponseDto> orderLists(OrderQueryRequestDto orderQueryRequestDto); | ||
14 | - | ||
15 | - public OrderQueryResponseDto orderDetail(OrderQueryRequestDto orderQueryRequestDto); | ||
16 | -} | 1 | +package com.diligrp.xtrade.order.service; |
2 | + | ||
3 | +import java.util.List; | ||
4 | + | ||
5 | +import com.diligrp.xtrade.order.domain.dto.OrderCreateRequestDto; | ||
6 | +import com.diligrp.xtrade.order.domain.dto.OrderQueryRequestDto; | ||
7 | +import com.diligrp.xtrade.order.domain.dto.OrderQueryResponseDto; | ||
8 | + | ||
9 | +/** | ||
10 | + * | ||
11 | + * @ClassName: Orderservice | ||
12 | + * @Description 订单业务相关操作接口实体 | ||
13 | + * @author zhangxing | ||
14 | + * @date 2020年4月21日 | ||
15 | + */ | ||
16 | +public interface Orderservice { | ||
17 | + | ||
18 | + /** | ||
19 | + * @Title createOrder | ||
20 | + * @Description 创建订单 | ||
21 | + */ | ||
22 | + void createOrder(OrderCreateRequestDto orderCreateRequestDto); | ||
23 | + | ||
24 | + /** | ||
25 | + * @Title orderLists | ||
26 | + * @Description 获取订单列表 | ||
27 | + */ | ||
28 | + List<OrderQueryResponseDto> orderLists(OrderQueryRequestDto orderQueryRequestDto); | ||
29 | + | ||
30 | + /** | ||
31 | + * @Title orderDetail | ||
32 | + * @Description 获取订单详情 | ||
33 | + */ | ||
34 | + OrderQueryResponseDto orderDetail(OrderQueryRequestDto orderQueryRequestDto); | ||
35 | +} |