From 4def9962bb5984279e373c13022856420398737b Mon Sep 17 00:00:00 2001 From: chenglong <418351270@qq.com> Date: 星期二, 17 十二月 2024 14:21:43 +0800 Subject: [PATCH] 接口 --- billion-main/src/main/java/com/billion/main/api/domain/WorkOrdersInfoChild.java | 8 ++++++++ billion-main/src/main/java/com/billion/main/api/RestfulAPI.java | 3 ++- billion-main/src/main/java/com/billion/main/api/domain/WorkOrdersInfo.java | 13 +++++++++++++ 3 files changed, 23 insertions(+), 1 deletions(-) diff --git a/billion-main/src/main/java/com/billion/main/api/RestfulAPI.java b/billion-main/src/main/java/com/billion/main/api/RestfulAPI.java index 216cc01..6827be5 100644 --- a/billion-main/src/main/java/com/billion/main/api/RestfulAPI.java +++ b/billion-main/src/main/java/com/billion/main/api/RestfulAPI.java @@ -1,5 +1,6 @@ package com.billion.main.api; +import com.billion.main.api.domain.WorkOrdersInfo; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -11,7 +12,7 @@ * 2銆佷骇绾縈ES灏嗘帴鏀跺埌鐨勫伐鍗曚俊鎭瓨鍏ュ埌宸ュ崟琛ㄥ拰BOM琛� */ @PostMapping("/receiveWorkOrdersInfo") - public void receiveWorkOrdersInfo(@RequestBody Object object){ + public void receiveWorkOrdersInfo(@RequestBody WorkOrdersInfo param){ } } diff --git a/billion-main/src/main/java/com/billion/main/api/domain/WorkOrdersInfo.java b/billion-main/src/main/java/com/billion/main/api/domain/WorkOrdersInfo.java new file mode 100644 index 0000000..ce85b00 --- /dev/null +++ b/billion-main/src/main/java/com/billion/main/api/domain/WorkOrdersInfo.java @@ -0,0 +1,13 @@ +package com.billion.main.api.domain; + +import lombok.Data; + +import java.util.List; + +@Data +public class WorkOrdersInfo { + + + private List<WorkOrdersInfoChild> childList; + +} diff --git a/billion-main/src/main/java/com/billion/main/api/domain/WorkOrdersInfoChild.java b/billion-main/src/main/java/com/billion/main/api/domain/WorkOrdersInfoChild.java new file mode 100644 index 0000000..d8a47c8 --- /dev/null +++ b/billion-main/src/main/java/com/billion/main/api/domain/WorkOrdersInfoChild.java @@ -0,0 +1,8 @@ +package com.billion.main.api.domain; + +import lombok.Data; + +@Data +public class WorkOrdersInfoChild { + +} -- Gitblit v1.9.3