diff --git a/xhpc-modules/xhpc-charging-station/src/main/resources/mapper/XhpcPileEditionMapper.xml b/xhpc-modules/xhpc-charging-station/src/main/resources/mapper/XhpcPileEditionMapper.xml
index 36e9b4a0..9388bd67 100644
--- a/xhpc-modules/xhpc-charging-station/src/main/resources/mapper/XhpcPileEditionMapper.xml
+++ b/xhpc-modules/xhpc-charging-station/src/main/resources/mapper/XhpcPileEditionMapper.xml
@@ -27,12 +27,8 @@
xpe.direct_number as directNumber,
xpe.communication_number as communicationNumber,
xpe.status as status,
-
- (SELECT concat(replace(group_concat(name),',','号桩,'),'号桩') FROM xhpc_charging_pile where find_in_set(charging_pile_id,#{chargingPileIds})) as chargingPileName
-
-
- concat('--') as chargingPileName
-
+ (SELECT concat(replace(group_concat(name),',','号桩,'),'号桩') FROM xhpc_charging_pile where find_in_set(charging_pile_id,xpe.charging_pile_ids)) as chargingPileName
+
from xhpc_pile_edition as xpe
left join xhpc_charging_station xcs on xpe.charging_station_id = xcs.charging_station_id
where xpe.del_flag=0
diff --git a/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/controller/XhpcPileRegularInspectController.java b/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/controller/XhpcPileRegularInspectController.java
new file mode 100644
index 00000000..86b43b09
--- /dev/null
+++ b/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/controller/XhpcPileRegularInspectController.java
@@ -0,0 +1,40 @@
+package com.xhpc.order.controller;
+
+import com.xhpc.common.core.web.controller.BaseController;
+import com.xhpc.common.core.web.domain.AjaxResult;
+import com.xhpc.order.domain.XhpcPileRegularInspect;
+import com.xhpc.order.service.IXhpcPileRegularInspectService;
+import io.swagger.annotations.Api;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.annotation.Resource;
+
+@RestController
+@RequestMapping("/pileRegularInspect")
+@Api(value = "桩定期检查接口", tags = "桩定期检查接口")
+public class XhpcPileRegularInspectController extends BaseController {
+ @Resource
+ IXhpcPileRegularInspectService xhpcPileRegularInspectService;
+
+ /**
+ * 查询桩定期检查接口
+ * @return
+ */
+ @GetMapping("/getMessage")
+ public AjaxResult getMessage()
+ {
+ return xhpcPileRegularInspectService.getPileRegularInspectTenantId();
+ }
+
+
+ @PostMapping("/addPileRegularInspect")
+ public AjaxResult addPileRegularInspect(XhpcPileRegularInspect xhpcPileRegularInspect)
+ {
+ return xhpcPileRegularInspectService.addPileRegularInspect(xhpcPileRegularInspect);
+ }
+
+
+}
diff --git a/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/controller/XhpcStatisticsController.java b/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/controller/XhpcStatisticsController.java
index ef3e43e8..65fb3a45 100644
--- a/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/controller/XhpcStatisticsController.java
+++ b/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/controller/XhpcStatisticsController.java
@@ -406,4 +406,15 @@ public class XhpcStatisticsController extends BaseController {
}
+ //-----------------------------------------运维统计------------------------------------------------------------
+
+
+ /**
+ * 空订单统计
+ */
+ @GetMapping("/getEmptyOrder")
+ public AjaxResult getEmptyOrder(Long chargingStationId,@RequestParam(value = "startTime")String startTime,@RequestParam(value = "endTime")String endTime)
+ {
+ return AjaxResult.success(xhpcStatisticsService.getEmptyOrder(chargingStationId,startTime,endTime));
+ }
}
diff --git a/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/controller/XhpcStopChargingOrderController.java b/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/controller/XhpcStopChargingOrderController.java
index de317551..ffb8c28f 100644
--- a/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/controller/XhpcStopChargingOrderController.java
+++ b/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/controller/XhpcStopChargingOrderController.java
@@ -6,11 +6,9 @@ import com.xhpc.common.core.web.controller.BaseController;
import com.xhpc.common.core.web.domain.AjaxResult;
import com.xhpc.common.core.web.page.TableDataInfo;
import com.xhpc.common.redis.service.RedisService;
-import com.xhpc.order.api.XhpcChargeOrderController;
import com.xhpc.order.service.IXhpcChargeOrderService;
import com.xhpc.order.service.IXhpcStopChargingOrderService;
import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
diff --git a/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/domain/XhpcPileRegularInspect.java b/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/domain/XhpcPileRegularInspect.java
new file mode 100644
index 00000000..c0540cfe
--- /dev/null
+++ b/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/domain/XhpcPileRegularInspect.java
@@ -0,0 +1,46 @@
+package com.xhpc.order.domain;
+
+
+import com.xhpc.common.core.web.domain.BaseEntity;
+import lombok.Data;
+
+/**
+ * 桩定期检查
+ *
+ * @author yuyang
+ * @date 2021/8/4 9:41
+ */
+@Data
+public class XhpcPileRegularInspect extends BaseEntity {
+
+ private Long pileRegularInspectId;
+
+ /**
+ * 版本号检查时间
+ */
+ private String versionNumberTime;
+
+ /**
+ * 校时校价时间
+ */
+ private String timingPriceTime;
+
+ /**
+ * 费率时间
+ */
+ private String rateTime;
+
+ /**
+ * 定期抄发给管理员时间
+ */
+ private String copyingAdministratorTime;
+
+ /**
+ * 租户id
+ */
+ private String tenantId;
+
+ private Integer delFlag;
+
+ private Integer status;
+}
diff --git a/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/mapper/XhpcPileRegularInspectMapper.java b/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/mapper/XhpcPileRegularInspectMapper.java
new file mode 100644
index 00000000..7d1a4f87
--- /dev/null
+++ b/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/mapper/XhpcPileRegularInspectMapper.java
@@ -0,0 +1,15 @@
+package com.xhpc.order.mapper;
+
+import com.xhpc.order.domain.XhpcPileRegularInspect;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.Map;
+
+public interface XhpcPileRegularInspectMapper {
+
+ Map getPileRegularInspectTenantId(@Param("tenantId")String tenantId);
+
+ int addPileRegularInspect(XhpcPileRegularInspect xhpcPileRegularInspect);
+
+ int updatePileRegularInspect(XhpcPileRegularInspect xhpcPileRegularInspect);
+}
diff --git a/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/mapper/XhpcStatisticsServiceMapper.java b/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/mapper/XhpcStatisticsServiceMapper.java
index e70cb1fe..667f8066 100644
--- a/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/mapper/XhpcStatisticsServiceMapper.java
+++ b/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/mapper/XhpcStatisticsServiceMapper.java
@@ -216,5 +216,10 @@ public interface XhpcStatisticsServiceMapper {
int getDateOrderCountNUmber(@Param("type") Integer type,@Param("status") Integer status,@Param("logOperatorId")Long logOperatorId,@Param("operatorId")Long operatorId,@Param("chargingStationId")Long chargingStationId,@Param("chargingPileId")Long chargingPileId,@Param("tenantId")String tenantId,@Param("beginOfDay")String beginOfDay,@Param("endOfDay")String endOfDay);
+ List