From 75fcdd5077133f768d8e24c620bcdedd68f82c90 Mon Sep 17 00:00:00 2001 From: huangxh3 Date: Fri, 2 Feb 2024 08:36:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=96=E9=83=A8=E5=B7=AE=E6=97=85=E5=8D=95?= =?UTF-8?q?=E5=90=8C=E6=AD=A5dto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rest/ly/dto/applyordersync/AOSParam.java | 31 +++++++++++++++++++ .../ly/dto/applyordersync/ApplyOrderSync.java | 25 +++++---------- 2 files changed, 38 insertions(+), 18 deletions(-) create mode 100644 src/main/java/com/chint/interfaces/rest/ly/dto/applyordersync/AOSParam.java diff --git a/src/main/java/com/chint/interfaces/rest/ly/dto/applyordersync/AOSParam.java b/src/main/java/com/chint/interfaces/rest/ly/dto/applyordersync/AOSParam.java new file mode 100644 index 00000000..181809cd --- /dev/null +++ b/src/main/java/com/chint/interfaces/rest/ly/dto/applyordersync/AOSParam.java @@ -0,0 +1,31 @@ +package com.chint.interfaces.rest.ly.dto.applyordersync; + +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; + +/** + * 差旅内容 + */ +@Data +@AllArgsConstructor +@NoArgsConstructor +public class AOSParam { + private String outTravelApplyNo;//外部差旅单单号 + private Integer travelApplyType;//差旅类型 + private String travelApplyTime;//差旅单申请时间 + private String travelUpdateTime;//差旅单更新时间 + private Integer operationType;//操作类型 + private String outEnterpriseId;//外部企业id + private String outEmployeeId;//外部员工ID(申请人) + private String travelDescription;//差旅内容 + private String bookableProducts;//可预订产品 + private Integer status;//差旅单状态 + private double travelBudget;//差旅申请单预算 + private String travelRemark;//其他差旅 + private Integer carBookableQuantity;//可用车次数 + private Integer bookableQuantity;//机票&火车票可预订数量 + private Integer roomBookableQuantity;//酒店可预订间数 + private String travelPolicyCode;//差旅政策代码(差旅职级) + private String redirectUrl;//重定向地址 +} diff --git a/src/main/java/com/chint/interfaces/rest/ly/dto/applyordersync/ApplyOrderSync.java b/src/main/java/com/chint/interfaces/rest/ly/dto/applyordersync/ApplyOrderSync.java index 23b8ff41..cc9ccf9e 100644 --- a/src/main/java/com/chint/interfaces/rest/ly/dto/applyordersync/ApplyOrderSync.java +++ b/src/main/java/com/chint/interfaces/rest/ly/dto/applyordersync/ApplyOrderSync.java @@ -1,5 +1,6 @@ package com.chint.interfaces.rest.ly.dto.applyordersync; +import com.chint.interfaces.rest.ly.LYTokenRequest; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @@ -9,26 +10,14 @@ import java.util.List; @Data @NoArgsConstructor @AllArgsConstructor -public class ApplyOrderSync { - private String outTravelApplyNo;//外部差旅单单号 - private Integer travelApplyType;//差旅类型 - private String travelApplyTime;//差旅单申请时间 - private String travelUpdateTime;//差旅单更新时间 - private Integer operationType;//操作类型 - private String outEnterpriseId;//外部企业id - private String outEmployeeId;//外部员工ID(申请人) - private String travelDescription;//差旅内容 - private String bookableProducts;//可预订产品 - private Integer status;//差旅单状态 - private double travelBudget;//差旅申请单预算 - private String travelRemark;//其他差旅 - private Integer carBookableQuantity;//可用车次数 - private Integer bookableQuantity;//机票&火车票可预订数量 - private Integer roomBookableQuantity;//酒店可预订间数 - private String travelPolicyCode;//差旅政策代码(差旅职级) - private String redirectUrl;//重定向地址 +public class ApplyOrderSync extends LYTokenRequest { + private String accessToken;//令牌 + private Boolean isEncrypt;//是否加密 + private String random;//随机数 + private Data timestamp;//时间戳 + private AOSParam param; private AOSDetail detail;//详情 private List itemList;//差旅内容 private List personList;//差旅人信息(实际出行人)