From bcd1e9f279b3c42c26e1299dea4a43968d6d6b13 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期五, 03 三月 2023 10:41:30 +0800
Subject: [PATCH] 补签代码

---
 ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/CustomerParamDto.java    |   46 +++++++++++
 ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/CustomerResponseDto.java |   24 ++++++
 ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/LocaleParamOwnerDto.java |   14 +++
 ycl-platform/pom.xml                                                      |   89 ++++++++++++++++++++++
 ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/LocaleParamDto.java      |   26 ++++++
 ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/LocaleResponseDto.java   |   27 ++++++
 6 files changed, 225 insertions(+), 1 deletions(-)

diff --git a/ycl-platform/pom.xml b/ycl-platform/pom.xml
index 006145b..78d280f 100644
--- a/ycl-platform/pom.xml
+++ b/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>
diff --git a/ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/CustomerParamDto.java b/ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/CustomerParamDto.java
new file mode 100644
index 0000000..99097fe
--- /dev/null
+++ b/ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/CustomerParamDto.java
@@ -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;
+
+}
+
+
+
diff --git a/ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/CustomerResponseDto.java b/ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/CustomerResponseDto.java
new file mode 100644
index 0000000..cfef7d5
--- /dev/null
+++ b/ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/CustomerResponseDto.java
@@ -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;
+
+}
+
+
+
diff --git a/ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/LocaleParamDto.java b/ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/LocaleParamDto.java
new file mode 100644
index 0000000..b5c1eee
--- /dev/null
+++ b/ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/LocaleParamDto.java
@@ -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;
+}
+
+
+
diff --git a/ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/LocaleParamOwnerDto.java b/ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/LocaleParamOwnerDto.java
new file mode 100644
index 0000000..9dbe8a7
--- /dev/null
+++ b/ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/LocaleParamOwnerDto.java
@@ -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;
+}
+
+
+
diff --git a/ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/LocaleResponseDto.java b/ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/LocaleResponseDto.java
new file mode 100644
index 0000000..1f305ae
--- /dev/null
+++ b/ycl-smoke/src/main/java/com/ycl/smoke/remote/dto/LocaleResponseDto.java
@@ -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;
+
+}
+
+
+

--
Gitblit v1.8.0