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;//差旅人信息(实际出行人)