New file |
| | |
| | | package com.hz.his.dto.order; |
| | | |
| | | import com.hz.his.dto.PageDto; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | | * 创建订单返回的实体 |
| | | * @author fwq |
| | | * */ |
| | | @Data |
| | | public class CreateOrderReturnDto { |
| | | /**订单标识*/ |
| | | private String orderId; |
| | | /**订单号*/ |
| | | private String orderNo; |
| | | /**子单信息*/ |
| | | private List<CreateOrderReturnItemDto> itemDtoList; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.hz.his.dto.order; |
| | | |
| | | import lombok.Data; |
| | | |
| | | |
| | | /** |
| | | * 创建订单返回的实体 |
| | | * @author fwq |
| | | * */ |
| | | @Data |
| | | public class CreateOrderReturnItemDto { |
| | | /**商品标识/项目标识/其他标识*/ |
| | | private String commonId; |
| | | /**phis的item标识*/ |
| | | private String id; |
| | | /**商户平台item标识*/ |
| | | private String commonItemId; |
| | | } |
| | |
| | | |
| | | /** |
| | | * 开放平台-开单 |
| | | * 实体转化用 CreateOrderReturnDto |
| | | */ |
| | | @PostMapping(value = "/order/add") |
| | | Result orderAdd(@RequestBody OrderPHisDto dto); |