ycl-platform/pom.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/CustomerParamDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/CustomerResponseDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/LocaleParamDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/LocaleParamOwnerDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/LocaleResponseDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
ycl-platform/pom.xml
@@ -38,14 +38,101 @@ </dependency> </dependencies> <!-- <build>--> <!-- <finalName>ycl-platform</finalName>--> <!-- <plugins>--> <!-- <plugin>--> <!-- <groupId>org.springframework.boot</groupId>--> <!-- <artifactId>spring-boot-maven-plugin</artifactId>--> <!-- </plugin>--> <!-- </plugins>--> <!-- </build>--> <build> <finalName>ycl-platform</finalName> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <!-- 如果要把依赖一起打包,注释下面configuration --> <configuration> <layout>ZIP</layout> <includes> <!--将依赖剔除,只编译打包本项目--> <include> <groupId>nothing</groupId> <artifactId>nothing</artifactId> </include> </includes> </configuration> </plugin> <!-- 跳过Test测试打包 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <configuration> <outputDirectory>${project.build.directory}/lib</outputDirectory> </configuration> <!--执行package时自动将依赖复制出来到/lib中--> <executions> <execution> <phase>package</phase> <goals> <goal>copy-dependencies</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <annotationProcessorPaths> <path> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.20</version> </path> </annotationProcessorPaths> <annotationProcessors> <annotationProcessor> lombok.launch.AnnotationProcessorHider$AnnotationProcessor </annotationProcessor> </annotationProcessors> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.2.2</version> <configuration> <archive> <manifest> <addClasspath>true</addClasspath> <classpathPrefix>lib/</classpathPrefix> <!-- <mainClass>your.class</mainClass>--> </manifest> </archive> </configuration> </plugin> </plugins> </build> </project> ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/CustomerParamDto.java
New file @@ -0,0 +1,46 @@ package com.ycl.smoke.remote.dto; import cn.hutool.core.lang.Pid; import lombok.Builder; import lombok.Data; @Data @Builder public class CustomerParamDto { /** * 必填 起始位置 */ private Integer page; /** * 是 请求数量 */ private Integer perpage; /** * 是 1:系统用户2:经销单位3:行政单位4:餐饮单位 */ private Integer Typ; /** * 否 单位名称 */ private String Org; /** * 否 负责人 */ private String Name; /** * 否 联系电话 */ private String Mobile; /** * 否 上级单位 */ private String Pid; /** * 否 区域 */ private String AreaId; } ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/CustomerResponseDto.java
New file @@ -0,0 +1,24 @@ package com.ycl.smoke.remote.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.ycl.smoke.entity.OdsCustomer; import com.ycl.smoke.entity.OdsDetectorDaily; import lombok.Data; import lombok.NoArgsConstructor; import java.util.List; @Data @NoArgsConstructor public class CustomerResponseDto { @JsonProperty("content") private List<OdsCustomer> content; @JsonProperty("resultsPageInfo") private ResultsPageInfo resultsPageInfo; } ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/LocaleParamDto.java
New file @@ -0,0 +1,26 @@ package com.ycl.smoke.remote.dto; import lombok.Builder; import lombok.Data; @Data @Builder public class LocaleParamDto { /** * 起始位置 - 必填 */ private Integer StartAt; /** * 请求数量 - 必填 */ private Integer Size; /** * */ private LocaleParamOwnerDto Param; } ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/LocaleParamOwnerDto.java
New file @@ -0,0 +1,14 @@ package com.ycl.smoke.remote.dto; import lombok.Builder; import lombok.Data; @Data @Builder public class LocaleParamOwnerDto { private String id; private String owner; } ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/LocaleResponseDto.java
New file @@ -0,0 +1,27 @@ package com.ycl.smoke.remote.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.ycl.smoke.entity.OdsDetectorDaily; import com.ycl.smoke.entity.OdsLocale; import lombok.Data; import lombok.NoArgsConstructor; import java.util.List; @Data @NoArgsConstructor public class LocaleResponseDto { @JsonProperty("content") private List<OdsLocale> content; @JsonProperty("DeviceNum") private Integer deviceNum; @JsonProperty("total") private Integer total; }