allen 2 yıl önce
ebeveyn
işleme
050e1b28ee
24 değiştirilmiş dosya ile 630 ekleme ve 91 silme
  1. 48 1
      kgraph-admin/src/main/java/com/kgraph/web/controller/BreakdownController.java
  2. 2 2
      kgraph-admin/src/main/java/com/kgraph/web/domain/AirModelInfo.java
  3. 27 0
      kgraph-admin/src/main/java/com/kgraph/web/domain/AirPartInfo.java
  4. 28 1
      kgraph-admin/src/main/java/com/kgraph/web/domain/AirPartStatusInfo.java
  5. 27 0
      kgraph-admin/src/main/java/com/kgraph/web/domain/AirSubsystemInfo.java
  6. 27 0
      kgraph-admin/src/main/java/com/kgraph/web/domain/AirSubsystemStatusInfo.java
  7. 27 0
      kgraph-admin/src/main/java/com/kgraph/web/domain/AirSystemInfo.java
  8. 27 0
      kgraph-admin/src/main/java/com/kgraph/web/domain/AirSystemStatusInfo.java
  9. 15 0
      kgraph-admin/src/main/java/com/kgraph/web/domain/Breakdown.java
  10. 42 2
      kgraph-admin/src/main/java/com/kgraph/web/mapper/BreakdownMapper.java
  11. 44 4
      kgraph-admin/src/main/java/com/kgraph/web/service/IBreakdownService.java
  12. 61 9
      kgraph-admin/src/main/java/com/kgraph/web/service/impl/BreakdownServiceImpl.java
  13. 1 0
      kgraph-admin/src/main/resources/mapper/ledger/AirModelInfoMapper.xml
  14. 11 1
      kgraph-admin/src/main/resources/mapper/ledger/AirPartInfoMapper.xml
  15. 12 1
      kgraph-admin/src/main/resources/mapper/ledger/AirPartStatusInfoMapper.xml
  16. 11 1
      kgraph-admin/src/main/resources/mapper/ledger/AirSubsystemInfoMapper.xml
  17. 12 1
      kgraph-admin/src/main/resources/mapper/ledger/AirSubsystemStatusInfoMapper.xml
  18. 12 1
      kgraph-admin/src/main/resources/mapper/ledger/AirSystemInfoMapper.xml
  19. 12 1
      kgraph-admin/src/main/resources/mapper/ledger/AirSystemStatusInfoMapper.xml
  20. 91 1
      kgraph-admin/src/main/resources/mapper/showInfo/BreakdownMapper.xml
  21. 2 0
      kgraph-graph/src/main/java/com/kgraph/graph/neo4j/VO/RelationVO.java
  22. 1 1
      kgraph-graph/src/main/java/com/kgraph/graph/neo4j/uitils/Neo4j2VOUtils.java
  23. 27 21
      sql/system.sql
  24. 63 43
      sql/update20030417.sql

+ 48 - 1
kgraph-admin/src/main/java/com/kgraph/web/controller/BreakdownController.java

@@ -26,7 +26,7 @@ import org.springframework.web.multipart.MultipartFile;;
  * 故障信息Controller
  * 
  * @author Allen
- * @date 2023-04-16
+ * @date 2023-04-17
  */
 @RestController
 @RequestMapping("/showInfo/breakdown")
@@ -121,21 +121,68 @@ public class BreakdownController extends BaseController
         return AjaxResult.success(message);
     }
 
+    /**
+     * 获取每月故障数
+     */
     @GetMapping(value = "/getBreakDownCountByMonth")
     public AjaxResult getBreakDownCountByMonth()
     {
         return success(breakdownService.getBreakDownCountByMonth());
     }
 
+    /**
+     * 根据月份获取飞机型号故障数
+     * @param date 年-月
+     */
     @GetMapping(value = "/getAirplaneModelCountByMonth/{date}")
     public AjaxResult getAirplaneModelCountByMonth(@PathVariable String date)
     {
         return success(breakdownService.getAirplaneModelCountByMonth(date));
     }
 
+    /**
+     * 根据月份获取专业故障数
+     * @param date 年-月
+     */
     @GetMapping(value = "/getMajorCountByMonth/{date}")
     public AjaxResult getMajorCountByMonth(@PathVariable String date)
     {
         return success(breakdownService.getMajorCountByMonth(date));
     }
+
+    /**
+     * 获取所有飞机状态
+     */
+    @GetMapping(value = "/getAircraftStatus")
+    public TableDataInfo getAircraftStatus(Breakdown breakdown){
+        startPage();
+        List list = breakdownService.getAircraftStatus(breakdown.getAirNumber());
+        return getDataTable(list);
+    }
+
+    /**
+     * 获取本月飞机状态
+     */
+    @GetMapping(value = "/getAircraftStatusCurrentMonth")
+    public AjaxResult getAircraftStatusCurrentMonth(){
+        return success(breakdownService.getAircraftStatusCurrentMonth());
+    }
+
+    /**
+     * 获取飞机故障状态详细信息
+     */
+    @GetMapping(value = "/getBreakdownInfoByAirNumber/{airNumber}")
+    public AjaxResult getBreakdownInfoByAirNumber(@PathVariable String airNumber){
+        return success(breakdownService.getBreakdownInfoByAirNumber(airNumber));
+    }
+
+    /**
+     * 获取飞机故障状态详细信息
+     */
+    @GetMapping(value = "/getBreakdownSchedule")
+    public TableDataInfo getBreakdownSchedule(Breakdown breakdown){
+//        startPage();
+        List<Breakdown> list = breakdownService.getBreakdownSchedule();
+        return getDataTable(list);
+    }
 }

+ 2 - 2
kgraph-admin/src/main/java/com/kgraph/web/domain/AirModelInfo.java

@@ -20,8 +20,8 @@ public class AirModelInfo extends BaseEntity
     /** 序号 */
     private Long id;
 
-    /** 机号 */
-    @Excel(name = "机号")
+    /** 机号 */
+    @Excel(name = "机号")
     private String airNumber;
 
     /** 型号id */

+ 27 - 0
kgraph-admin/src/main/java/com/kgraph/web/domain/AirPartInfo.java

@@ -28,6 +28,13 @@ public class AirPartInfo extends BaseEntity
     @Excel(name = "型号")
     private String modelNumber;
 
+    /** 机号id */
+    private Long airModelId;
+
+    /** 机号 */
+    @Excel(name = "机号")
+    private String airNumber;
+
     /** 编号 */
     @Excel(name = "编号")
     private String serial;
@@ -72,6 +79,24 @@ public class AirPartInfo extends BaseEntity
     {
         return modelNumber;
     }
+    public void setAirModelId(Long airModelId) 
+    {
+        this.airModelId = airModelId;
+    }
+
+    public Long getAirModelId() 
+    {
+        return airModelId;
+    }
+    public void setAirNumber(String airNumber) 
+    {
+        this.airNumber = airNumber;
+    }
+
+    public String getAirNumber() 
+    {
+        return airNumber;
+    }
     public void setSerial(String serial) 
     {
         this.serial = serial;
@@ -115,6 +140,8 @@ public class AirPartInfo extends BaseEntity
             .append("id", getId())
             .append("modelComponentId", getModelComponentId())
             .append("modelNumber", getModelNumber())
+            .append("airModelId", getAirModelId())
+            .append("airNumber", getAirNumber())
             .append("serial", getSerial())
             .append("productionDate", getProductionDate())
             .append("manufacturerInfo", getManufacturerInfo())

+ 28 - 1
kgraph-admin/src/main/java/com/kgraph/web/domain/AirPartStatusInfo.java

@@ -11,7 +11,7 @@ import com.kgraph.common.core.domain.BaseEntity;;
  * 部件履历对象 t_air_part_status_info
  * 
  * @author Allen
- * @date 2023-04-16
+ * @date 2023-04-19
  */
 public class AirPartStatusInfo extends BaseEntity
 {
@@ -23,6 +23,13 @@ public class AirPartStatusInfo extends BaseEntity
     /** 部件id */
     private Long airPartId;
 
+    /** 机号id */
+    private Long airModelId;
+
+    /** 机号 */
+    @Excel(name = "机号")
+    private String airNumber;
+
     /** 型号 */
     @Excel(name = "型号")
     private String modelNumber;
@@ -72,6 +79,24 @@ public class AirPartStatusInfo extends BaseEntity
     {
         return airPartId;
     }
+    public void setAirModelId(Long airModelId) 
+    {
+        this.airModelId = airModelId;
+    }
+
+    public Long getAirModelId() 
+    {
+        return airModelId;
+    }
+    public void setAirNumber(String airNumber) 
+    {
+        this.airNumber = airNumber;
+    }
+
+    public String getAirNumber() 
+    {
+        return airNumber;
+    }
     public void setModelNumber(String modelNumber) 
     {
         this.modelNumber = modelNumber;
@@ -141,6 +166,8 @@ public class AirPartStatusInfo extends BaseEntity
         return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
             .append("id", getId())
             .append("airPartId", getAirPartId())
+            .append("airModelId", getAirModelId())
+            .append("airNumber", getAirNumber())
             .append("modelNumber", getModelNumber())
             .append("serial", getSerial())
             .append("productionDate", getProductionDate())

+ 27 - 0
kgraph-admin/src/main/java/com/kgraph/web/domain/AirSubsystemInfo.java

@@ -28,6 +28,13 @@ public class AirSubsystemInfo extends BaseEntity
     @Excel(name = "型号")
     private String modelNumber;
 
+    /** 机号id */
+    private Long airModelId;
+
+    /** 机号 */
+    @Excel(name = "机号")
+    private String airNumber;
+
     /** 编号 */
     @Excel(name = "编号")
     private String serial;
@@ -72,6 +79,24 @@ public class AirSubsystemInfo extends BaseEntity
     {
         return modelNumber;
     }
+    public void setAirModelId(Long airModelId) 
+    {
+        this.airModelId = airModelId;
+    }
+
+    public Long getAirModelId() 
+    {
+        return airModelId;
+    }
+    public void setAirNumber(String airNumber) 
+    {
+        this.airNumber = airNumber;
+    }
+
+    public String getAirNumber() 
+    {
+        return airNumber;
+    }
     public void setSerial(String serial) 
     {
         this.serial = serial;
@@ -115,6 +140,8 @@ public class AirSubsystemInfo extends BaseEntity
             .append("id", getId())
             .append("modelComponentId", getModelComponentId())
             .append("modelNumber", getModelNumber())
+            .append("airModelId", getAirModelId())
+            .append("airNumber", getAirNumber())
             .append("serial", getSerial())
             .append("productionDate", getProductionDate())
             .append("manufacturerInfo", getManufacturerInfo())

+ 27 - 0
kgraph-admin/src/main/java/com/kgraph/web/domain/AirSubsystemStatusInfo.java

@@ -23,6 +23,13 @@ public class AirSubsystemStatusInfo extends BaseEntity
     /** 子系统id */
     private Long airSubsystemId;
 
+    /** 机号id */
+    private Long airModelId;
+
+    /** 机号 */
+    @Excel(name = "机号")
+    private String airNumber;
+
     /** 型号 */
     @Excel(name = "型号")
     private String modelNumber;
@@ -72,6 +79,24 @@ public class AirSubsystemStatusInfo extends BaseEntity
     {
         return airSubsystemId;
     }
+    public void setAirModelId(Long airModelId) 
+    {
+        this.airModelId = airModelId;
+    }
+
+    public Long getAirModelId() 
+    {
+        return airModelId;
+    }
+    public void setAirNumber(String airNumber) 
+    {
+        this.airNumber = airNumber;
+    }
+
+    public String getAirNumber() 
+    {
+        return airNumber;
+    }
     public void setModelNumber(String modelNumber) 
     {
         this.modelNumber = modelNumber;
@@ -141,6 +166,8 @@ public class AirSubsystemStatusInfo extends BaseEntity
         return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
             .append("id", getId())
             .append("airSubsystemId", getAirSubsystemId())
+            .append("airModelId", getAirModelId())
+            .append("airNumber", getAirNumber())
             .append("modelNumber", getModelNumber())
             .append("serial", getSerial())
             .append("productionDate", getProductionDate())

+ 27 - 0
kgraph-admin/src/main/java/com/kgraph/web/domain/AirSystemInfo.java

@@ -27,6 +27,13 @@ public class AirSystemInfo extends BaseEntity
     @Excel(name = "型号")
     private String modelNumber;
 
+    /** 机号id */
+    private Long airModelId;
+
+    /** 机号 */
+    @Excel(name = "机号")
+    private String airNumber;
+
     /** 编号 */
     @Excel(name = "编号")
     private String serial;
@@ -71,6 +78,24 @@ public class AirSystemInfo extends BaseEntity
     {
         return modelNumber;
     }
+    public void setAirModelId(Long airModelId) 
+    {
+        this.airModelId = airModelId;
+    }
+
+    public Long getAirModelId() 
+    {
+        return airModelId;
+    }
+    public void setAirNumber(String airNumber) 
+    {
+        this.airNumber = airNumber;
+    }
+
+    public String getAirNumber() 
+    {
+        return airNumber;
+    }
     public void setSerial(String serial) 
     {
         this.serial = serial;
@@ -114,6 +139,8 @@ public class AirSystemInfo extends BaseEntity
             .append("id", getId())
             .append("modelComponentId", getModelComponentId())
             .append("modelNumber", getModelNumber())
+            .append("airModelId", getAirModelId())
+            .append("airNumber", getAirNumber())
             .append("serial", getSerial())
             .append("productionDate", getProductionDate())
             .append("manufacturerInfo", getManufacturerInfo())

+ 27 - 0
kgraph-admin/src/main/java/com/kgraph/web/domain/AirSystemStatusInfo.java

@@ -27,6 +27,13 @@ public class AirSystemStatusInfo extends BaseEntity
     @Excel(name = "型号")
     private String modelNumber;
 
+    /** 机号id */
+    private Long airModelId;
+
+    /** 机号 */
+    @Excel(name = "机号")
+    private String airNumber;
+
     /** 编号 */
     @Excel(name = "编号")
     private String serial;
@@ -81,6 +88,24 @@ public class AirSystemStatusInfo extends BaseEntity
     {
         return modelNumber;
     }
+    public void setAirModelId(Long airModelId) 
+    {
+        this.airModelId = airModelId;
+    }
+
+    public Long getAirModelId() 
+    {
+        return airModelId;
+    }
+    public void setAirNumber(String airNumber) 
+    {
+        this.airNumber = airNumber;
+    }
+
+    public String getAirNumber() 
+    {
+        return airNumber;
+    }
     public void setSerial(String serial) 
     {
         this.serial = serial;
@@ -142,6 +167,8 @@ public class AirSystemStatusInfo extends BaseEntity
             .append("id", getId())
             .append("airSystemId", getAirSystemId())
             .append("modelNumber", getModelNumber())
+            .append("airModelId", getAirModelId())
+            .append("airNumber", getAirNumber())
             .append("serial", getSerial())
             .append("productionDate", getProductionDate())
             .append("version", getVersion())

+ 15 - 0
kgraph-admin/src/main/java/com/kgraph/web/domain/Breakdown.java

@@ -101,6 +101,11 @@ public class Breakdown extends BaseEntity
     @Excel(name = "排除方法")
     private String method;
 
+    /** 修复日期 */
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "修复日期", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date repairedDate;
+
     public void setId(Long id) 
     {
         this.id = id;
@@ -290,6 +295,15 @@ public class Breakdown extends BaseEntity
     {
         return method;
     }
+    public void setRepairedDate(Date repairedDate) 
+    {
+        this.repairedDate = repairedDate;
+    }
+
+    public Date getRepairedDate() 
+    {
+        return repairedDate;
+    }
 
     @Override
     public String toString() {
@@ -315,6 +329,7 @@ public class Breakdown extends BaseEntity
             .append("replaceUnitType", getReplaceUnitType())
             .append("replaceUnitNumber", getReplaceUnitNumber())
             .append("method", getMethod())
+            .append("repairedDate", getRepairedDate())
             .append("createBy", getCreateBy())
             .append("createTime", getCreateTime())
             .append("updateBy", getUpdateBy())

+ 42 - 2
kgraph-admin/src/main/java/com/kgraph/web/mapper/BreakdownMapper.java

@@ -7,7 +7,7 @@ import com.kgraph.web.domain.Breakdown;
  * 故障信息Mapper接口
  * 
  * @author Allen
- * @date 2023-04-16
+ * @date 2023-04-17
  */
 public interface BreakdownMapper 
 {
@@ -57,9 +57,49 @@ public interface BreakdownMapper
      * @param ids 需要删除的数据主键集合
      * @return 结果
      */
-
     public int deleteBreakdownByIds(Long[] ids);
+
+    /**
+     * 获取每月故障数
+     * @return
+     */
     public List getBreakDownCountByMonth();
+
+    /**
+     * 根据月份获取飞机型号故障数
+     * @param date 年-月
+     * @return
+     */
     public List getAirplaneModelCountByMonth(String date);
+
+    /**
+     * 根据月份获取专业故障数
+     * @param date 年-月
+     * @return
+     */
     public List getMajorCountByMonth(String date);
+
+    /**
+     * 获取所有飞机状态
+     * @return
+     */
+    public List getAircraftStatus(String airNumber);
+
+    /**
+     * 获取本月飞机状态
+     * @return
+     */
+    public List getAircraftStatusCurrentMonth();
+
+    /**
+     * 获取飞机故障状态详细信息
+     * @param airNumber
+     * @return
+     */
+    public List getBreakdownInfoByAirNumber(String airNumber);
+
+    /**
+     * 获取未修理完成数据
+     */
+    public List<Breakdown> getBreakdownSchedule();
 }

+ 44 - 4
kgraph-admin/src/main/java/com/kgraph/web/service/IBreakdownService.java

@@ -7,7 +7,7 @@ import com.kgraph.web.domain.Breakdown;
  * 故障信息Service接口
  * 
  * @author Allen
- * @date 2023-04-16
+ * @date 2023-04-17
  */
 public interface IBreakdownService 
 {
@@ -61,7 +61,47 @@ public interface IBreakdownService
 
     String excelImport(List<Breakdown> breakdownList);
 
-    List getBreakDownCountByMonth();
-    List getAirplaneModelCountByMonth(String date);
-    List getMajorCountByMonth(String date);
+    /**
+     * 获取每月故障数
+     * @return
+     */
+    public List getBreakDownCountByMonth();
+
+    /**
+     * 根据月份获取飞机型号故障数
+     * @param date 年-月
+     * @return
+     */
+    public List getAirplaneModelCountByMonth(String date);
+
+    /**
+     * 根据月份获取专业故障数
+     * @param date 年-月
+     * @return
+     */
+    public List getMajorCountByMonth(String date);
+
+    /**
+     * 获取所有飞机状态
+     * @return
+     */
+    public List getAircraftStatus(String airNumber);
+
+    /**
+     * 获取本月飞机状态
+     * @return
+     */
+    public Object getAircraftStatusCurrentMonth();
+
+    /**
+     * 获取飞机故障状态详细信息
+     * @param airNumber
+     * @return
+     */
+    public Object getBreakdownInfoByAirNumber(String airNumber);
+
+    /**
+     * 获取未修理完成数据
+     */
+    public List<Breakdown> getBreakdownSchedule();
 }

+ 61 - 9
kgraph-admin/src/main/java/com/kgraph/web/service/impl/BreakdownServiceImpl.java

@@ -1,18 +1,21 @@
 package com.kgraph.web.service.impl;
 
-import java.util.List;
-import com.kgraph.common.utils.DateUtils;;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-import com.kgraph.web.mapper.BreakdownMapper;
+import com.kgraph.common.utils.DateUtils;
 import com.kgraph.web.domain.Breakdown;
+import com.kgraph.web.mapper.BreakdownMapper;
 import com.kgraph.web.service.IBreakdownService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+;
 
 /**
  * 故障信息Service业务层处理
  * 
  * @author Allen
- * @date 2023-04-16
+ * @date 2023-04-17
  */
 @Service
 public class BreakdownServiceImpl implements IBreakdownService 
@@ -106,19 +109,68 @@ public class BreakdownServiceImpl implements IBreakdownService
         return "上传成功";
     }
 
+    /**
+     * 获取每月故障数
+     * @return
+     */
     @Override
-    public List getBreakDownCountByMonth() {
+    public List getBreakDownCountByMonth(){
         return breakdownMapper.getBreakDownCountByMonth();
     }
 
+    /**
+     * 根据月份获取飞机型号故障数
+     * @param date 年-月
+     * @return
+     */
     @Override
-    public List getAirplaneModelCountByMonth(String date) {
+    public List getAirplaneModelCountByMonth(String date){
         return breakdownMapper.getAirplaneModelCountByMonth(date);
     }
 
+    /**
+     * 根据月份获取专业故障数
+     * @param date 年-月
+     * @return
+     */
     @Override
-    public List getMajorCountByMonth(String date) {
+    public List getMajorCountByMonth(String date){
         return breakdownMapper.getMajorCountByMonth(date);
     }
 
+    /**
+     * 获取所有飞机状态
+     * @return
+     */
+    @Override
+    public List getAircraftStatus(String airNumber){
+        return breakdownMapper.getAircraftStatus(airNumber);
+    }
+
+    /**
+     * 获取本月飞机状态
+     * @return
+     */
+    @Override
+    public Object getAircraftStatusCurrentMonth(){
+        return breakdownMapper.getAircraftStatusCurrentMonth().get(0);
+    }
+
+    /**
+     * 获取飞机故障状态详细信息
+     * @param airNumber
+     * @return
+     */
+    @Override
+    public Object getBreakdownInfoByAirNumber(String airNumber){
+        return breakdownMapper.getBreakdownInfoByAirNumber(airNumber).get(0);
+    }
+
+    /**
+     * 获取未修理完成数据
+     */
+    @Override
+    public List<Breakdown> getBreakdownSchedule(){
+        return breakdownMapper.getBreakdownSchedule();
+    }
 }

+ 1 - 0
kgraph-admin/src/main/resources/mapper/ledger/AirModelInfoMapper.xml

@@ -26,6 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <include refid="selectAirModelInfoVo"/>
         <where>  
             <if test="airNumber != null  and airNumber != ''"> and air_number = #{airNumber}</if>
+            <if test="modelComponentId != null "> and model_component_id = #{modelComponentId}</if>
             <if test="modelNumber != null  and modelNumber != ''"> and model_number = #{modelNumber}</if>
             <if test="serial != null  and serial != ''"> and serial = #{serial}</if>
             <if test="productionDate != null "> and production_date = #{productionDate}</if>

+ 11 - 1
kgraph-admin/src/main/resources/mapper/ledger/AirPartInfoMapper.xml

@@ -8,6 +8,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="id"    column="id"    />
         <result property="modelComponentId"    column="model_component_id"    />
         <result property="modelNumber"    column="model_number"    />
+        <result property="airModelId"    column="air_model_id"    />
+        <result property="airNumber"    column="air_number"    />
         <result property="serial"    column="serial"    />
         <result property="productionDate"    column="production_date"    />
         <result property="manufacturerInfo"    column="manufacturer_info"    />
@@ -19,7 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </resultMap>
 
     <sql id="selectAirPartInfoVo">
-        select id, model_component_id, model_number, serial, production_date, manufacturer_info, version, create_by, create_time, update_by, update_time from t_air_part_info
+        select id, model_component_id, model_number, air_model_id, air_number, serial, production_date, manufacturer_info, version, create_by, create_time, update_by, update_time from t_air_part_info
     </sql>
 
     <select id="selectAirPartInfoList" parameterType="AirPartInfo" resultMap="AirPartInfoResult">
@@ -27,6 +29,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <where>  
             <if test="modelComponentId != null "> and model_component_id = #{modelComponentId}</if>
             <if test="modelNumber != null  and modelNumber != ''"> and model_number = #{modelNumber}</if>
+            <if test="airModelId != null "> and air_model_id = #{airModelId}</if>
+            <if test="airNumber != null  and airNumber != ''"> and air_number = #{airNumber}</if>
             <if test="serial != null  and serial != ''"> and serial = #{serial}</if>
             <if test="productionDate != null "> and production_date = #{productionDate}</if>
             <if test="manufacturerInfo != null  and manufacturerInfo != ''"> and manufacturer_info = #{manufacturerInfo}</if>
@@ -44,6 +48,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <trim prefix="(" suffix=")" suffixOverrides=",">
             <if test="modelComponentId != null">model_component_id,</if>
             <if test="modelNumber != null">model_number,</if>
+            <if test="airModelId != null">air_model_id,</if>
+            <if test="airNumber != null">air_number,</if>
             <if test="serial != null">serial,</if>
             <if test="productionDate != null">production_date,</if>
             <if test="manufacturerInfo != null">manufacturer_info,</if>
@@ -56,6 +62,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="modelComponentId != null">#{modelComponentId},</if>
             <if test="modelNumber != null">#{modelNumber},</if>
+            <if test="airModelId != null">#{airModelId},</if>
+            <if test="airNumber != null">#{airNumber},</if>
             <if test="serial != null">#{serial},</if>
             <if test="productionDate != null">#{productionDate},</if>
             <if test="manufacturerInfo != null">#{manufacturerInfo},</if>
@@ -72,6 +80,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <trim prefix="SET" suffixOverrides=",">
             <if test="modelComponentId != null">model_component_id = #{modelComponentId},</if>
             <if test="modelNumber != null">model_number = #{modelNumber},</if>
+            <if test="airModelId != null">air_model_id = #{airModelId},</if>
+            <if test="airNumber != null">air_number = #{airNumber},</if>
             <if test="serial != null">serial = #{serial},</if>
             <if test="productionDate != null">production_date = #{productionDate},</if>
             <if test="manufacturerInfo != null">manufacturer_info = #{manufacturerInfo},</if>

+ 12 - 1
kgraph-admin/src/main/resources/mapper/ledger/AirPartStatusInfoMapper.xml

@@ -7,6 +7,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <resultMap type="AirPartStatusInfo" id="AirPartStatusInfoResult">
         <result property="id"    column="id"    />
         <result property="airPartId"    column="air_part_id"    />
+        <result property="airModelId"    column="air_model_id"    />
+        <result property="airNumber"    column="air_number"    />
         <result property="modelNumber"    column="model_number"    />
         <result property="serial"    column="serial"    />
         <result property="productionDate"    column="production_date"    />
@@ -21,12 +23,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </resultMap>
 
     <sql id="selectAirPartStatusInfoVo">
-        select id, air_part_id, model_number, serial, production_date, version, version_update_date, repair_times, repair_date, create_by, create_time, update_by, update_time from t_air_part_status_info
+        select id, air_part_id, air_model_id, air_number, model_number, serial, production_date, version, version_update_date, repair_times, repair_date, create_by, create_time, update_by, update_time from t_air_part_status_info
     </sql>
 
     <select id="selectAirPartStatusInfoList" parameterType="AirPartStatusInfo" resultMap="AirPartStatusInfoResult">
         <include refid="selectAirPartStatusInfoVo"/>
         <where>  
+            <if test="airPartId != null "> and air_part_id = #{airPartId}</if>
+            <if test="airModelId != null "> and air_model_id = #{airModelId}</if>
+            <if test="airNumber != null  and airNumber != ''"> and air_number = #{airNumber}</if>
             <if test="modelNumber != null  and modelNumber != ''"> and model_number = #{modelNumber}</if>
             <if test="serial != null  and serial != ''"> and serial = #{serial}</if>
             <if test="productionDate != null "> and production_date = #{productionDate}</if>
@@ -46,6 +51,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         insert into t_air_part_status_info
         <trim prefix="(" suffix=")" suffixOverrides=",">
             <if test="airPartId != null">air_part_id,</if>
+            <if test="airModelId != null">air_model_id,</if>
+            <if test="airNumber != null">air_number,</if>
             <if test="modelNumber != null">model_number,</if>
             <if test="serial != null">serial,</if>
             <if test="productionDate != null">production_date,</if>
@@ -60,6 +67,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
          </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="airPartId != null">#{airPartId},</if>
+            <if test="airModelId != null">#{airModelId},</if>
+            <if test="airNumber != null">#{airNumber},</if>
             <if test="modelNumber != null">#{modelNumber},</if>
             <if test="serial != null">#{serial},</if>
             <if test="productionDate != null">#{productionDate},</if>
@@ -78,6 +87,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         update t_air_part_status_info
         <trim prefix="SET" suffixOverrides=",">
             <if test="airPartId != null">air_part_id = #{airPartId},</if>
+            <if test="airModelId != null">air_model_id = #{airModelId},</if>
+            <if test="airNumber != null">air_number = #{airNumber},</if>
             <if test="modelNumber != null">model_number = #{modelNumber},</if>
             <if test="serial != null">serial = #{serial},</if>
             <if test="productionDate != null">production_date = #{productionDate},</if>

+ 11 - 1
kgraph-admin/src/main/resources/mapper/ledger/AirSubsystemInfoMapper.xml

@@ -8,6 +8,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="id"    column="id"    />
         <result property="modelComponentId"    column="model_component_id"    />
         <result property="modelNumber"    column="model_number"    />
+        <result property="airModelId"    column="air_model_id"    />
+        <result property="airNumber"    column="air_number"    />
         <result property="serial"    column="serial"    />
         <result property="productionDate"    column="production_date"    />
         <result property="manufacturerInfo"    column="manufacturer_info"    />
@@ -19,7 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </resultMap>
 
     <sql id="selectAirSubsystemInfoVo">
-        select id, model_component_id, model_number, serial, production_date, manufacturer_info, version, create_by, create_time, update_by, update_time from t_air_subsystem_info
+        select id, model_component_id, model_number, air_model_id, air_number, serial, production_date, manufacturer_info, version, create_by, create_time, update_by, update_time from t_air_subsystem_info
     </sql>
 
     <select id="selectAirSubsystemInfoList" parameterType="AirSubsystemInfo" resultMap="AirSubsystemInfoResult">
@@ -27,6 +29,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <where>  
             <if test="modelComponentId != null "> and model_component_id = #{modelComponentId}</if>
             <if test="modelNumber != null  and modelNumber != ''"> and model_number = #{modelNumber}</if>
+            <if test="airModelId != null "> and air_model_id = #{airModelId}</if>
+            <if test="airNumber != null  and airNumber != ''"> and air_number = #{airNumber}</if>
             <if test="serial != null  and serial != ''"> and serial = #{serial}</if>
             <if test="productionDate != null "> and production_date = #{productionDate}</if>
             <if test="manufacturerInfo != null  and manufacturerInfo != ''"> and manufacturer_info = #{manufacturerInfo}</if>
@@ -44,6 +48,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <trim prefix="(" suffix=")" suffixOverrides=",">
             <if test="modelComponentId != null">model_component_id,</if>
             <if test="modelNumber != null">model_number,</if>
+            <if test="airModelId != null">air_model_id,</if>
+            <if test="airNumber != null">air_number,</if>
             <if test="serial != null">serial,</if>
             <if test="productionDate != null">production_date,</if>
             <if test="manufacturerInfo != null">manufacturer_info,</if>
@@ -56,6 +62,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="modelComponentId != null">#{modelComponentId},</if>
             <if test="modelNumber != null">#{modelNumber},</if>
+            <if test="airModelId != null">#{airModelId},</if>
+            <if test="airNumber != null">#{airNumber},</if>
             <if test="serial != null">#{serial},</if>
             <if test="productionDate != null">#{productionDate},</if>
             <if test="manufacturerInfo != null">#{manufacturerInfo},</if>
@@ -72,6 +80,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <trim prefix="SET" suffixOverrides=",">
             <if test="modelComponentId != null">model_component_id = #{modelComponentId},</if>
             <if test="modelNumber != null">model_number = #{modelNumber},</if>
+            <if test="airModelId != null">air_model_id = #{airModelId},</if>
+            <if test="airNumber != null">air_number = #{airNumber},</if>
             <if test="serial != null">serial = #{serial},</if>
             <if test="productionDate != null">production_date = #{productionDate},</if>
             <if test="manufacturerInfo != null">manufacturer_info = #{manufacturerInfo},</if>

+ 12 - 1
kgraph-admin/src/main/resources/mapper/ledger/AirSubsystemStatusInfoMapper.xml

@@ -7,6 +7,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <resultMap type="AirSubsystemStatusInfo" id="AirSubsystemStatusInfoResult">
         <result property="id"    column="id"    />
         <result property="airSubsystemId"    column="air_subsystem_id"    />
+        <result property="airModelId"    column="air_model_id"    />
+        <result property="airNumber"    column="air_number"    />
         <result property="modelNumber"    column="model_number"    />
         <result property="serial"    column="serial"    />
         <result property="productionDate"    column="production_date"    />
@@ -21,12 +23,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </resultMap>
 
     <sql id="selectAirSubsystemStatusInfoVo">
-        select id, air_subsystem_id, model_number, serial, production_date, version, version_update_date, repair_times, repair_date, create_by, create_time, update_by, update_time from t_air_subsystem_status_info
+        select id, air_subsystem_id, air_model_id, air_number, model_number, serial, production_date, version, version_update_date, repair_times, repair_date, create_by, create_time, update_by, update_time from t_air_subsystem_status_info
     </sql>
 
     <select id="selectAirSubsystemStatusInfoList" parameterType="AirSubsystemStatusInfo" resultMap="AirSubsystemStatusInfoResult">
         <include refid="selectAirSubsystemStatusInfoVo"/>
         <where>  
+            <if test="airSubsystemId != null "> and air_subsystem_id = #{airSubsystemId}</if>
+            <if test="airModelId != null "> and air_model_id = #{airModelId}</if>
+            <if test="airNumber != null  and airNumber != ''"> and air_number = #{airNumber}</if>
             <if test="modelNumber != null  and modelNumber != ''"> and model_number = #{modelNumber}</if>
             <if test="serial != null  and serial != ''"> and serial = #{serial}</if>
             <if test="productionDate != null "> and production_date = #{productionDate}</if>
@@ -46,6 +51,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         insert into t_air_subsystem_status_info
         <trim prefix="(" suffix=")" suffixOverrides=",">
             <if test="airSubsystemId != null">air_subsystem_id,</if>
+            <if test="airModelId != null">air_model_id,</if>
+            <if test="airNumber != null">air_number,</if>
             <if test="modelNumber != null">model_number,</if>
             <if test="serial != null">serial,</if>
             <if test="productionDate != null">production_date,</if>
@@ -60,6 +67,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
          </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="airSubsystemId != null">#{airSubsystemId},</if>
+            <if test="airModelId != null">#{airModelId},</if>
+            <if test="airNumber != null">#{airNumber},</if>
             <if test="modelNumber != null">#{modelNumber},</if>
             <if test="serial != null">#{serial},</if>
             <if test="productionDate != null">#{productionDate},</if>
@@ -78,6 +87,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         update t_air_subsystem_status_info
         <trim prefix="SET" suffixOverrides=",">
             <if test="airSubsystemId != null">air_subsystem_id = #{airSubsystemId},</if>
+            <if test="airModelId != null">air_model_id = #{airModelId},</if>
+            <if test="airNumber != null">air_number = #{airNumber},</if>
             <if test="modelNumber != null">model_number = #{modelNumber},</if>
             <if test="serial != null">serial = #{serial},</if>
             <if test="productionDate != null">production_date = #{productionDate},</if>

+ 12 - 1
kgraph-admin/src/main/resources/mapper/ledger/AirSystemInfoMapper.xml

@@ -8,6 +8,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="id"    column="id"    />
         <result property="modelComponentId"    column="model_component_id"    />
         <result property="modelNumber"    column="model_number"    />
+        <result property="airModelId"    column="air_model_id"    />
+        <result property="airNumber"    column="air_number"    />
         <result property="serial"    column="serial"    />
         <result property="productionDate"    column="production_date"    />
         <result property="manufacturerInfo"    column="manufacturer_info"    />
@@ -19,13 +21,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </resultMap>
 
     <sql id="selectAirSystemInfoVo">
-        select id, model_component_id, model_number, serial, production_date, manufacturer_info, version, create_by, create_time, update_by, update_time from t_air_system_info
+        select id, model_component_id, model_number, air_model_id, air_number, serial, production_date, manufacturer_info, version, create_by, create_time, update_by, update_time from t_air_system_info
     </sql>
 
     <select id="selectAirSystemInfoList" parameterType="AirSystemInfo" resultMap="AirSystemInfoResult">
         <include refid="selectAirSystemInfoVo"/>
         <where>  
+            <if test="modelComponentId != null "> and model_component_id = #{modelComponentId}</if>
             <if test="modelNumber != null  and modelNumber != ''"> and model_number = #{modelNumber}</if>
+            <if test="airModelId != null "> and air_model_id = #{airModelId}</if>
+            <if test="airNumber != null  and airNumber != ''"> and air_number = #{airNumber}</if>
             <if test="serial != null  and serial != ''"> and serial = #{serial}</if>
             <if test="productionDate != null "> and production_date = #{productionDate}</if>
             <if test="manufacturerInfo != null  and manufacturerInfo != ''"> and manufacturer_info = #{manufacturerInfo}</if>
@@ -43,6 +48,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <trim prefix="(" suffix=")" suffixOverrides=",">
             <if test="modelComponentId != null">model_component_id,</if>
             <if test="modelNumber != null">model_number,</if>
+            <if test="airModelId != null">air_model_id,</if>
+            <if test="airNumber != null">air_number,</if>
             <if test="serial != null">serial,</if>
             <if test="productionDate != null">production_date,</if>
             <if test="manufacturerInfo != null">manufacturer_info,</if>
@@ -55,6 +62,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="modelComponentId != null">#{modelComponentId},</if>
             <if test="modelNumber != null">#{modelNumber},</if>
+            <if test="airModelId != null">#{airModelId},</if>
+            <if test="airNumber != null">#{airNumber},</if>
             <if test="serial != null">#{serial},</if>
             <if test="productionDate != null">#{productionDate},</if>
             <if test="manufacturerInfo != null">#{manufacturerInfo},</if>
@@ -71,6 +80,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <trim prefix="SET" suffixOverrides=",">
             <if test="modelComponentId != null">model_component_id = #{modelComponentId},</if>
             <if test="modelNumber != null">model_number = #{modelNumber},</if>
+            <if test="airModelId != null">air_model_id = #{airModelId},</if>
+            <if test="airNumber != null">air_number = #{airNumber},</if>
             <if test="serial != null">serial = #{serial},</if>
             <if test="productionDate != null">production_date = #{productionDate},</if>
             <if test="manufacturerInfo != null">manufacturer_info = #{manufacturerInfo},</if>

+ 12 - 1
kgraph-admin/src/main/resources/mapper/ledger/AirSystemStatusInfoMapper.xml

@@ -8,6 +8,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="id"    column="id"    />
         <result property="airSystemId"    column="air_system_id"    />
         <result property="modelNumber"    column="model_number"    />
+        <result property="airModelId"    column="air_model_id"    />
+        <result property="airNumber"    column="air_number"    />
         <result property="serial"    column="serial"    />
         <result property="productionDate"    column="production_date"    />
         <result property="version"    column="version"    />
@@ -21,13 +23,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </resultMap>
 
     <sql id="selectAirSystemStatusInfoVo">
-        select id, air_system_id, model_number, serial, production_date, version, version_update_date, repair_times, repair_date, create_by, create_time, update_by, update_time from t_air_system_status_info
+        select id, air_system_id, model_number, air_model_id, air_number, serial, production_date, version, version_update_date, repair_times, repair_date, create_by, create_time, update_by, update_time from t_air_system_status_info
     </sql>
 
     <select id="selectAirSystemStatusInfoList" parameterType="AirSystemStatusInfo" resultMap="AirSystemStatusInfoResult">
         <include refid="selectAirSystemStatusInfoVo"/>
         <where>  
+            <if test="airSystemId != null "> and air_system_id = #{airSystemId}</if>
             <if test="modelNumber != null  and modelNumber != ''"> and model_number = #{modelNumber}</if>
+            <if test="airModelId != null "> and air_model_id = #{airModelId}</if>
+            <if test="airNumber != null  and airNumber != ''"> and air_number = #{airNumber}</if>
             <if test="serial != null  and serial != ''"> and serial = #{serial}</if>
             <if test="productionDate != null "> and production_date = #{productionDate}</if>
             <if test="version != null  and version != ''"> and version = #{version}</if>
@@ -47,6 +52,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <trim prefix="(" suffix=")" suffixOverrides=",">
             <if test="airSystemId != null">air_system_id,</if>
             <if test="modelNumber != null">model_number,</if>
+            <if test="airModelId != null">air_model_id,</if>
+            <if test="airNumber != null">air_number,</if>
             <if test="serial != null">serial,</if>
             <if test="productionDate != null">production_date,</if>
             <if test="version != null">version,</if>
@@ -61,6 +68,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="airSystemId != null">#{airSystemId},</if>
             <if test="modelNumber != null">#{modelNumber},</if>
+            <if test="airModelId != null">#{airModelId},</if>
+            <if test="airNumber != null">#{airNumber},</if>
             <if test="serial != null">#{serial},</if>
             <if test="productionDate != null">#{productionDate},</if>
             <if test="version != null">#{version},</if>
@@ -79,6 +88,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <trim prefix="SET" suffixOverrides=",">
             <if test="airSystemId != null">air_system_id = #{airSystemId},</if>
             <if test="modelNumber != null">model_number = #{modelNumber},</if>
+            <if test="airModelId != null">air_model_id = #{airModelId},</if>
+            <if test="airNumber != null">air_number = #{airNumber},</if>
             <if test="serial != null">serial = #{serial},</if>
             <if test="productionDate != null">production_date = #{productionDate},</if>
             <if test="version != null">version = #{version},</if>

+ 91 - 1
kgraph-admin/src/main/resources/mapper/showInfo/BreakdownMapper.xml

@@ -26,6 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="replaceUnitType"    column="replace_unit_type"    />
         <result property="replaceUnitNumber"    column="replace_unit_number"    />
         <result property="method"    column="method"    />
+        <result property="repairedDate"    column="repaired_date"    />
         <result property="createBy"    column="create_by"    />
         <result property="createTime"    column="create_time"    />
         <result property="updateBy"    column="update_by"    />
@@ -33,7 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </resultMap>
 
     <sql id="selectBreakdownVo">
-        select id, war_zone, base, division, brigade, airplane_model, air_number, discovery_timing, discovery_date, major, `describe`, reason, breakdown_unit_name, breakdown_unit_type, breakdown_unit_number, unit_system, consequence, replace_unit_name, replace_unit_type, replace_unit_number, method, create_by, create_time, update_by, update_time from t_breakdown
+        select id, war_zone, base, division, brigade, airplane_model, air_number, discovery_timing, discovery_date, major, `describe`, reason, breakdown_unit_name, breakdown_unit_type, breakdown_unit_number, unit_system, consequence, replace_unit_name, replace_unit_type, replace_unit_number, method, repaired_date, create_by, create_time, update_by, update_time from t_breakdown
     </sql>
 
     <select id="selectBreakdownList" parameterType="Breakdown" resultMap="BreakdownResult">
@@ -59,6 +60,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="replaceUnitType != null  and replaceUnitType != ''"> and replace_unit_type = #{replaceUnitType}</if>
             <if test="replaceUnitNumber != null  and replaceUnitNumber != ''"> and replace_unit_number = #{replaceUnitNumber}</if>
             <if test="method != null  and method != ''"> and method = #{method}</if>
+            <if test="repairedDate != null "> and repaired_date = #{repairedDate}</if>
         </where>
     </select>
     
@@ -90,6 +92,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="replaceUnitType != null">replace_unit_type,</if>
             <if test="replaceUnitNumber != null">replace_unit_number,</if>
             <if test="method != null">method,</if>
+            <if test="repairedDate != null">repaired_date,</if>
             <if test="createBy != null">create_by,</if>
             <if test="createTime != null">create_time,</if>
             <if test="updateBy != null">update_by,</if>
@@ -116,6 +119,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="replaceUnitType != null">#{replaceUnitType},</if>
             <if test="replaceUnitNumber != null">#{replaceUnitNumber},</if>
             <if test="method != null">#{method},</if>
+            <if test="repairedDate != null">#{repairedDate},</if>
             <if test="createBy != null">#{createBy},</if>
             <if test="createTime != null">#{createTime},</if>
             <if test="updateBy != null">#{updateBy},</if>
@@ -146,6 +150,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="replaceUnitType != null">replace_unit_type = #{replaceUnitType},</if>
             <if test="replaceUnitNumber != null">replace_unit_number = #{replaceUnitNumber},</if>
             <if test="method != null">method = #{method},</if>
+            <if test="repairedDate != null">repaired_date = #{repairedDate},</if>
             <if test="createBy != null">create_by = #{createBy},</if>
             <if test="createTime != null">create_time = #{createTime},</if>
             <if test="updateBy != null">update_by = #{updateBy},</if>
@@ -208,4 +213,89 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         </choose>
         GROUP BY major
     </select>
+
+    <select id="getAircraftStatus" resultType="Map" parameterType="String">
+        SELECT
+            am.air_number airNumber,
+            ( SELECT count( 0 ) FROM t_breakdown bd WHERE bd.air_number = am.air_number AND bd.repaired_date IS NULL ) cnt
+        FROM
+            t_air_model_info am
+        <if test="airNumber != null">
+            where am.air_number = #{airNumber}
+        </if>
+    </select>
+    <select id="getAircraftStatusCurrentMonth" resultType="Map">
+        SELECT
+        (
+            SELECT
+                count( 0 )
+            FROM
+            (
+                SELECT DISTINCT
+                    air_number
+                FROM
+                    t_breakdown bd
+                WHERE
+                    DATE_FORMAT( bd.discovery_date, '%Y-%m' ) = DATE_FORMAT( now(), '%Y-%m' )) t
+        ) AS 'breakdownNumber',
+        (
+            SELECT
+                count( 0 )
+            FROM
+                (
+                SELECT DISTINCT
+                    air_number
+                FROM
+                    t_breakdown bd
+                WHERE
+                    bd.repaired_date IS NULL
+                    AND DATE_FORMAT( bd.discovery_date, '%Y-%m' ) = DATE_FORMAT( now(), '%Y-%m' )) t
+        ) AS 'repairingNumber',
+        (
+            SELECT
+                count( 0 )
+            FROM
+                t_air_model_info ami
+            WHERE
+                NOT EXISTS ( SELECT 1 FROM t_breakdown bd WHERE ami.air_number = bd.air_number AND bd.repaired_date IS NOT NULL )
+        ) AS 'availableNumber'
+    </select>
+
+    <select id="getBreakdownInfoByAirNumber" resultType="Map" parameterType="String">
+        SELECT
+        #{airNumber} airNumber,
+        (
+            SELECT
+                count(0)
+            FROM
+                t_breakdown bd
+            WHERE
+                air_number = #{airNumber}
+                AND DATE_FORMAT( bd.discovery_date, '%Y-%m' ) = DATE_FORMAT( now(), '%Y-%m' )
+        ) AS 'breakdownCount',
+        (
+            SELECT
+                count(0)
+            FROM
+                t_breakdown bd
+            WHERE
+                air_number = #{airNumber}
+                AND bd.repaired_date IS NULL
+                AND DATE_FORMAT( bd.discovery_date, '%Y-%m' ) = DATE_FORMAT( now(), '%Y-%m' )
+        ) AS 'repairingCount',
+        (
+            SELECT
+                GROUP_CONCAT( unit_system )
+            FROM
+                t_breakdown bd
+            WHERE
+                air_number = #{airNumber}
+                AND DATE_FORMAT( bd.discovery_date, '%Y-%m' ) = DATE_FORMAT( now(), '%Y-%m' )
+                GROUP BY air_number
+        ) AS 'systems'
+    </select>
+
+    <select id="getBreakdownSchedule" resultMap="BreakdownResult" parameterType="String">
+        <include refid="selectBreakdownVo"/> WHERE repaired_date is null order by discovery_date
+    </select>
 </mapper>

+ 2 - 0
kgraph-graph/src/main/java/com/kgraph/graph/neo4j/VO/RelationVO.java

@@ -11,6 +11,8 @@ public class RelationVO {
     private String content;
     private Long from;
     private Long to;
+    private String fromName;
+    private String toName;
     public Long getRelID(){
         return id;
     }

+ 1 - 1
kgraph-graph/src/main/java/com/kgraph/graph/neo4j/uitils/Neo4j2VOUtils.java

@@ -44,7 +44,7 @@ public class Neo4j2VOUtils {
     }
 
     private static RelationVO relation2VO(Neo4jRelation neo4jRelation) {
-        return new RelationVO(neo4jRelation.getId(), neo4jRelation.getName(), neo4jRelation.getContent(), neo4jRelation.getStartNode().getId(), neo4jRelation.getEndNode().getId());
+        return new RelationVO(neo4jRelation.getId(), neo4jRelation.getName(), neo4jRelation.getContent(), neo4jRelation.getStartNode().getId(), neo4jRelation.getEndNode().getId(), neo4jRelation.getStartNode().getName(), neo4jRelation.getEndNode().getName());
     }
 
     public static EntityVO entity2VO(Neo4jEntity entity) {

+ 27 - 21
sql/system.sql

@@ -1347,6 +1347,7 @@ CREATE TABLE t_breakdown (
 	replace_unit_type VARCHAR ( 64 ) COMMENT '故换件型别',
 	replace_unit_number VARCHAR ( 64 ) COMMENT '故换件号码',
 	method VARCHAR ( 64 ) COMMENT '排除方法',
+	repaired_date datetime COMMENT '修复日期',
 	create_by VARCHAR ( 64 ) DEFAULT '' COMMENT '创建者',
 	create_time datetime COMMENT '创建时间',
 	update_by VARCHAR ( 64 ) DEFAULT '' COMMENT '更新者',
@@ -1574,7 +1575,7 @@ IF
 	EXISTS t_air_model_info;
 CREATE TABLE t_air_model_info (
 	id BIGINT ( 20 ) NOT NULL auto_increment COMMENT '序号',
-	air_number VARCHAR ( 64 ) COMMENT '机号',
+	air_number VARCHAR ( 64 ) COMMENT '机号',
 	model_component_id BIGINT ( 20 ) COMMENT '型号id',
 	model_number VARCHAR ( 64 ) COMMENT '型号',
 	serial VARCHAR ( 64 ) COMMENT '编号',
@@ -1584,16 +1585,17 @@ CREATE TABLE t_air_model_info (
 	create_time datetime COMMENT '创建时间',
 	update_by VARCHAR ( 64 ) DEFAULT '' COMMENT '更新者',
 	update_time datetime COMMENT '更新时间',
-PRIMARY KEY ( id )
+	PRIMARY KEY ( id )
 ) ENGINE = INNODB COMMENT = '机型信息';
-
 DROP TABLE
 IF
 	EXISTS t_air_system_info;
 CREATE TABLE t_air_system_info (
 	id BIGINT ( 20 ) NOT NULL auto_increment COMMENT '序号',
-    model_component_id BIGINT ( 20 ) COMMENT '型号id',
-    model_number VARCHAR ( 64 ) COMMENT '型号',
+	model_component_id BIGINT ( 20 ) COMMENT '型号id',
+	model_number VARCHAR ( 64 ) COMMENT '型号',
+	air_model_id BIGINT ( 20 ) COMMENT '机号id',
+	air_number VARCHAR ( 64 ) COMMENT '机号',
 	serial VARCHAR ( 64 ) COMMENT '编号',
 	production_date datetime COMMENT '出厂日期',
 	manufacturer_info VARCHAR ( 64 ) COMMENT '厂家信息',
@@ -1602,16 +1604,17 @@ CREATE TABLE t_air_system_info (
 	create_time datetime COMMENT '创建时间',
 	update_by VARCHAR ( 64 ) DEFAULT '' COMMENT '更新者',
 	update_time datetime COMMENT '更新时间',
-PRIMARY KEY ( id )
+	PRIMARY KEY ( id )
 ) ENGINE = INNODB COMMENT = '系统基本信息';
-
 DROP TABLE
 IF
 	EXISTS t_air_subsystem_info;
 CREATE TABLE t_air_subsystem_info (
 	id BIGINT ( 20 ) NOT NULL auto_increment COMMENT '序号',
-    model_component_id BIGINT ( 20 ) COMMENT '型号id',
-    model_number VARCHAR ( 64 ) COMMENT '型号',
+	model_component_id BIGINT ( 20 ) COMMENT '型号id',
+	model_number VARCHAR ( 64 ) COMMENT '型号',
+	air_model_id BIGINT ( 20 ) COMMENT '机号id',
+	air_number VARCHAR ( 64 ) COMMENT '机号',
 	serial VARCHAR ( 64 ) COMMENT '编号',
 	production_date datetime COMMENT '出厂日期',
 	manufacturer_info VARCHAR ( 64 ) COMMENT '厂家信息',
@@ -1620,16 +1623,17 @@ CREATE TABLE t_air_subsystem_info (
 	create_time datetime COMMENT '创建时间',
 	update_by VARCHAR ( 64 ) DEFAULT '' COMMENT '更新者',
 	update_time datetime COMMENT '更新时间',
-PRIMARY KEY ( id )
+	PRIMARY KEY ( id )
 ) ENGINE = INNODB COMMENT = '分系统基本信息';
-
 DROP TABLE
 IF
 	EXISTS t_air_part_info;
 CREATE TABLE t_air_part_info (
 	id BIGINT ( 20 ) NOT NULL auto_increment COMMENT '序号',
-    model_component_id BIGINT ( 20 ) COMMENT '型号id',
-    model_number VARCHAR ( 64 ) COMMENT '型号',
+	model_component_id BIGINT ( 20 ) COMMENT '型号id',
+	model_number VARCHAR ( 64 ) COMMENT '型号',
+	air_model_id BIGINT ( 20 ) COMMENT '机号id',
+	air_number VARCHAR ( 64 ) COMMENT '机号',
 	serial VARCHAR ( 64 ) COMMENT '编号',
 	production_date datetime COMMENT '出厂日期',
 	manufacturer_info VARCHAR ( 64 ) COMMENT '厂家信息',
@@ -1638,10 +1642,8 @@ CREATE TABLE t_air_part_info (
 	create_time datetime COMMENT '创建时间',
 	update_by VARCHAR ( 64 ) DEFAULT '' COMMENT '更新者',
 	update_time datetime COMMENT '更新时间',
-PRIMARY KEY ( id )
-) ENGINE = INNODB COMMENT = '部件基本信息';
-
--- -------------------------
+	PRIMARY KEY ( id )
+) ENGINE = INNODB COMMENT = '部件基本信息';-- -------------------------
 DROP TABLE
 IF
 	EXISTS t_air_system_status_info;
@@ -1649,6 +1651,8 @@ CREATE TABLE t_air_system_status_info (
 	id BIGINT ( 20 ) NOT NULL auto_increment COMMENT '序号',
 	air_system_id BIGINT ( 20 ) COMMENT '系统id',
 	model_number VARCHAR ( 64 ) COMMENT '型号',
+	air_model_id BIGINT ( 20 ) COMMENT '机号id',
+	air_number VARCHAR ( 64 ) COMMENT '机号',
 	serial VARCHAR ( 64 ) COMMENT '编号',
 	production_date datetime COMMENT '出厂日期',
 	version VARCHAR ( 64 ) COMMENT '版本号',
@@ -1659,15 +1663,16 @@ CREATE TABLE t_air_system_status_info (
 	create_time datetime COMMENT '创建时间',
 	update_by VARCHAR ( 64 ) DEFAULT '' COMMENT '更新者',
 	update_time datetime COMMENT '更新时间',
-PRIMARY KEY ( id )
+	PRIMARY KEY ( id )
 ) ENGINE = INNODB COMMENT = '系统履历';
-
 DROP TABLE
 IF
 	EXISTS t_air_subsystem_status_info;
 CREATE TABLE t_air_subsystem_status_info (
 	id BIGINT ( 20 ) NOT NULL auto_increment COMMENT '序号',
 	air_subsystem_id BIGINT ( 20 ) COMMENT '子系统id',
+	air_model_id BIGINT ( 20 ) COMMENT '机号id',
+	air_number VARCHAR ( 64 ) COMMENT '机号',
 	model_number VARCHAR ( 64 ) COMMENT '型号',
 	serial VARCHAR ( 64 ) COMMENT '编号',
 	production_date datetime COMMENT '出厂日期',
@@ -1679,15 +1684,16 @@ CREATE TABLE t_air_subsystem_status_info (
 	create_time datetime COMMENT '创建时间',
 	update_by VARCHAR ( 64 ) DEFAULT '' COMMENT '更新者',
 	update_time datetime COMMENT '更新时间',
-PRIMARY KEY ( id )
+	PRIMARY KEY ( id )
 ) ENGINE = INNODB COMMENT = '子系统履历';
-
 DROP TABLE
 IF
 	EXISTS t_air_part_status_info;
 CREATE TABLE t_air_part_status_info (
 	id BIGINT ( 20 ) NOT NULL auto_increment COMMENT '序号',
 	air_part_id BIGINT ( 20 ) COMMENT '部件id',
+	air_model_id BIGINT ( 20 ) COMMENT '机号id',
+	air_number VARCHAR ( 64 ) COMMENT '机号',
 	model_number VARCHAR ( 64 ) COMMENT '型号',
 	serial VARCHAR ( 64 ) COMMENT '编号',
 	production_date datetime COMMENT '出厂日期',

+ 63 - 43
sql/update20030417.sql

@@ -2,26 +2,44 @@ use kgraph;
 
 DROP TABLE
 IF
-	EXISTS t_model_component;
-CREATE TABLE t_model_component (
+	EXISTS t_breakdown;
+CREATE TABLE t_breakdown (
 	id BIGINT ( 20 ) NOT NULL auto_increment COMMENT '序号',
-	type VARCHAR ( 64 ) COMMENT '类型',
-	parent_id BIGINT ( 20 ) COMMENT '父id',
-	model_number VARCHAR ( 64 ) COMMENT '型号',
-	`name` VARCHAR ( 64 ) COMMENT '名称',
+	war_zone VARCHAR ( 64 ) COMMENT '战区',
+	base VARCHAR ( 64 ) COMMENT '大练基地',
+	division VARCHAR ( 64 ) COMMENT '师',
+	brigade VARCHAR ( 64 ) COMMENT '旅团',
+	airplane_model VARCHAR ( 64 ) COMMENT '机型',
+	air_number VARCHAR ( 64 ) COMMENT '机号',
+	discovery_timing VARCHAR ( 64 ) COMMENT '发现时机',
+	discovery_date datetime COMMENT '发现日期',
+	major VARCHAR ( 64 ) COMMENT '专业',
+	`describe` VARCHAR ( 255 ) COMMENT '故障描述',
+	reason VARCHAR ( 255 ) COMMENT '故障原因',
+	breakdown_unit_name VARCHAR ( 64 ) COMMENT '故障件名称',
+	breakdown_unit_type VARCHAR ( 64 ) COMMENT '故障件型别',
+	breakdown_unit_number VARCHAR ( 64 ) COMMENT '故障件号码',
+	unit_system VARCHAR ( 64 ) COMMENT '故障件所属系统',
+	consequence VARCHAR ( 255 ) COMMENT '故障后果',
+	replace_unit_name VARCHAR ( 64 ) COMMENT '故换件名称',
+	replace_unit_type VARCHAR ( 64 ) COMMENT '故换件型别',
+	replace_unit_number VARCHAR ( 64 ) COMMENT '故换件号码',
+	method VARCHAR ( 64 ) COMMENT '排除方法',
+	repaired_date datetime COMMENT '修复日期',
 	create_by VARCHAR ( 64 ) DEFAULT '' COMMENT '创建者',
 	create_time datetime COMMENT '创建时间',
 	update_by VARCHAR ( 64 ) DEFAULT '' COMMENT '更新者',
 	update_time datetime COMMENT '更新时间',
 PRIMARY KEY ( id )
-) ENGINE = INNODB COMMENT = '型号构型信息表';
+) ENGINE = INNODB COMMENT = '故障信息表';
+
 
 DROP TABLE
 IF
 	EXISTS t_air_model_info;
 CREATE TABLE t_air_model_info (
 	id BIGINT ( 20 ) NOT NULL auto_increment COMMENT '序号',
-	air_number VARCHAR ( 64 ) COMMENT '飞机号',
+	air_number VARCHAR ( 64 ) COMMENT '机号',
 	model_component_id BIGINT ( 20 ) COMMENT '型号id',
 	model_number VARCHAR ( 64 ) COMMENT '型号',
 	serial VARCHAR ( 64 ) COMMENT '编号',
@@ -31,16 +49,17 @@ CREATE TABLE t_air_model_info (
 	create_time datetime COMMENT '创建时间',
 	update_by VARCHAR ( 64 ) DEFAULT '' COMMENT '更新者',
 	update_time datetime COMMENT '更新时间',
-PRIMARY KEY ( id )
+	PRIMARY KEY ( id )
 ) ENGINE = INNODB COMMENT = '机型信息';
-
 DROP TABLE
 IF
 	EXISTS t_air_system_info;
 CREATE TABLE t_air_system_info (
 	id BIGINT ( 20 ) NOT NULL auto_increment COMMENT '序号',
-    model_component_id BIGINT ( 20 ) COMMENT '型号id',
-    model_number VARCHAR ( 64 ) COMMENT '型号',
+	model_component_id BIGINT ( 20 ) COMMENT '型号id',
+	model_number VARCHAR ( 64 ) COMMENT '型号',
+	air_model_id BIGINT ( 20 ) COMMENT '机号id',
+	air_number VARCHAR ( 64 ) COMMENT '机号',
 	serial VARCHAR ( 64 ) COMMENT '编号',
 	production_date datetime COMMENT '出厂日期',
 	manufacturer_info VARCHAR ( 64 ) COMMENT '厂家信息',
@@ -49,16 +68,17 @@ CREATE TABLE t_air_system_info (
 	create_time datetime COMMENT '创建时间',
 	update_by VARCHAR ( 64 ) DEFAULT '' COMMENT '更新者',
 	update_time datetime COMMENT '更新时间',
-PRIMARY KEY ( id )
+	PRIMARY KEY ( id )
 ) ENGINE = INNODB COMMENT = '系统基本信息';
-
 DROP TABLE
 IF
 	EXISTS t_air_subsystem_info;
 CREATE TABLE t_air_subsystem_info (
 	id BIGINT ( 20 ) NOT NULL auto_increment COMMENT '序号',
-    model_component_id BIGINT ( 20 ) COMMENT '型号id',
-    model_number VARCHAR ( 64 ) COMMENT '型号',
+	model_component_id BIGINT ( 20 ) COMMENT '型号id',
+	model_number VARCHAR ( 64 ) COMMENT '型号',
+	air_model_id BIGINT ( 20 ) COMMENT '机号id',
+	air_number VARCHAR ( 64 ) COMMENT '机号',
 	serial VARCHAR ( 64 ) COMMENT '编号',
 	production_date datetime COMMENT '出厂日期',
 	manufacturer_info VARCHAR ( 64 ) COMMENT '厂家信息',
@@ -67,16 +87,17 @@ CREATE TABLE t_air_subsystem_info (
 	create_time datetime COMMENT '创建时间',
 	update_by VARCHAR ( 64 ) DEFAULT '' COMMENT '更新者',
 	update_time datetime COMMENT '更新时间',
-PRIMARY KEY ( id )
+	PRIMARY KEY ( id )
 ) ENGINE = INNODB COMMENT = '分系统基本信息';
-
 DROP TABLE
 IF
 	EXISTS t_air_part_info;
 CREATE TABLE t_air_part_info (
 	id BIGINT ( 20 ) NOT NULL auto_increment COMMENT '序号',
-    model_component_id BIGINT ( 20 ) COMMENT '型号id',
-    model_number VARCHAR ( 64 ) COMMENT '型号',
+	model_component_id BIGINT ( 20 ) COMMENT '型号id',
+	model_number VARCHAR ( 64 ) COMMENT '型号',
+	air_model_id BIGINT ( 20 ) COMMENT '机号id',
+	air_number VARCHAR ( 64 ) COMMENT '机号',
 	serial VARCHAR ( 64 ) COMMENT '编号',
 	production_date datetime COMMENT '出厂日期',
 	manufacturer_info VARCHAR ( 64 ) COMMENT '厂家信息',
@@ -85,10 +106,8 @@ CREATE TABLE t_air_part_info (
 	create_time datetime COMMENT '创建时间',
 	update_by VARCHAR ( 64 ) DEFAULT '' COMMENT '更新者',
 	update_time datetime COMMENT '更新时间',
-PRIMARY KEY ( id )
-) ENGINE = INNODB COMMENT = '部件基本信息';
-
--- -------------------------
+	PRIMARY KEY ( id )
+) ENGINE = INNODB COMMENT = '部件基本信息';-- -------------------------
 DROP TABLE
 IF
 	EXISTS t_air_system_status_info;
@@ -96,6 +115,8 @@ CREATE TABLE t_air_system_status_info (
 	id BIGINT ( 20 ) NOT NULL auto_increment COMMENT '序号',
 	air_system_id BIGINT ( 20 ) COMMENT '系统id',
 	model_number VARCHAR ( 64 ) COMMENT '型号',
+	air_model_id BIGINT ( 20 ) COMMENT '机号id',
+	air_number VARCHAR ( 64 ) COMMENT '机号',
 	serial VARCHAR ( 64 ) COMMENT '编号',
 	production_date datetime COMMENT '出厂日期',
 	version VARCHAR ( 64 ) COMMENT '版本号',
@@ -106,15 +127,16 @@ CREATE TABLE t_air_system_status_info (
 	create_time datetime COMMENT '创建时间',
 	update_by VARCHAR ( 64 ) DEFAULT '' COMMENT '更新者',
 	update_time datetime COMMENT '更新时间',
-PRIMARY KEY ( id )
+	PRIMARY KEY ( id )
 ) ENGINE = INNODB COMMENT = '系统履历';
-
 DROP TABLE
 IF
 	EXISTS t_air_subsystem_status_info;
 CREATE TABLE t_air_subsystem_status_info (
 	id BIGINT ( 20 ) NOT NULL auto_increment COMMENT '序号',
 	air_subsystem_id BIGINT ( 20 ) COMMENT '子系统id',
+	air_model_id BIGINT ( 20 ) COMMENT '机号id',
+	air_number VARCHAR ( 64 ) COMMENT '机号',
 	model_number VARCHAR ( 64 ) COMMENT '型号',
 	serial VARCHAR ( 64 ) COMMENT '编号',
 	production_date datetime COMMENT '出厂日期',
@@ -126,15 +148,16 @@ CREATE TABLE t_air_subsystem_status_info (
 	create_time datetime COMMENT '创建时间',
 	update_by VARCHAR ( 64 ) DEFAULT '' COMMENT '更新者',
 	update_time datetime COMMENT '更新时间',
-PRIMARY KEY ( id )
+	PRIMARY KEY ( id )
 ) ENGINE = INNODB COMMENT = '子系统履历';
-
 DROP TABLE
 IF
 	EXISTS t_air_part_status_info;
 CREATE TABLE t_air_part_status_info (
 	id BIGINT ( 20 ) NOT NULL auto_increment COMMENT '序号',
 	air_part_id BIGINT ( 20 ) COMMENT '部件id',
+	air_model_id BIGINT ( 20 ) COMMENT '机号id',
+	air_number VARCHAR ( 64 ) COMMENT '机号',
 	model_number VARCHAR ( 64 ) COMMENT '型号',
 	serial VARCHAR ( 64 ) COMMENT '编号',
 	production_date datetime COMMENT '出厂日期',
@@ -149,11 +172,10 @@ CREATE TABLE t_air_part_status_info (
 PRIMARY KEY ( id )
 ) ENGINE = INNODB COMMENT = '部件履历';
 
-truncate table `sys_menu`;
+TRUNCATE TABLE sys_menu;
 
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '系统管理', 0, 11, 'system', NULL, '', 1, 0, 'M', '0', '0', '', 'system', 'admin', '2022-11-11 06:49:47', 'admin', '2023-02-14 03:52:03', '系统管理目录');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '系统监控', 0, 12, 'monitor', NULL, '', 1, 0, 'M', '0', '0', '', 'monitor', 'admin', '2022-11-11 06:49:47', 'admin', '2023-02-14 03:52:10', '系统监控目录');
-INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '系统工具', 0, 13, 'tool', NULL, '', 1, 0, 'M', '0', '0', '', 'tool', 'admin', '2022-11-11 06:49:47', 'admin', '2023-02-14 03:52:15', '系统工具目录');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (100, '用户管理', 1, 1, 'user', 'system/user/index', '', 1, 0, 'C', '0', '0', 'system:user:list', 'user', 'admin', '2022-11-11 06:49:47', '', NULL, '用户管理菜单');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (101, '角色管理', 1, 2, 'role', 'system/role/index', '', 1, 0, 'C', '0', '0', 'system:role:list', 'peoples', 'admin', '2022-11-11 06:49:47', '', NULL, '角色管理菜单');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (102, '菜单管理', 1, 3, 'menu', 'system/menu/index', '', 1, 0, 'C', '0', '0', 'system:menu:list', 'tree-table', 'admin', '2022-11-11 06:49:47', '', NULL, '菜单管理菜单');
@@ -169,9 +191,6 @@ INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (112, '服务监控', 2, 4, 'server', 'monitor/server/index', '', 1, 0, 'C', '0', '0', 'monitor:server:list', 'server', 'admin', '2022-11-11 06:49:48', '', NULL, '服务监控菜单');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (113, '缓存监控', 2, 5, 'cache', 'monitor/cache/index', '', 1, 0, 'C', '0', '0', 'monitor:cache:list', 'redis', 'admin', '2022-11-11 06:49:48', '', NULL, '缓存监控菜单');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (114, '缓存列表', 2, 6, 'cacheList', 'monitor/cache/list', '', 1, 0, 'C', '0', '0', 'monitor:cache:list', 'redis-list', 'admin', '2022-11-11 06:49:48', '', NULL, '缓存列表菜单');
-INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (115, '表单构建', 3, 1, 'build', 'tool/build/index', '', 1, 0, 'C', '0', '0', 'tool:build:list', 'build', 'admin', '2022-11-11 06:49:48', '', NULL, '表单构建菜单');
-INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (116, '代码生成', 3, 2, 'gen', 'tool/gen/index', '', 1, 0, 'C', '0', '0', 'tool:gen:list', 'code', 'admin', '2022-11-11 06:49:48', '', NULL, '代码生成菜单');
-INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (117, '系统接口', 3, 3, 'swagger', 'tool/swagger/index', '', 1, 0, 'C', '0', '0', 'tool:swagger:list', 'swagger', 'admin', '2022-11-11 06:49:48', '', NULL, '系统接口菜单');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (500, '操作日志', 108, 1, 'operlog', 'monitor/operlog/index', '', 1, 0, 'C', '0', '0', 'monitor:operlog:list', 'form', 'admin', '2022-11-11 06:49:48', '', NULL, '操作日志菜单');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (501, '登录日志', 108, 2, 'logininfor', 'monitor/logininfor/index', '', 1, 0, 'C', '0', '0', 'monitor:logininfor:list', 'logininfor', 'admin', '2022-11-11 06:49:48', '', NULL, '登录日志菜单');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1000, '用户查询', 100, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:user:query', '#', 'admin', '2022-11-11 06:49:48', '', NULL, '');
@@ -244,7 +263,7 @@ INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2063, '报表', 2060, 1, '/404', NULL, NULL, 1, 0, 'C', '0', '0', '', 'druid', 'admin', '2023-02-10 01:14:36', 'admin', '2023-02-14 08:35:44', '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2064, '预警配置', 2061, 0, '/404', NULL, NULL, 1, 0, 'C', '0', '0', '', 'color', 'admin', '2023-02-10 01:15:07', 'admin', '2023-02-10 01:38:21', '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2065, '预警记录', 2061, 1, '/404', NULL, NULL, 1, 0, 'C', '0', '0', '', 'date-range', 'admin', '2023-02-10 01:15:22', 'admin', '2023-02-10 01:38:25', '');
-INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2066, '数据管理', 0, 8, 'graphdata', NULL, NULL, 1, 0, 'M', '0', '0', '', 'button', 'admin', '2023-02-10 01:16:28', 'admin', '2023-02-14 02:48:38', '');
+INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2066, '数据管理', 0, 8, 'graphdata', NULL, NULL, 1, 0, 'M', '0', '0', '', 'button', 'admin', '2023-02-10 01:16:28', 'admin', '2023-04-19 00:42:55', '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2087, '文件管理', 2001, 1, 'dataFile', 'dataCenter/dataFile/index', NULL, 1, 0, 'C', '0', '0', 'dataCenter:dataFile:list', 'excel', 'admin', '2023-02-14 01:16:19', 'admin', '2023-02-14 08:36:11', '文件管理菜单');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2088, '文件管理查询', 2087, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'dataCenter:dataFile:query', '#', 'admin', '2023-02-14 01:16:19', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2089, '文件管理新增', 2087, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'dataCenter:dataFile:add', '#', 'admin', '2023-02-14 01:16:19', '', NULL, '');
@@ -390,7 +409,7 @@ INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2299, '文档检索', 2298, 1, 'sdoc', 'searchV2/doc/index', NULL, 1, 0, 'C', '0', '0', '', 'documentation', 'admin', '2023-04-13 08:55:11', 'admin', '2023-04-13 08:59:51', '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2300, '知识点检索', 2298, 2, 'sknowledge', 'searchV2/knowledge/index', NULL, 1, 0, 'C', '0', '0', '', 'skill', 'admin', '2023-04-13 08:56:33', 'admin', '2023-04-13 08:59:44', '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2301, '故障检索', 2298, 3, 'sbreakdown', 'searchV2/breakdown/index', NULL, 1, 0, 'C', '0', '0', '', 'bug', 'admin', '2023-04-13 08:57:28', 'admin', '2023-04-13 08:59:34', '');
-INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2308, '型号构型信息', 2052, 1, 'baseModel', 'ledger/baseModel/index', NULL, 1, 0, 'C', '0', '0', 'ledger:baseModel:list', '#', 'admin', '2023-04-16 07:18:26', 'admin', '2023-04-16 10:50:02', '型号构型信息菜单');
+INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2308, '型号构型信息', 2052, 1, 'baseModel', 'ledger/baseModel/index', NULL, 1, 0, 'C', '0', '0', 'ledger:baseModel:list', 'edit', 'admin', '2023-04-16 07:18:26', 'admin', '2023-04-19 03:37:41', '型号构型信息菜单');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2309, '型号构型信息查询', 2308, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:baseModel:query', '#', 'admin', '2023-04-16 07:18:26', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2310, '型号构型信息新增', 2308, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:baseModel:add', '#', 'admin', '2023-04-16 07:18:26', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2311, '型号构型信息修改', 2308, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:baseModel:edit', '#', 'admin', '2023-04-16 07:18:26', '', NULL, '');
@@ -398,53 +417,54 @@ INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2313, '型号构型信息导出', 2308, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:baseModel:export', '#', 'admin', '2023-04-16 07:18:26', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2315, '平台基本数据', 2052, 2, 'platformBase', NULL, NULL, 1, 0, 'M', '0', '0', NULL, 'checkbox', 'admin', '2023-04-16 10:03:09', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2317, '履历管理', 2052, 3, 'record', NULL, NULL, 1, 0, 'M', '0', '0', NULL, 'code', 'admin', '2023-04-16 10:29:48', '', NULL, '');
-INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2318, '系统履历', 2317, 1, 'systemRecord', 'ledger/systemRecord/index', NULL, 1, 0, 'C', '0', '0', 'ledger:systemRecord:list', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '系统履历菜单');
+INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2318, '系统履历', 2317, 1, 'systemRecord', 'ledger/systemRecord/index', NULL, 1, 0, 'C', '0', '0', 'ledger:systemRecord:list', 'tree', 'admin', '2023-04-16 10:44:06', 'admin', '2023-04-19 03:39:31', '系统履历菜单');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2319, '系统履历查询', 2318, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:systemRecord:query', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2320, '系统履历新增', 2318, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:systemRecord:add', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2321, '系统履历修改', 2318, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:systemRecord:edit', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2322, '系统履历删除', 2318, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:systemRecord:remove', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2323, '系统履历导出', 2318, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:systemRecord:export', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
-INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2324, '分系统履历', 2317, 1, 'subsystemRecord', 'ledger/subsystemRecord/index', NULL, 1, 0, 'C', '0', '0', 'ledger:subsystemRecord:list', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '分系统履历菜单');
+INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2324, '分系统履历', 2317, 1, 'subsystemRecord', 'ledger/subsystemRecord/index', NULL, 1, 0, 'C', '0', '0', 'ledger:subsystemRecord:list', 'textarea', 'admin', '2023-04-16 10:44:06', 'admin', '2023-04-19 03:39:42', '分系统履历菜单');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2325, '分系统履历查询', 2324, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:subsystemRecord:query', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2326, '分系统履历新增', 2324, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:subsystemRecord:add', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2327, '分系统履历修改', 2324, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:subsystemRecord:edit', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2328, '分系统履历删除', 2324, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:subsystemRecord:remove', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2329, '分系统履历导出', 2324, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:subsystemRecord:export', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
-INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2330, '部件履历', 2317, 1, 'partRecord', 'ledger/partRecord/index', NULL, 1, 0, 'C', '0', '0', 'ledger:partRecord:list', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '部件履历菜单');
+INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2330, '部件履历', 2317, 1, 'partRecord', 'ledger/partRecord/index', NULL, 1, 0, 'C', '0', '0', 'ledger:partRecord:list', 'skill', 'admin', '2023-04-16 10:44:06', 'admin', '2023-04-19 03:39:52', '部件履历菜单');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2331, '部件履历查询', 2330, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:partRecord:query', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2332, '部件履历新增', 2330, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:partRecord:add', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2333, '部件履历修改', 2330, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:partRecord:edit', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2334, '部件履历删除', 2330, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:partRecord:remove', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2335, '部件履历导出', 2330, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:partRecord:export', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
-INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2336, '分系统信息', 2315, 3, 'baseSubsystem', 'ledger/baseSubsystem/index', NULL, 1, 0, 'C', '0', '0', 'ledger:baseSubsystem:list', '#', 'admin', '2023-04-16 10:44:06', 'admin', '2023-04-17 06:53:19', '分系统基本信息菜单');
+INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2336, '分系统信息', 2315, 3, 'baseSubsystem', 'ledger/baseSubsystem/index', NULL, 1, 0, 'C', '0', '0', 'ledger:baseSubsystem:list', 'system', 'admin', '2023-04-16 10:44:06', 'admin', '2023-04-19 03:39:07', '分系统基本信息菜单');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2337, '分系统基本信息查询', 2336, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:baseSubsystem:query', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2338, '分系统基本信息新增', 2336, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:baseSubsystem:add', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2339, '分系统基本信息修改', 2336, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:baseSubsystem:edit', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2340, '分系统基本信息删除', 2336, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:baseSubsystem:remove', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2341, '分系统基本信息导出', 2336, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:baseSubsystem:export', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
-INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2342, '系统信息', 2315, 2, 'airSystem', 'ledger/airSystem/index', NULL, 1, 0, 'C', '0', '0', 'ledger:airSystem:list', '#', 'admin', '2023-04-16 10:44:06', 'admin', '2023-04-17 06:53:14', '系统基本信息菜单');
+INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2342, '系统信息', 2315, 2, 'airSystem', 'ledger/airSystem/index', NULL, 1, 0, 'C', '0', '0', 'ledger:airSystem:list', 'redis', 'admin', '2023-04-16 10:44:06', 'admin', '2023-04-19 03:38:45', '系统基本信息菜单');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2343, '系统基本信息查询', 2342, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:airSystem:query', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2344, '系统基本信息新增', 2342, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:airSystem:add', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2345, '系统基本信息修改', 2342, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:airSystem:edit', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2346, '系统基本信息删除', 2342, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:airSystem:remove', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2347, '系统基本信息导出', 2342, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:airSystem:export', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
-INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2348, '部件信息', 2315, 4, 'airPart', 'ledger/airPart/index', NULL, 1, 0, 'C', '0', '0', 'ledger:airPart:list', '#', 'admin', '2023-04-16 10:44:06', 'admin', '2023-04-17 06:53:26', '部件基本信息菜单');
+INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2348, '部件信息', 2315, 4, 'airPart', 'ledger/airPart/index', NULL, 1, 0, 'C', '0', '0', 'ledger:airPart:list', 'table', 'admin', '2023-04-16 10:44:06', 'admin', '2023-04-19 03:39:17', '部件基本信息菜单');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2349, '部件基本信息查询', 2348, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:airPart:query', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2350, '部件基本信息新增', 2348, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:airPart:add', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2351, '部件基本信息修改', 2348, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:airPart:edit', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2352, '部件基本信息删除', 2348, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:airPart:remove', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2353, '部件基本信息导出', 2348, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:airPart:export', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
-INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2354, '机型信息', 2315, 1, 'airModel', 'ledger/airModel/index', NULL, 1, 0, 'C', '0', '0', 'ledger:airModel:list', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '机型信息菜单');
+INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2354, '机型信息', 2315, 1, 'airModel', 'ledger/airModel/index', NULL, 1, 0, 'C', '0', '0', 'ledger:airModel:list', 'slider', 'admin', '2023-04-16 10:44:06', 'admin', '2023-04-19 03:38:39', '机型信息菜单');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2355, '机型信息查询', 2354, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:airModel:query', '#', 'admin', '2023-04-16 10:44:06', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2356, '机型信息新增', 2354, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:airModel:add', '#', 'admin', '2023-04-16 10:44:07', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2357, '机型信息修改', 2354, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:airModel:edit', '#', 'admin', '2023-04-16 10:44:07', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2358, '机型信息删除', 2354, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:airModel:remove', '#', 'admin', '2023-04-16 10:44:07', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2359, '机型信息导出', 2354, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'ledger:airModel:export', '#', 'admin', '2023-04-16 10:44:07', '', NULL, '');
-INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2360, '故障统计', 2056, 1, 'sbreakdown', 'showInfo/breakdown/index', NULL, 1, 0, 'C', '0', '0', 'showInfo:breakdown:list', '#', 'admin', '2023-04-16 11:25:20', 'admin', '2023-04-16 14:44:12', '故障信息菜单');
+INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2360, '故障统计', 2056, 1, 'sbreakdown', 'showInfo/breakdown/index', NULL, 1, 0, 'C', '0', '0', 'showInfo:breakdown:list', 'dict', 'admin', '2023-04-16 11:25:20', 'admin', '2023-04-19 03:38:00', '故障信息菜单');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2361, '故障信息查询', 2360, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'showInfo:breakdown:query', '#', 'admin', '2023-04-16 11:25:20', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2362, '故障信息新增', 2360, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'showInfo:breakdown:add', '#', 'admin', '2023-04-16 11:25:20', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2363, '故障信息修改', 2360, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'showInfo:breakdown:edit', '#', 'admin', '2023-04-16 11:25:20', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2364, '故障信息删除', 2360, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'showInfo:breakdown:remove', '#', 'admin', '2023-04-16 11:25:20', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2365, '故障信息导出', 2360, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'showInfo:breakdown:export', '#', 'admin', '2023-04-16 11:25:20', '', NULL, '');
 INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2366, '报表统计', 2056, 2, 'repairStatistic', 'showInfo/breakdown/statistics/index', NULL, 1, 0, 'C', '0', '0', '', 'chart', 'admin', '2023-04-16 14:46:49', 'admin', '2023-04-17 00:50:14', '');
+
 commit;