From f907e31b2d4423daba7b4a09e64a38455ec40914 Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期四, 28 八月 2025 19:21:44 +0800 Subject: [PATCH] 异常信息上报接口优化 --- rsf-server/src/main/java/com/vincent/rsf/server/api/controller/erp/params/SyncOrderParams.java | 22 +++++++++++++++++++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/erp/params/SyncOrderParams.java b/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/erp/params/SyncOrderParams.java index 1ded2e0..1b352a2 100644 --- a/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/erp/params/SyncOrderParams.java +++ b/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/erp/params/SyncOrderParams.java @@ -1,11 +1,14 @@ package com.vincent.rsf.server.api.controller.erp.params; +import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.experimental.Accessors; +import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; +import java.util.Date; import java.util.List; @Data @@ -15,9 +18,22 @@ private static final long serialVersionUID = 1L; - @ApiModelProperty("鍗曟嵁绫诲瀷{in: 鏀惰揣鍏ュ簱鍗曪紝 out锛氬嚭搴撳崟锛宑heck: 鐩樼偣鍗�, }") - private String type; + @ApiModelProperty("涓氬姟绫诲瀷") + private String wkType; + + @ApiModelProperty("鍗曞彿") + private String orderNo; + + @ApiModelProperty("璁㈠崟ID") + private Long orderId; + + @ApiModelProperty("鏁伴噺") + private Double anfme; + + @DateTimeFormat(pattern = "yyyy-MM-dd HH:ss:mm") + @JsonFormat(pattern = "yyyy-MM-dd HH:ss:mm") + private Date arrTime; @ApiModelProperty("鍗曟嵁鏄庣粏淇℃伅") - private List<SyncOrdersItem> items; + private List<SyncOrdersItem> ordersItems; } -- Gitblit v1.9.1