diff --git a/jsowell-admin/pom.xml b/jsowell-admin/pom.xml
index b0ebfe083..33cac306e 100644
--- a/jsowell-admin/pom.xml
+++ b/jsowell-admin/pom.xml
@@ -78,6 +78,11 @@
spring-boot-starter-test
+
+ com.jsowell
+ jsowell-thirdparty
+
+
diff --git a/jsowell-admin/src/main/java/com/jsowell/lianlian/LianLianController.java b/jsowell-admin/src/main/java/com/jsowell/lianlian/LianLianController.java
new file mode 100644
index 000000000..0d2353940
--- /dev/null
+++ b/jsowell-admin/src/main/java/com/jsowell/lianlian/LianLianController.java
@@ -0,0 +1,79 @@
+package com.jsowell.lianlian;
+
+import com.alibaba.fastjson2.JSONObject;
+import com.jsowell.common.annotation.Anonymous;
+import com.jsowell.common.core.controller.BaseController;
+import com.jsowell.common.response.RestApiResponse;
+import com.jsowell.common.util.StringUtils;
+import com.jsowell.thirdparty.dto.QueryStationInfoDTO;
+import com.jsowell.thirdparty.service.LianLianService;
+import com.jsowell.thirdparty.vo.LianLianPageResponse;
+import org.apache.commons.collections4.CollectionUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+/**
+ * 对接联联平台controller
+ *
+ * @author JS-ZZA
+ * @date 2023/4/10 14:58
+ */
+@Anonymous
+@RestController
+@RequestMapping("/LianLian")
+public class LianLianController extends BaseController {
+
+ @Autowired
+ private LianLianService lianLianService;
+
+
+ /**
+ * 联联平台查询充电站信息
+ * http://localhost:8080/LianLian/query_stations_info
+ * @param dto
+ * @return
+ */
+ @PostMapping("/query_stations_info")
+ public RestApiResponse> query_stations_info(@RequestBody QueryStationInfoDTO dto) {
+ logger.info("联联平台查询充电站信息 params:{}", JSONObject.toJSONString(dto));
+ RestApiResponse> response = null;
+ try {
+ LianLianPageResponse pageResponse = lianLianService.query_stations_info(dto);
+ response = new RestApiResponse<>(pageResponse);
+ }catch (Exception e) {
+ logger.error("联联平台查询充电站信息 error", e);
+ response = new RestApiResponse<>(e);
+ }
+ logger.info("联联平台查询充电站信息 result:{}", response);
+ return response;
+ }
+
+ /**
+ * 查询充电站状态信息
+ * @param dto
+ * @return
+ */
+ @PostMapping("/query_station_status")
+ public RestApiResponse> query_station_status(@RequestBody ArrayList StationIDs) {
+ logger.info("联联平台查询充电站状态信息 params:{}", StationIDs);
+ RestApiResponse> response;
+ try {
+ if (CollectionUtils.isEmpty(StationIDs)) {
+ return null;
+ }
+ LianLianPageResponse pageResponse = lianLianService.query_station_status(StationIDs);
+ response = new RestApiResponse<>(pageResponse);
+ }catch (Exception e) {
+ logger.error("联联平台查询充电站状态信息 error", e);
+ response = new RestApiResponse<>(e);
+ }
+ logger.info("联联平台查询充电站状态信息 result:{}", response);
+ return response;
+ }
+}
diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/domain/PileBasicInfo.java b/jsowell-pile/src/main/java/com/jsowell/pile/domain/PileBasicInfo.java
index 111b48bb9..285285753 100644
--- a/jsowell-pile/src/main/java/com/jsowell/pile/domain/PileBasicInfo.java
+++ b/jsowell-pile/src/main/java/com/jsowell/pile/domain/PileBasicInfo.java
@@ -95,6 +95,8 @@ public class PileBasicInfo extends BaseEntity {
@Excel(name = "故障原因")
private String faultReason;
+ private Date createTime;
+
/**
* 删除标识(0-正常;1-删除)
*/
@@ -204,6 +206,19 @@ public class PileBasicInfo extends BaseEntity {
this.secretKey = secretKey;
}
+ public static long getSerialVersionUID() {
+ return serialVersionUID;
+ }
+
+ @Override
+ public Date getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Date createTime) {
+ this.createTime = createTime;
+ }
+
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
diff --git a/jsowell-pile/src/main/resources/mapper/pile/PileBasicInfoMapper.xml b/jsowell-pile/src/main/resources/mapper/pile/PileBasicInfoMapper.xml
index dea5d4ba4..60ca1419d 100644
--- a/jsowell-pile/src/main/resources/mapper/pile/PileBasicInfoMapper.xml
+++ b/jsowell-pile/src/main/resources/mapper/pile/PileBasicInfoMapper.xml
@@ -368,7 +368,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
t3.speed_type
-