From 0cfce01d343dd2340ccc5550a3ec67a5141497ff Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期三, 14 九月 2022 19:12:48 +0800 Subject: [PATCH] 创建下单修改 --- phis-feign/src/main/java/com/hz/his/dto/order/CreateOrderReturnDto.java | 24 ++++++++++++++++++++++++ phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipOrderService.java | 1 + phis-feign/src/main/java/com/hz/his/dto/order/CreateOrderReturnItemDto.java | 18 ++++++++++++++++++ 3 files changed, 43 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/dto/order/CreateOrderReturnDto.java b/phis-feign/src/main/java/com/hz/his/dto/order/CreateOrderReturnDto.java new file mode 100644 index 0000000..f5c42a2 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/dto/order/CreateOrderReturnDto.java @@ -0,0 +1,24 @@ +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; + + +} diff --git a/phis-feign/src/main/java/com/hz/his/dto/order/CreateOrderReturnItemDto.java b/phis-feign/src/main/java/com/hz/his/dto/order/CreateOrderReturnItemDto.java new file mode 100644 index 0000000..0d5a591 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/dto/order/CreateOrderReturnItemDto.java @@ -0,0 +1,18 @@ +package com.hz.his.dto.order; + +import lombok.Data; + + +/** + * 鍒涘缓璁㈠崟杩斿洖鐨勫疄浣� + * @author fwq + * */ +@Data +public class CreateOrderReturnItemDto { + /**鍟嗗搧鏍囪瘑/椤圭洰鏍囪瘑/鍏朵粬鏍囪瘑*/ + private String commonId; + /**phis鐨刬tem鏍囪瘑*/ + private String id; + /**鍟嗘埛骞冲彴item鏍囪瘑*/ + private String commonItemId; +} diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipOrderService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipOrderService.java index 4d566b6..7f4e2dc 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipOrderService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipOrderService.java @@ -54,6 +54,7 @@ /** * 寮�鏀惧钩鍙�-寮�鍗� + * 瀹炰綋杞寲鐢� CreateOrderReturnDto */ @PostMapping(value = "/order/add") Result orderAdd(@RequestBody OrderPHisDto dto); -- Gitblit v1.8.0