diff --git a/xhpc-modules/xhpc-charging-station/pom.xml b/xhpc-modules/xhpc-charging-station/pom.xml
index 2d028a0c..9e845fa9 100644
--- a/xhpc-modules/xhpc-charging-station/pom.xml
+++ b/xhpc-modules/xhpc-charging-station/pom.xml
@@ -128,6 +128,13 @@
3.10.2
compile
+
+
+ org.apache.poi
+ poi-ooxml
+ 4.1.2
+
+
diff --git a/xhpc-modules/xhpc-charging-station/src/main/java/com/xhpc/charging/station/controller/XhpcDownCodeController.java b/xhpc-modules/xhpc-charging-station/src/main/java/com/xhpc/charging/station/controller/XhpcDownCodeController.java
new file mode 100644
index 00000000..a56f2af1
--- /dev/null
+++ b/xhpc-modules/xhpc-charging-station/src/main/java/com/xhpc/charging/station/controller/XhpcDownCodeController.java
@@ -0,0 +1,49 @@
+package com.xhpc.charging.station.controller;
+
+import com.xhpc.charging.station.service.IXhpcDownCodeService;
+import com.xhpc.common.core.web.controller.BaseController;
+import com.xhpc.common.core.web.page.TableDataInfo;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * program: ruoyi
+ * User: HongYun
+ * Date:2021-09-30 15
+ */
+@RestController
+@RequestMapping(value = "/code")
+public class XhpcDownCodeController extends BaseController {
+
+ @Autowired
+ private IXhpcDownCodeService iXhpcDownCodeService;
+
+ @GetMapping(value = "/listStations")
+ public TableDataInfo listStations(String stationName){
+
+ startPage();
+ return getDataTable(iXhpcDownCodeService.listStations(stationName));
+ }
+
+ @GetMapping(value = "/listPiles")
+ public TableDataInfo listPiles(@RequestParam Long stationId){
+
+ startPage();
+ return getDataTable(iXhpcDownCodeService.listPiles(stationId));
+ }
+
+ @GetMapping(value = "/downMaterialByPileId")
+ public void downMaterialBy(@RequestParam Long pileId) throws Exception {
+
+ iXhpcDownCodeService.downMaterialBy(pileId);
+ }
+
+ @GetMapping(value = "/downMaterialByStationId")
+ public void downMaterialByStationId(@RequestParam Long stationId) throws Exception{
+
+ iXhpcDownCodeService.downMaterialByStationId(stationId);
+ }
+}
diff --git a/xhpc-modules/xhpc-charging-station/src/main/java/com/xhpc/charging/station/mapper/XhpcDownCodeMapper.java b/xhpc-modules/xhpc-charging-station/src/main/java/com/xhpc/charging/station/mapper/XhpcDownCodeMapper.java
new file mode 100644
index 00000000..c00809a7
--- /dev/null
+++ b/xhpc-modules/xhpc-charging-station/src/main/java/com/xhpc/charging/station/mapper/XhpcDownCodeMapper.java
@@ -0,0 +1,26 @@
+package com.xhpc.charging.station.mapper;
+
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * program: ruoyi
+ * User: HongYun
+ * Date:2021-09-30 15
+ */
+public interface XhpcDownCodeMapper {
+
+ List