chenshudong hai 1 mes
pai
achega
0707a8fed6

+ 6 - 0
airport-admin/pom.xml

@@ -85,6 +85,12 @@
85 85
             <artifactId>airport-personnel</artifactId>
86 86
         </dependency>
87 87
 
88
+        <!-- 设备管理模块-->
89
+        <dependency>
90
+            <groupId>com.sundot.airport</groupId>
91
+            <artifactId>airport-equipment</artifactId>
92
+        </dependency>
93
+
88 94
         <dependency>
89 95
             <groupId>org.projectlombok</groupId>
90 96
             <artifactId>lombok</artifactId>

+ 100 - 0
airport-admin/src/main/java/com/sundot/airport/web/controller/equipment/EquipmentInspectionRecordController.java

@@ -0,0 +1,100 @@
1
+package com.sundot.airport.web.controller.equipment;
2
+
3
+import java.util.List;
4
+import javax.servlet.http.HttpServletResponse;
5
+
6
+import org.springframework.security.access.prepost.PreAuthorize;
7
+import org.springframework.beans.factory.annotation.Autowired;
8
+import org.springframework.web.bind.annotation.GetMapping;
9
+import org.springframework.web.bind.annotation.PostMapping;
10
+import org.springframework.web.bind.annotation.PutMapping;
11
+import org.springframework.web.bind.annotation.DeleteMapping;
12
+import org.springframework.web.bind.annotation.PathVariable;
13
+import org.springframework.web.bind.annotation.RequestBody;
14
+import org.springframework.web.bind.annotation.RequestMapping;
15
+import org.springframework.web.bind.annotation.RestController;
16
+import com.sundot.airport.common.annotation.Log;
17
+import com.sundot.airport.common.core.controller.BaseController;
18
+import com.sundot.airport.common.core.domain.AjaxResult;
19
+import com.sundot.airport.common.enums.BusinessType;
20
+import com.sundot.airport.equipment.domain.EquipmentInspectionRecord;
21
+import com.sundot.airport.equipment.service.IEquipmentInspectionRecordService;
22
+import com.sundot.airport.common.utils.poi.ExcelUtil;
23
+import com.sundot.airport.common.core.page.TableDataInfo;
24
+
25
+/**
26
+ * 设备定检记录Controller
27
+ *
28
+ * @author ruoyi
29
+ * @date 2026-05-12
30
+ */
31
+@RestController
32
+@RequestMapping("/equipment/record")
33
+public class EquipmentInspectionRecordController extends BaseController {
34
+    @Autowired
35
+    private IEquipmentInspectionRecordService equipmentInspectionRecordService;
36
+
37
+    /**
38
+     * 查询设备定检记录列表
39
+     */
40
+    @PreAuthorize("@ss.hasPermi('equipment:record:list')")
41
+    @GetMapping("/list")
42
+    public TableDataInfo list(EquipmentInspectionRecord equipmentInspectionRecord) {
43
+        startPage();
44
+        List<EquipmentInspectionRecord> list = equipmentInspectionRecordService.selectEquipmentInspectionRecordList(equipmentInspectionRecord);
45
+        return getDataTable(list);
46
+    }
47
+
48
+    /**
49
+     * 导出设备定检记录列表
50
+     */
51
+    @PreAuthorize("@ss.hasPermi('equipment:record:export')")
52
+    @Log(title = "设备定检记录", businessType = BusinessType.EXPORT)
53
+    @PostMapping("/export")
54
+    public void export(HttpServletResponse response, EquipmentInspectionRecord equipmentInspectionRecord) {
55
+        List<EquipmentInspectionRecord> list = equipmentInspectionRecordService.selectEquipmentInspectionRecordList(equipmentInspectionRecord);
56
+        ExcelUtil<EquipmentInspectionRecord> util = new ExcelUtil<EquipmentInspectionRecord>(EquipmentInspectionRecord.class);
57
+        util.exportExcel(response, list, "设备定检记录数据");
58
+    }
59
+
60
+    /**
61
+     * 获取设备定检记录详细信息
62
+     */
63
+    @PreAuthorize("@ss.hasPermi('equipment:record:query')")
64
+    @GetMapping(value = "/{id}")
65
+    public AjaxResult getInfo(@PathVariable("id") Long id) {
66
+        return success(equipmentInspectionRecordService.selectEquipmentInspectionRecordById(id));
67
+    }
68
+
69
+    /**
70
+     * 新增设备定检记录
71
+     */
72
+    @PreAuthorize("@ss.hasPermi('equipment:record:add')")
73
+    @Log(title = "设备定检记录", businessType = BusinessType.INSERT)
74
+    @PostMapping
75
+    public AjaxResult add(@RequestBody EquipmentInspectionRecord equipmentInspectionRecord) {
76
+        equipmentInspectionRecord.setCreateBy(getUsername());
77
+        return toAjax(equipmentInspectionRecordService.insertEquipmentInspectionRecord(equipmentInspectionRecord));
78
+    }
79
+
80
+    /**
81
+     * 修改设备定检记录
82
+     */
83
+    @PreAuthorize("@ss.hasPermi('equipment:record:edit')")
84
+    @Log(title = "设备定检记录", businessType = BusinessType.UPDATE)
85
+    @PutMapping
86
+    public AjaxResult edit(@RequestBody EquipmentInspectionRecord equipmentInspectionRecord) {
87
+        equipmentInspectionRecord.setUpdateBy(getUsername());
88
+        return toAjax(equipmentInspectionRecordService.updateEquipmentInspectionRecord(equipmentInspectionRecord));
89
+    }
90
+
91
+    /**
92
+     * 删除设备定检记录
93
+     */
94
+    @PreAuthorize("@ss.hasPermi('equipment:record:remove')")
95
+    @Log(title = "设备定检记录", businessType = BusinessType.DELETE)
96
+    @DeleteMapping("/{ids}")
97
+    public AjaxResult remove(@PathVariable Long[] ids) {
98
+        return toAjax(equipmentInspectionRecordService.deleteEquipmentInspectionRecordByIds(ids));
99
+    }
100
+}

+ 100 - 0
airport-admin/src/main/java/com/sundot/airport/web/controller/equipment/EquipmentLedgerController.java

@@ -0,0 +1,100 @@
1
+package com.sundot.airport.web.controller.equipment;
2
+
3
+import java.util.List;
4
+import javax.servlet.http.HttpServletResponse;
5
+
6
+import org.springframework.security.access.prepost.PreAuthorize;
7
+import org.springframework.beans.factory.annotation.Autowired;
8
+import org.springframework.web.bind.annotation.GetMapping;
9
+import org.springframework.web.bind.annotation.PostMapping;
10
+import org.springframework.web.bind.annotation.PutMapping;
11
+import org.springframework.web.bind.annotation.DeleteMapping;
12
+import org.springframework.web.bind.annotation.PathVariable;
13
+import org.springframework.web.bind.annotation.RequestBody;
14
+import org.springframework.web.bind.annotation.RequestMapping;
15
+import org.springframework.web.bind.annotation.RestController;
16
+import com.sundot.airport.common.annotation.Log;
17
+import com.sundot.airport.common.core.controller.BaseController;
18
+import com.sundot.airport.common.core.domain.AjaxResult;
19
+import com.sundot.airport.common.enums.BusinessType;
20
+import com.sundot.airport.equipment.domain.EquipmentLedger;
21
+import com.sundot.airport.equipment.service.IEquipmentLedgerService;
22
+import com.sundot.airport.common.utils.poi.ExcelUtil;
23
+import com.sundot.airport.common.core.page.TableDataInfo;
24
+
25
+/**
26
+ * 设备台账Controller
27
+ *
28
+ * @author ruoyi
29
+ * @date 2026-05-12
30
+ */
31
+@RestController
32
+@RequestMapping("/equipment/ledger")
33
+public class EquipmentLedgerController extends BaseController {
34
+    @Autowired
35
+    private IEquipmentLedgerService equipmentLedgerService;
36
+
37
+    /**
38
+     * 查询设备台账列表
39
+     */
40
+    @PreAuthorize("@ss.hasPermi('equipment:ledger:list')")
41
+    @GetMapping("/list")
42
+    public TableDataInfo list(EquipmentLedger equipmentLedger) {
43
+        startPage();
44
+        List<EquipmentLedger> list = equipmentLedgerService.selectEquipmentLedgerList(equipmentLedger);
45
+        return getDataTable(list);
46
+    }
47
+
48
+    /**
49
+     * 导出设备台账列表
50
+     */
51
+    @PreAuthorize("@ss.hasPermi('equipment:ledger:export')")
52
+    @Log(title = "设备台账", businessType = BusinessType.EXPORT)
53
+    @PostMapping("/export")
54
+    public void export(HttpServletResponse response, EquipmentLedger equipmentLedger) {
55
+        List<EquipmentLedger> list = equipmentLedgerService.selectEquipmentLedgerList(equipmentLedger);
56
+        ExcelUtil<EquipmentLedger> util = new ExcelUtil<EquipmentLedger>(EquipmentLedger.class);
57
+        util.exportExcel(response, list, "设备台账数据");
58
+    }
59
+
60
+    /**
61
+     * 获取设备台账详细信息
62
+     */
63
+    @PreAuthorize("@ss.hasPermi('equipment:ledger:query')")
64
+    @GetMapping(value = "/{id}")
65
+    public AjaxResult getInfo(@PathVariable("id") Long id) {
66
+        return success(equipmentLedgerService.selectEquipmentLedgerById(id));
67
+    }
68
+
69
+    /**
70
+     * 新增设备台账
71
+     */
72
+    @PreAuthorize("@ss.hasPermi('equipment:ledger:add')")
73
+    @Log(title = "设备台账", businessType = BusinessType.INSERT)
74
+    @PostMapping
75
+    public AjaxResult add(@RequestBody EquipmentLedger equipmentLedger) {
76
+        equipmentLedger.setCreateBy(getUsername());
77
+        return toAjax(equipmentLedgerService.insertEquipmentLedger(equipmentLedger));
78
+    }
79
+
80
+    /**
81
+     * 修改设备台账
82
+     */
83
+    @PreAuthorize("@ss.hasPermi('equipment:ledger:edit')")
84
+    @Log(title = "设备台账", businessType = BusinessType.UPDATE)
85
+    @PutMapping
86
+    public AjaxResult edit(@RequestBody EquipmentLedger equipmentLedger) {
87
+        equipmentLedger.setUpdateBy(getUsername());
88
+        return toAjax(equipmentLedgerService.updateEquipmentLedger(equipmentLedger));
89
+    }
90
+
91
+    /**
92
+     * 删除设备台账
93
+     */
94
+    @PreAuthorize("@ss.hasPermi('equipment:ledger:remove')")
95
+    @Log(title = "设备台账", businessType = BusinessType.DELETE)
96
+    @DeleteMapping("/{ids}")
97
+    public AjaxResult remove(@PathVariable Long[] ids) {
98
+        return toAjax(equipmentLedgerService.deleteEquipmentLedgerByIds(ids));
99
+    }
100
+}

+ 41 - 0
airport-equipment/pom.xml

@@ -0,0 +1,41 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project xmlns="http://maven.apache.org/POM/4.0.0"
3
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
+    <parent>
6
+        <groupId>com.sundot.airport</groupId>
7
+        <artifactId>airport</artifactId>
8
+        <version>3.9.0</version>
9
+    </parent>
10
+
11
+    <modelVersion>4.0.0</modelVersion>
12
+
13
+    <artifactId>airport-equipment</artifactId>
14
+
15
+    <description>
16
+        equipment设备管理模块
17
+    </description>
18
+
19
+    <dependencies>
20
+
21
+        <!-- 通用工具-->
22
+        <dependency>
23
+            <groupId>com.sundot.airport</groupId>
24
+            <artifactId>airport-common</artifactId>
25
+        </dependency>
26
+
27
+        <!-- 系统模块 -->
28
+        <dependency>
29
+            <groupId>com.sundot.airport</groupId>
30
+            <artifactId>airport-system</artifactId>
31
+        </dependency>
32
+
33
+        <dependency>
34
+            <groupId>org.projectlombok</groupId>
35
+            <artifactId>lombok</artifactId>
36
+            <scope>provided</scope>
37
+        </dependency>
38
+
39
+    </dependencies>
40
+
41
+</project>

+ 152 - 0
airport-equipment/src/main/java/com/sundot/airport/equipment/domain/EquipmentInspectionRecord.java

@@ -0,0 +1,152 @@
1
+package com.sundot.airport.equipment.domain;
2
+
3
+import java.util.Date;
4
+
5
+import com.baomidou.mybatisplus.annotation.IdType;
6
+import com.baomidou.mybatisplus.annotation.TableId;
7
+import com.baomidou.mybatisplus.annotation.TableName;
8
+import com.fasterxml.jackson.annotation.JsonFormat;
9
+import org.apache.commons.lang3.builder.ToStringBuilder;
10
+import org.apache.commons.lang3.builder.ToStringStyle;
11
+import com.sundot.airport.common.annotation.Excel;
12
+import com.sundot.airport.common.core.domain.BaseEntity;
13
+import org.springframework.format.annotation.DateTimeFormat;
14
+
15
+/**
16
+ * 设备定检记录对象 equipment_inspection_record
17
+ *
18
+ * @author ruoyi
19
+ * @date 2026-05-12
20
+ */
21
+@TableName("equipment_inspection_record")
22
+public class EquipmentInspectionRecord extends BaseEntity {
23
+    private static final long serialVersionUID = 1L;
24
+
25
+    /** 租户号 */
26
+    private String tenantId;
27
+
28
+    /** 乐观锁 */
29
+    private Integer revision;
30
+
31
+    /** 主键 */
32
+    @TableId(type = IdType.AUTO)
33
+    private Long id;
34
+
35
+    /** 来源ID */
36
+    @Excel(name = "来源ID")
37
+    private Long sourceId;
38
+
39
+    /** 定检日期 */
40
+    @JsonFormat(pattern = "yyyy-MM-dd")
41
+    @DateTimeFormat(pattern = "yyyy-MM-dd")
42
+    @Excel(name = "定检日期", width = 30, dateFormat = "yyyy-MM-dd")
43
+    private Date inspectionDate;
44
+
45
+    /** 定检结论 */
46
+    @Excel(name = "定检结论")
47
+    private String inspectionResult;
48
+
49
+    /** 定检小组ID */
50
+    @Excel(name = "定检小组ID")
51
+    private String inspectionTeamId;
52
+
53
+    /** 定检小组名称 */
54
+    @Excel(name = "定检小组名称")
55
+    private String inspectionTeamName;
56
+
57
+    /** 定检性质 */
58
+    @Excel(name = "定检性质")
59
+    private String inspectionNature;
60
+
61
+    public void setTenantId(String tenantId) {
62
+        this.tenantId = tenantId;
63
+    }
64
+
65
+    public String getTenantId() {
66
+        return tenantId;
67
+    }
68
+
69
+    public void setRevision(Integer revision) {
70
+        this.revision = revision;
71
+    }
72
+
73
+    public Integer getRevision() {
74
+        return revision;
75
+    }
76
+
77
+    public void setId(Long id) {
78
+        this.id = id;
79
+    }
80
+
81
+    public Long getId() {
82
+        return id;
83
+    }
84
+
85
+    public void setSourceId(Long sourceId) {
86
+        this.sourceId = sourceId;
87
+    }
88
+
89
+    public Long getSourceId() {
90
+        return sourceId;
91
+    }
92
+
93
+    public void setInspectionDate(Date inspectionDate) {
94
+        this.inspectionDate = inspectionDate;
95
+    }
96
+
97
+    public Date getInspectionDate() {
98
+        return inspectionDate;
99
+    }
100
+
101
+    public void setInspectionResult(String inspectionResult) {
102
+        this.inspectionResult = inspectionResult;
103
+    }
104
+
105
+    public String getInspectionResult() {
106
+        return inspectionResult;
107
+    }
108
+
109
+    public void setInspectionTeamId(String inspectionTeamId) {
110
+        this.inspectionTeamId = inspectionTeamId;
111
+    }
112
+
113
+    public String getInspectionTeamId() {
114
+        return inspectionTeamId;
115
+    }
116
+
117
+    public void setInspectionTeamName(String inspectionTeamName) {
118
+        this.inspectionTeamName = inspectionTeamName;
119
+    }
120
+
121
+    public String getInspectionTeamName() {
122
+        return inspectionTeamName;
123
+    }
124
+
125
+    public void setInspectionNature(String inspectionNature) {
126
+        this.inspectionNature = inspectionNature;
127
+    }
128
+
129
+    public String getInspectionNature() {
130
+        return inspectionNature;
131
+    }
132
+
133
+    @Override
134
+    public String toString() {
135
+        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
136
+                .append("tenantId", getTenantId())
137
+                .append("revision", getRevision())
138
+                .append("createBy", getCreateBy())
139
+                .append("createTime", getCreateTime())
140
+                .append("updateBy", getUpdateBy())
141
+                .append("updateTime", getUpdateTime())
142
+                .append("remark", getRemark())
143
+                .append("id", getId())
144
+                .append("sourceId", getSourceId())
145
+                .append("inspectionDate", getInspectionDate())
146
+                .append("inspectionResult", getInspectionResult())
147
+                .append("inspectionTeamId", getInspectionTeamId())
148
+                .append("inspectionTeamName", getInspectionTeamName())
149
+                .append("inspectionNature", getInspectionNature())
150
+                .toString();
151
+    }
152
+}

+ 396 - 0
airport-equipment/src/main/java/com/sundot/airport/equipment/domain/EquipmentLedger.java

@@ -0,0 +1,396 @@
1
+package com.sundot.airport.equipment.domain;
2
+
3
+import java.util.Date;
4
+
5
+import com.baomidou.mybatisplus.annotation.IdType;
6
+import com.baomidou.mybatisplus.annotation.TableId;
7
+import com.baomidou.mybatisplus.annotation.TableName;
8
+import com.fasterxml.jackson.annotation.JsonFormat;
9
+import org.apache.commons.lang3.builder.ToStringBuilder;
10
+import org.apache.commons.lang3.builder.ToStringStyle;
11
+import com.sundot.airport.common.annotation.Excel;
12
+import com.sundot.airport.common.core.domain.BaseEntity;
13
+import org.springframework.format.annotation.DateTimeFormat;
14
+
15
+/**
16
+ * 设备台账对象 equipment_ledger
17
+ *
18
+ * @author ruoyi
19
+ * @date 2026-05-12
20
+ */
21
+@TableName("equipment_ledger")
22
+public class EquipmentLedger extends BaseEntity {
23
+    private static final long serialVersionUID = 1L;
24
+
25
+    /** 租户号 */
26
+    private String tenantId;
27
+
28
+    /** 乐观锁 */
29
+    private Integer revision;
30
+
31
+    /** 主键 */
32
+    @TableId(type = IdType.AUTO)
33
+    private Long id;
34
+
35
+    /** 设备编号 */
36
+    @Excel(name = "设备编号")
37
+    private String equipmentCode;
38
+
39
+    /** 设备名称 */
40
+    @Excel(name = "设备名称")
41
+    private String equipmentName;
42
+
43
+    /** 设备种类 */
44
+    @Excel(name = "设备种类")
45
+    private String equipmentType;
46
+
47
+    /** 设备类别 */
48
+    @Excel(name = "设备类别")
49
+    private String equipmentCategory;
50
+
51
+    /** 设备品牌 */
52
+    @Excel(name = "设备品牌")
53
+    private String equipmentBrand;
54
+
55
+    /** 设备型号 */
56
+    @Excel(name = "设备型号")
57
+    private String equipmentModel;
58
+
59
+    /** 设备序列号 */
60
+    @Excel(name = "设备序列号")
61
+    private String equipmentSerialNumber;
62
+
63
+    /** 生产厂家 */
64
+    @Excel(name = "生产厂家")
65
+    private String manufacturer;
66
+
67
+    /** 出厂日期 */
68
+    @JsonFormat(pattern = "yyyy-MM-dd")
69
+    @DateTimeFormat(pattern = "yyyy-MM-dd")
70
+    @Excel(name = "出厂日期", width = 30, dateFormat = "yyyy-MM-dd")
71
+    private Date manufacturingDate;
72
+
73
+    /** 验收日期 */
74
+    @JsonFormat(pattern = "yyyy-MM-dd")
75
+    @DateTimeFormat(pattern = "yyyy-MM-dd")
76
+    @Excel(name = "验收日期", width = 30, dateFormat = "yyyy-MM-dd")
77
+    private Date acceptanceDate;
78
+
79
+    /** 启用日期 */
80
+    @JsonFormat(pattern = "yyyy-MM-dd")
81
+    @DateTimeFormat(pattern = "yyyy-MM-dd")
82
+    @Excel(name = "启用日期", width = 30, dateFormat = "yyyy-MM-dd")
83
+    private Date commissioningDate;
84
+
85
+    /** 首次验收情况 */
86
+    @Excel(name = "首次验收情况")
87
+    private String initialAcceptanceStatus;
88
+
89
+    /** 使用状态 */
90
+    @Excel(name = "使用状态")
91
+    private String usageStatus;
92
+
93
+    /** 报废日期 */
94
+    @JsonFormat(pattern = "yyyy-MM-dd")
95
+    @DateTimeFormat(pattern = "yyyy-MM-dd")
96
+    @Excel(name = "报废日期", width = 30, dateFormat = "yyyy-MM-dd")
97
+    private Date scrappingDate;
98
+
99
+    /** 安装位置 */
100
+    @Excel(name = "安装位置")
101
+    private String installationLocation;
102
+
103
+    /** 定/自检日期 */
104
+    @JsonFormat(pattern = "yyyy-MM-dd")
105
+    @DateTimeFormat(pattern = "yyyy-MM-dd")
106
+    @Excel(name = "定/自检日期", width = 30, dateFormat = "yyyy-MM-dd")
107
+    private Date inspectionSelfCheckDate;
108
+
109
+    /** 定/自检周期 */
110
+    @Excel(name = "定/自检周期")
111
+    private Integer inspectionSelfCheckCycle;
112
+
113
+    /** 最近定/自检到期日期 */
114
+    @JsonFormat(pattern = "yyyy-MM-dd")
115
+    @DateTimeFormat(pattern = "yyyy-MM-dd")
116
+    @Excel(name = "最近定/自检到期日期", width = 30, dateFormat = "yyyy-MM-dd")
117
+    private Date nextInspectionDueDate;
118
+
119
+    /** 定/自检小组组长ID */
120
+    @Excel(name = "定/自检小组组长ID")
121
+    private Long inspectionTeamLeaderId;
122
+
123
+    /** 定/自检小组组长名称 */
124
+    @Excel(name = "定/自检小组组长名称")
125
+    private String inspectionTeamLeaderName;
126
+
127
+    /** 定/自检小组组员1ID */
128
+    @Excel(name = "定/自检小组组员1ID")
129
+    private Long inspectionTeamMember1Id;
130
+
131
+    /** 定/自检小组组员1名称 */
132
+    @Excel(name = "定/自检小组组员1名称")
133
+    private String inspectionTeamMember1Name;
134
+
135
+    /** 定/自检小组组员2ID */
136
+    @Excel(name = "定/自检小组组员2ID")
137
+    private Long inspectionTeamMember2Id;
138
+
139
+    /** 定/自检小组组员2名称 */
140
+    @Excel(name = "定/自检小组组员2名称")
141
+    private String inspectionTeamMember2Name;
142
+
143
+    public void setTenantId(String tenantId) {
144
+        this.tenantId = tenantId;
145
+    }
146
+
147
+    public String getTenantId() {
148
+        return tenantId;
149
+    }
150
+
151
+    public void setRevision(Integer revision) {
152
+        this.revision = revision;
153
+    }
154
+
155
+    public Integer getRevision() {
156
+        return revision;
157
+    }
158
+
159
+    public void setId(Long id) {
160
+        this.id = id;
161
+    }
162
+
163
+    public Long getId() {
164
+        return id;
165
+    }
166
+
167
+    public void setEquipmentCode(String equipmentCode) {
168
+        this.equipmentCode = equipmentCode;
169
+    }
170
+
171
+    public String getEquipmentCode() {
172
+        return equipmentCode;
173
+    }
174
+
175
+    public void setEquipmentName(String equipmentName) {
176
+        this.equipmentName = equipmentName;
177
+    }
178
+
179
+    public String getEquipmentName() {
180
+        return equipmentName;
181
+    }
182
+
183
+    public void setEquipmentType(String equipmentType) {
184
+        this.equipmentType = equipmentType;
185
+    }
186
+
187
+    public String getEquipmentType() {
188
+        return equipmentType;
189
+    }
190
+
191
+    public void setEquipmentCategory(String equipmentCategory) {
192
+        this.equipmentCategory = equipmentCategory;
193
+    }
194
+
195
+    public String getEquipmentCategory() {
196
+        return equipmentCategory;
197
+    }
198
+
199
+    public void setEquipmentBrand(String equipmentBrand) {
200
+        this.equipmentBrand = equipmentBrand;
201
+    }
202
+
203
+    public String getEquipmentBrand() {
204
+        return equipmentBrand;
205
+    }
206
+
207
+    public void setEquipmentModel(String equipmentModel) {
208
+        this.equipmentModel = equipmentModel;
209
+    }
210
+
211
+    public String getEquipmentModel() {
212
+        return equipmentModel;
213
+    }
214
+
215
+    public void setEquipmentSerialNumber(String equipmentSerialNumber) {
216
+        this.equipmentSerialNumber = equipmentSerialNumber;
217
+    }
218
+
219
+    public String getEquipmentSerialNumber() {
220
+        return equipmentSerialNumber;
221
+    }
222
+
223
+    public void setManufacturer(String manufacturer) {
224
+        this.manufacturer = manufacturer;
225
+    }
226
+
227
+    public String getManufacturer() {
228
+        return manufacturer;
229
+    }
230
+
231
+    public void setManufacturingDate(Date manufacturingDate) {
232
+        this.manufacturingDate = manufacturingDate;
233
+    }
234
+
235
+    public Date getManufacturingDate() {
236
+        return manufacturingDate;
237
+    }
238
+
239
+    public void setAcceptanceDate(Date acceptanceDate) {
240
+        this.acceptanceDate = acceptanceDate;
241
+    }
242
+
243
+    public Date getAcceptanceDate() {
244
+        return acceptanceDate;
245
+    }
246
+
247
+    public void setCommissioningDate(Date commissioningDate) {
248
+        this.commissioningDate = commissioningDate;
249
+    }
250
+
251
+    public Date getCommissioningDate() {
252
+        return commissioningDate;
253
+    }
254
+
255
+    public void setInitialAcceptanceStatus(String initialAcceptanceStatus) {
256
+        this.initialAcceptanceStatus = initialAcceptanceStatus;
257
+    }
258
+
259
+    public String getInitialAcceptanceStatus() {
260
+        return initialAcceptanceStatus;
261
+    }
262
+
263
+    public void setUsageStatus(String usageStatus) {
264
+        this.usageStatus = usageStatus;
265
+    }
266
+
267
+    public String getUsageStatus() {
268
+        return usageStatus;
269
+    }
270
+
271
+    public void setScrappingDate(Date scrappingDate) {
272
+        this.scrappingDate = scrappingDate;
273
+    }
274
+
275
+    public Date getScrappingDate() {
276
+        return scrappingDate;
277
+    }
278
+
279
+    public void setInstallationLocation(String installationLocation) {
280
+        this.installationLocation = installationLocation;
281
+    }
282
+
283
+    public String getInstallationLocation() {
284
+        return installationLocation;
285
+    }
286
+
287
+    public void setInspectionSelfCheckDate(Date inspectionSelfCheckDate) {
288
+        this.inspectionSelfCheckDate = inspectionSelfCheckDate;
289
+    }
290
+
291
+    public Date getInspectionSelfCheckDate() {
292
+        return inspectionSelfCheckDate;
293
+    }
294
+
295
+    public void setInspectionSelfCheckCycle(Integer inspectionSelfCheckCycle) {
296
+        this.inspectionSelfCheckCycle = inspectionSelfCheckCycle;
297
+    }
298
+
299
+    public Integer getInspectionSelfCheckCycle() {
300
+        return inspectionSelfCheckCycle;
301
+    }
302
+
303
+    public void setNextInspectionDueDate(Date nextInspectionDueDate) {
304
+        this.nextInspectionDueDate = nextInspectionDueDate;
305
+    }
306
+
307
+    public Date getNextInspectionDueDate() {
308
+        return nextInspectionDueDate;
309
+    }
310
+
311
+    public void setInspectionTeamLeaderId(Long inspectionTeamLeaderId) {
312
+        this.inspectionTeamLeaderId = inspectionTeamLeaderId;
313
+    }
314
+
315
+    public Long getInspectionTeamLeaderId() {
316
+        return inspectionTeamLeaderId;
317
+    }
318
+
319
+    public void setInspectionTeamLeaderName(String inspectionTeamLeaderName) {
320
+        this.inspectionTeamLeaderName = inspectionTeamLeaderName;
321
+    }
322
+
323
+    public String getInspectionTeamLeaderName() {
324
+        return inspectionTeamLeaderName;
325
+    }
326
+
327
+    public void setInspectionTeamMember1Id(Long inspectionTeamMember1Id) {
328
+        this.inspectionTeamMember1Id = inspectionTeamMember1Id;
329
+    }
330
+
331
+    public Long getInspectionTeamMember1Id() {
332
+        return inspectionTeamMember1Id;
333
+    }
334
+
335
+    public void setInspectionTeamMember1Name(String inspectionTeamMember1Name) {
336
+        this.inspectionTeamMember1Name = inspectionTeamMember1Name;
337
+    }
338
+
339
+    public String getInspectionTeamMember1Name() {
340
+        return inspectionTeamMember1Name;
341
+    }
342
+
343
+    public void setInspectionTeamMember2Id(Long inspectionTeamMember2Id) {
344
+        this.inspectionTeamMember2Id = inspectionTeamMember2Id;
345
+    }
346
+
347
+    public Long getInspectionTeamMember2Id() {
348
+        return inspectionTeamMember2Id;
349
+    }
350
+
351
+    public void setInspectionTeamMember2Name(String inspectionTeamMember2Name) {
352
+        this.inspectionTeamMember2Name = inspectionTeamMember2Name;
353
+    }
354
+
355
+    public String getInspectionTeamMember2Name() {
356
+        return inspectionTeamMember2Name;
357
+    }
358
+
359
+    @Override
360
+    public String toString() {
361
+        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
362
+                .append("tenantId", getTenantId())
363
+                .append("revision", getRevision())
364
+                .append("createBy", getCreateBy())
365
+                .append("createTime", getCreateTime())
366
+                .append("updateBy", getUpdateBy())
367
+                .append("updateTime", getUpdateTime())
368
+                .append("remark", getRemark())
369
+                .append("id", getId())
370
+                .append("equipmentCode", getEquipmentCode())
371
+                .append("equipmentName", getEquipmentName())
372
+                .append("equipmentType", getEquipmentType())
373
+                .append("equipmentCategory", getEquipmentCategory())
374
+                .append("equipmentBrand", getEquipmentBrand())
375
+                .append("equipmentModel", getEquipmentModel())
376
+                .append("equipmentSerialNumber", getEquipmentSerialNumber())
377
+                .append("manufacturer", getManufacturer())
378
+                .append("manufacturingDate", getManufacturingDate())
379
+                .append("acceptanceDate", getAcceptanceDate())
380
+                .append("commissioningDate", getCommissioningDate())
381
+                .append("initialAcceptanceStatus", getInitialAcceptanceStatus())
382
+                .append("usageStatus", getUsageStatus())
383
+                .append("scrappingDate", getScrappingDate())
384
+                .append("installationLocation", getInstallationLocation())
385
+                .append("inspectionSelfCheckDate", getInspectionSelfCheckDate())
386
+                .append("inspectionSelfCheckCycle", getInspectionSelfCheckCycle())
387
+                .append("nextInspectionDueDate", getNextInspectionDueDate())
388
+                .append("inspectionTeamLeaderId", getInspectionTeamLeaderId())
389
+                .append("inspectionTeamLeaderName", getInspectionTeamLeaderName())
390
+                .append("inspectionTeamMember1Id", getInspectionTeamMember1Id())
391
+                .append("inspectionTeamMember1Name", getInspectionTeamMember1Name())
392
+                .append("inspectionTeamMember2Id", getInspectionTeamMember2Id())
393
+                .append("inspectionTeamMember2Name", getInspectionTeamMember2Name())
394
+                .toString();
395
+    }
396
+}

+ 62 - 0
airport-equipment/src/main/java/com/sundot/airport/equipment/mapper/EquipmentInspectionRecordMapper.java

@@ -0,0 +1,62 @@
1
+package com.sundot.airport.equipment.mapper;
2
+
3
+import java.util.List;
4
+
5
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
6
+import com.sundot.airport.equipment.domain.EquipmentInspectionRecord;
7
+
8
+/**
9
+ * 设备定检记录Mapper接口
10
+ *
11
+ * @author ruoyi
12
+ * @date 2026-05-12
13
+ */
14
+public interface EquipmentInspectionRecordMapper extends BaseMapper<EquipmentInspectionRecord> {
15
+    /**
16
+     * 查询设备定检记录
17
+     *
18
+     * @param id 设备定检记录主键
19
+     * @return 设备定检记录
20
+     */
21
+    public EquipmentInspectionRecord selectEquipmentInspectionRecordById(Long id);
22
+
23
+    /**
24
+     * 查询设备定检记录列表
25
+     *
26
+     * @param equipmentInspectionRecord 设备定检记录
27
+     * @return 设备定检记录集合
28
+     */
29
+    public List<EquipmentInspectionRecord> selectEquipmentInspectionRecordList(EquipmentInspectionRecord equipmentInspectionRecord);
30
+
31
+    /**
32
+     * 新增设备定检记录
33
+     *
34
+     * @param equipmentInspectionRecord 设备定检记录
35
+     * @return 结果
36
+     */
37
+    public int insertEquipmentInspectionRecord(EquipmentInspectionRecord equipmentInspectionRecord);
38
+
39
+    /**
40
+     * 修改设备定检记录
41
+     *
42
+     * @param equipmentInspectionRecord 设备定检记录
43
+     * @return 结果
44
+     */
45
+    public int updateEquipmentInspectionRecord(EquipmentInspectionRecord equipmentInspectionRecord);
46
+
47
+    /**
48
+     * 删除设备定检记录
49
+     *
50
+     * @param id 设备定检记录主键
51
+     * @return 结果
52
+     */
53
+    public int deleteEquipmentInspectionRecordById(Long id);
54
+
55
+    /**
56
+     * 批量删除设备定检记录
57
+     *
58
+     * @param ids 需要删除的数据主键集合
59
+     * @return 结果
60
+     */
61
+    public int deleteEquipmentInspectionRecordByIds(Long[] ids);
62
+}

+ 62 - 0
airport-equipment/src/main/java/com/sundot/airport/equipment/mapper/EquipmentLedgerMapper.java

@@ -0,0 +1,62 @@
1
+package com.sundot.airport.equipment.mapper;
2
+
3
+import java.util.List;
4
+
5
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
6
+import com.sundot.airport.equipment.domain.EquipmentLedger;
7
+
8
+/**
9
+ * 设备台账Mapper接口
10
+ *
11
+ * @author ruoyi
12
+ * @date 2026-05-12
13
+ */
14
+public interface EquipmentLedgerMapper extends BaseMapper<EquipmentLedger> {
15
+    /**
16
+     * 查询设备台账
17
+     *
18
+     * @param id 设备台账主键
19
+     * @return 设备台账
20
+     */
21
+    public EquipmentLedger selectEquipmentLedgerById(Long id);
22
+
23
+    /**
24
+     * 查询设备台账列表
25
+     *
26
+     * @param equipmentLedger 设备台账
27
+     * @return 设备台账集合
28
+     */
29
+    public List<EquipmentLedger> selectEquipmentLedgerList(EquipmentLedger equipmentLedger);
30
+
31
+    /**
32
+     * 新增设备台账
33
+     *
34
+     * @param equipmentLedger 设备台账
35
+     * @return 结果
36
+     */
37
+    public int insertEquipmentLedger(EquipmentLedger equipmentLedger);
38
+
39
+    /**
40
+     * 修改设备台账
41
+     *
42
+     * @param equipmentLedger 设备台账
43
+     * @return 结果
44
+     */
45
+    public int updateEquipmentLedger(EquipmentLedger equipmentLedger);
46
+
47
+    /**
48
+     * 删除设备台账
49
+     *
50
+     * @param id 设备台账主键
51
+     * @return 结果
52
+     */
53
+    public int deleteEquipmentLedgerById(Long id);
54
+
55
+    /**
56
+     * 批量删除设备台账
57
+     *
58
+     * @param ids 需要删除的数据主键集合
59
+     * @return 结果
60
+     */
61
+    public int deleteEquipmentLedgerByIds(Long[] ids);
62
+}

+ 62 - 0
airport-equipment/src/main/java/com/sundot/airport/equipment/service/IEquipmentInspectionRecordService.java

@@ -0,0 +1,62 @@
1
+package com.sundot.airport.equipment.service;
2
+
3
+import java.util.List;
4
+
5
+import com.baomidou.mybatisplus.extension.service.IService;
6
+import com.sundot.airport.equipment.domain.EquipmentInspectionRecord;
7
+
8
+/**
9
+ * 设备定检记录Service接口
10
+ *
11
+ * @author ruoyi
12
+ * @date 2026-05-12
13
+ */
14
+public interface IEquipmentInspectionRecordService extends IService<EquipmentInspectionRecord> {
15
+    /**
16
+     * 查询设备定检记录
17
+     *
18
+     * @param id 设备定检记录主键
19
+     * @return 设备定检记录
20
+     */
21
+    public EquipmentInspectionRecord selectEquipmentInspectionRecordById(Long id);
22
+
23
+    /**
24
+     * 查询设备定检记录列表
25
+     *
26
+     * @param equipmentInspectionRecord 设备定检记录
27
+     * @return 设备定检记录集合
28
+     */
29
+    public List<EquipmentInspectionRecord> selectEquipmentInspectionRecordList(EquipmentInspectionRecord equipmentInspectionRecord);
30
+
31
+    /**
32
+     * 新增设备定检记录
33
+     *
34
+     * @param equipmentInspectionRecord 设备定检记录
35
+     * @return 结果
36
+     */
37
+    public int insertEquipmentInspectionRecord(EquipmentInspectionRecord equipmentInspectionRecord);
38
+
39
+    /**
40
+     * 修改设备定检记录
41
+     *
42
+     * @param equipmentInspectionRecord 设备定检记录
43
+     * @return 结果
44
+     */
45
+    public int updateEquipmentInspectionRecord(EquipmentInspectionRecord equipmentInspectionRecord);
46
+
47
+    /**
48
+     * 批量删除设备定检记录
49
+     *
50
+     * @param ids 需要删除的设备定检记录主键集合
51
+     * @return 结果
52
+     */
53
+    public int deleteEquipmentInspectionRecordByIds(Long[] ids);
54
+
55
+    /**
56
+     * 删除设备定检记录信息
57
+     *
58
+     * @param id 设备定检记录主键
59
+     * @return 结果
60
+     */
61
+    public int deleteEquipmentInspectionRecordById(Long id);
62
+}

+ 62 - 0
airport-equipment/src/main/java/com/sundot/airport/equipment/service/IEquipmentLedgerService.java

@@ -0,0 +1,62 @@
1
+package com.sundot.airport.equipment.service;
2
+
3
+import java.util.List;
4
+
5
+import com.baomidou.mybatisplus.extension.service.IService;
6
+import com.sundot.airport.equipment.domain.EquipmentLedger;
7
+
8
+/**
9
+ * 设备台账Service接口
10
+ *
11
+ * @author ruoyi
12
+ * @date 2026-05-12
13
+ */
14
+public interface IEquipmentLedgerService extends IService<EquipmentLedger> {
15
+    /**
16
+     * 查询设备台账
17
+     *
18
+     * @param id 设备台账主键
19
+     * @return 设备台账
20
+     */
21
+    public EquipmentLedger selectEquipmentLedgerById(Long id);
22
+
23
+    /**
24
+     * 查询设备台账列表
25
+     *
26
+     * @param equipmentLedger 设备台账
27
+     * @return 设备台账集合
28
+     */
29
+    public List<EquipmentLedger> selectEquipmentLedgerList(EquipmentLedger equipmentLedger);
30
+
31
+    /**
32
+     * 新增设备台账
33
+     *
34
+     * @param equipmentLedger 设备台账
35
+     * @return 结果
36
+     */
37
+    public int insertEquipmentLedger(EquipmentLedger equipmentLedger);
38
+
39
+    /**
40
+     * 修改设备台账
41
+     *
42
+     * @param equipmentLedger 设备台账
43
+     * @return 结果
44
+     */
45
+    public int updateEquipmentLedger(EquipmentLedger equipmentLedger);
46
+
47
+    /**
48
+     * 批量删除设备台账
49
+     *
50
+     * @param ids 需要删除的设备台账主键集合
51
+     * @return 结果
52
+     */
53
+    public int deleteEquipmentLedgerByIds(Long[] ids);
54
+
55
+    /**
56
+     * 删除设备台账信息
57
+     *
58
+     * @param id 设备台账主键
59
+     * @return 结果
60
+     */
61
+    public int deleteEquipmentLedgerById(Long id);
62
+}

+ 91 - 0
airport-equipment/src/main/java/com/sundot/airport/equipment/service/impl/EquipmentInspectionRecordServiceImpl.java

@@ -0,0 +1,91 @@
1
+package com.sundot.airport.equipment.service.impl;
2
+
3
+import java.util.List;
4
+
5
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
6
+import com.sundot.airport.common.utils.DateUtils;
7
+import org.springframework.beans.factory.annotation.Autowired;
8
+import org.springframework.stereotype.Service;
9
+import com.sundot.airport.equipment.mapper.EquipmentInspectionRecordMapper;
10
+import com.sundot.airport.equipment.domain.EquipmentInspectionRecord;
11
+import com.sundot.airport.equipment.service.IEquipmentInspectionRecordService;
12
+
13
+/**
14
+ * 设备定检记录Service业务层处理
15
+ *
16
+ * @author ruoyi
17
+ * @date 2026-05-12
18
+ */
19
+@Service
20
+public class EquipmentInspectionRecordServiceImpl extends ServiceImpl<EquipmentInspectionRecordMapper, EquipmentInspectionRecord> implements IEquipmentInspectionRecordService {
21
+    @Autowired
22
+    private EquipmentInspectionRecordMapper equipmentInspectionRecordMapper;
23
+
24
+    /**
25
+     * 查询设备定检记录
26
+     *
27
+     * @param id 设备定检记录主键
28
+     * @return 设备定检记录
29
+     */
30
+    @Override
31
+    public EquipmentInspectionRecord selectEquipmentInspectionRecordById(Long id) {
32
+        return equipmentInspectionRecordMapper.selectEquipmentInspectionRecordById(id);
33
+    }
34
+
35
+    /**
36
+     * 查询设备定检记录列表
37
+     *
38
+     * @param equipmentInspectionRecord 设备定检记录
39
+     * @return 设备定检记录
40
+     */
41
+    @Override
42
+    public List<EquipmentInspectionRecord> selectEquipmentInspectionRecordList(EquipmentInspectionRecord equipmentInspectionRecord) {
43
+        return equipmentInspectionRecordMapper.selectEquipmentInspectionRecordList(equipmentInspectionRecord);
44
+    }
45
+
46
+    /**
47
+     * 新增设备定检记录
48
+     *
49
+     * @param equipmentInspectionRecord 设备定检记录
50
+     * @return 结果
51
+     */
52
+    @Override
53
+    public int insertEquipmentInspectionRecord(EquipmentInspectionRecord equipmentInspectionRecord) {
54
+        equipmentInspectionRecord.setCreateTime(DateUtils.getNowDate());
55
+        return equipmentInspectionRecordMapper.insertEquipmentInspectionRecord(equipmentInspectionRecord);
56
+    }
57
+
58
+    /**
59
+     * 修改设备定检记录
60
+     *
61
+     * @param equipmentInspectionRecord 设备定检记录
62
+     * @return 结果
63
+     */
64
+    @Override
65
+    public int updateEquipmentInspectionRecord(EquipmentInspectionRecord equipmentInspectionRecord) {
66
+        equipmentInspectionRecord.setUpdateTime(DateUtils.getNowDate());
67
+        return equipmentInspectionRecordMapper.updateEquipmentInspectionRecord(equipmentInspectionRecord);
68
+    }
69
+
70
+    /**
71
+     * 批量删除设备定检记录
72
+     *
73
+     * @param ids 需要删除的设备定检记录主键
74
+     * @return 结果
75
+     */
76
+    @Override
77
+    public int deleteEquipmentInspectionRecordByIds(Long[] ids) {
78
+        return equipmentInspectionRecordMapper.deleteEquipmentInspectionRecordByIds(ids);
79
+    }
80
+
81
+    /**
82
+     * 删除设备定检记录信息
83
+     *
84
+     * @param id 设备定检记录主键
85
+     * @return 结果
86
+     */
87
+    @Override
88
+    public int deleteEquipmentInspectionRecordById(Long id) {
89
+        return equipmentInspectionRecordMapper.deleteEquipmentInspectionRecordById(id);
90
+    }
91
+}

+ 91 - 0
airport-equipment/src/main/java/com/sundot/airport/equipment/service/impl/EquipmentLedgerServiceImpl.java

@@ -0,0 +1,91 @@
1
+package com.sundot.airport.equipment.service.impl;
2
+
3
+import java.util.List;
4
+
5
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
6
+import com.sundot.airport.common.utils.DateUtils;
7
+import org.springframework.beans.factory.annotation.Autowired;
8
+import org.springframework.stereotype.Service;
9
+import com.sundot.airport.equipment.mapper.EquipmentLedgerMapper;
10
+import com.sundot.airport.equipment.domain.EquipmentLedger;
11
+import com.sundot.airport.equipment.service.IEquipmentLedgerService;
12
+
13
+/**
14
+ * 设备台账Service业务层处理
15
+ *
16
+ * @author ruoyi
17
+ * @date 2026-05-12
18
+ */
19
+@Service
20
+public class EquipmentLedgerServiceImpl extends ServiceImpl<EquipmentLedgerMapper, EquipmentLedger> implements IEquipmentLedgerService {
21
+    @Autowired
22
+    private EquipmentLedgerMapper equipmentLedgerMapper;
23
+
24
+    /**
25
+     * 查询设备台账
26
+     *
27
+     * @param id 设备台账主键
28
+     * @return 设备台账
29
+     */
30
+    @Override
31
+    public EquipmentLedger selectEquipmentLedgerById(Long id) {
32
+        return equipmentLedgerMapper.selectEquipmentLedgerById(id);
33
+    }
34
+
35
+    /**
36
+     * 查询设备台账列表
37
+     *
38
+     * @param equipmentLedger 设备台账
39
+     * @return 设备台账
40
+     */
41
+    @Override
42
+    public List<EquipmentLedger> selectEquipmentLedgerList(EquipmentLedger equipmentLedger) {
43
+        return equipmentLedgerMapper.selectEquipmentLedgerList(equipmentLedger);
44
+    }
45
+
46
+    /**
47
+     * 新增设备台账
48
+     *
49
+     * @param equipmentLedger 设备台账
50
+     * @return 结果
51
+     */
52
+    @Override
53
+    public int insertEquipmentLedger(EquipmentLedger equipmentLedger) {
54
+        equipmentLedger.setCreateTime(DateUtils.getNowDate());
55
+        return equipmentLedgerMapper.insertEquipmentLedger(equipmentLedger);
56
+    }
57
+
58
+    /**
59
+     * 修改设备台账
60
+     *
61
+     * @param equipmentLedger 设备台账
62
+     * @return 结果
63
+     */
64
+    @Override
65
+    public int updateEquipmentLedger(EquipmentLedger equipmentLedger) {
66
+        equipmentLedger.setUpdateTime(DateUtils.getNowDate());
67
+        return equipmentLedgerMapper.updateEquipmentLedger(equipmentLedger);
68
+    }
69
+
70
+    /**
71
+     * 批量删除设备台账
72
+     *
73
+     * @param ids 需要删除的设备台账主键
74
+     * @return 结果
75
+     */
76
+    @Override
77
+    public int deleteEquipmentLedgerByIds(Long[] ids) {
78
+        return equipmentLedgerMapper.deleteEquipmentLedgerByIds(ids);
79
+    }
80
+
81
+    /**
82
+     * 删除设备台账信息
83
+     *
84
+     * @param id 设备台账主键
85
+     * @return 结果
86
+     */
87
+    @Override
88
+    public int deleteEquipmentLedgerById(Long id) {
89
+        return equipmentLedgerMapper.deleteEquipmentLedgerById(id);
90
+    }
91
+}

+ 137 - 0
airport-equipment/src/main/resources/mapper/equipment/EquipmentInspectionRecordMapper.xml

@@ -0,0 +1,137 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper
3
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5
+<mapper namespace="com.sundot.airport.equipment.mapper.EquipmentInspectionRecordMapper">
6
+
7
+    <resultMap type="EquipmentInspectionRecord" id="EquipmentInspectionRecordResult">
8
+        <result property="tenantId" column="tenant_id"/>
9
+        <result property="revision" column="revision"/>
10
+        <result property="createBy" column="create_by"/>
11
+        <result property="createTime" column="create_time"/>
12
+        <result property="updateBy" column="update_by"/>
13
+        <result property="updateTime" column="update_time"/>
14
+        <result property="remark" column="remark"/>
15
+        <result property="id" column="id"/>
16
+        <result property="sourceId" column="source_id"/>
17
+        <result property="inspectionDate" column="inspection_date"/>
18
+        <result property="inspectionResult" column="inspection_result"/>
19
+        <result property="inspectionTeamId" column="inspection_team_id"/>
20
+        <result property="inspectionTeamName" column="inspection_team_name"/>
21
+        <result property="inspectionNature" column="inspection_nature"/>
22
+    </resultMap>
23
+
24
+    <sql id="selectEquipmentInspectionRecordVo">
25
+        select tenant_id,
26
+               revision,
27
+               create_by,
28
+               create_time,
29
+               update_by,
30
+               update_time,
31
+               remark,
32
+               id,
33
+               source_id,
34
+               inspection_date,
35
+               inspection_result,
36
+               inspection_team_id,
37
+               inspection_team_name,
38
+               inspection_nature
39
+        from equipment_inspection_record
40
+    </sql>
41
+
42
+    <select id="selectEquipmentInspectionRecordList" parameterType="EquipmentInspectionRecord"
43
+            resultMap="EquipmentInspectionRecordResult">
44
+        <include refid="selectEquipmentInspectionRecordVo"/>
45
+        <where>
46
+            <if test="tenantId != null  and tenantId != ''">and tenant_id = #{tenantId}</if>
47
+            <if test="revision != null ">and revision = #{revision}</if>
48
+            <if test="sourceId != null ">and source_id = #{sourceId}</if>
49
+            <if test="inspectionDate != null ">and inspection_date = #{inspectionDate}</if>
50
+            <if test="inspectionResult != null  and inspectionResult != ''">and inspection_result =
51
+                #{inspectionResult}
52
+            </if>
53
+            <if test="inspectionTeamId != null  and inspectionTeamId != ''">and inspection_team_id =
54
+                #{inspectionTeamId}
55
+            </if>
56
+            <if test="inspectionTeamName != null  and inspectionTeamName != ''">and inspection_team_name like
57
+                concat('%', #{inspectionTeamName}, '%')
58
+            </if>
59
+            <if test="inspectionNature != null  and inspectionNature != ''">and inspection_nature =
60
+                #{inspectionNature}
61
+            </if>
62
+        </where>
63
+    </select>
64
+
65
+    <select id="selectEquipmentInspectionRecordById" parameterType="Long" resultMap="EquipmentInspectionRecordResult">
66
+        <include refid="selectEquipmentInspectionRecordVo"/>
67
+        where id = #{id}
68
+    </select>
69
+
70
+    <insert id="insertEquipmentInspectionRecord" parameterType="EquipmentInspectionRecord" useGeneratedKeys="true"
71
+            keyProperty="id">
72
+        insert into equipment_inspection_record
73
+        <trim prefix="(" suffix=")" suffixOverrides=",">
74
+            <if test="tenantId != null">tenant_id,</if>
75
+            <if test="revision != null">revision,</if>
76
+            <if test="createBy != null">create_by,</if>
77
+            <if test="createTime != null">create_time,</if>
78
+            <if test="updateBy != null">update_by,</if>
79
+            <if test="updateTime != null">update_time,</if>
80
+            <if test="remark != null">remark,</if>
81
+            <if test="sourceId != null">source_id,</if>
82
+            <if test="inspectionDate != null">inspection_date,</if>
83
+            <if test="inspectionResult != null">inspection_result,</if>
84
+            <if test="inspectionTeamId != null">inspection_team_id,</if>
85
+            <if test="inspectionTeamName != null">inspection_team_name,</if>
86
+            <if test="inspectionNature != null">inspection_nature,</if>
87
+        </trim>
88
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
89
+            <if test="tenantId != null">#{tenantId},</if>
90
+            <if test="revision != null">#{revision},</if>
91
+            <if test="createBy != null">#{createBy},</if>
92
+            <if test="createTime != null">#{createTime},</if>
93
+            <if test="updateBy != null">#{updateBy},</if>
94
+            <if test="updateTime != null">#{updateTime},</if>
95
+            <if test="remark != null">#{remark},</if>
96
+            <if test="sourceId != null">#{sourceId},</if>
97
+            <if test="inspectionDate != null">#{inspectionDate},</if>
98
+            <if test="inspectionResult != null">#{inspectionResult},</if>
99
+            <if test="inspectionTeamId != null">#{inspectionTeamId},</if>
100
+            <if test="inspectionTeamName != null">#{inspectionTeamName},</if>
101
+            <if test="inspectionNature != null">#{inspectionNature},</if>
102
+        </trim>
103
+    </insert>
104
+
105
+    <update id="updateEquipmentInspectionRecord" parameterType="EquipmentInspectionRecord">
106
+        update equipment_inspection_record
107
+        <trim prefix="SET" suffixOverrides=",">
108
+            <if test="tenantId != null">tenant_id = #{tenantId},</if>
109
+            <if test="revision != null">revision = #{revision},</if>
110
+            <if test="createBy != null">create_by = #{createBy},</if>
111
+            <if test="createTime != null">create_time = #{createTime},</if>
112
+            <if test="updateBy != null">update_by = #{updateBy},</if>
113
+            <if test="updateTime != null">update_time = #{updateTime},</if>
114
+            <if test="remark != null">remark = #{remark},</if>
115
+            <if test="sourceId != null">source_id = #{sourceId},</if>
116
+            <if test="inspectionDate != null">inspection_date = #{inspectionDate},</if>
117
+            <if test="inspectionResult != null">inspection_result = #{inspectionResult},</if>
118
+            <if test="inspectionTeamId != null">inspection_team_id = #{inspectionTeamId},</if>
119
+            <if test="inspectionTeamName != null">inspection_team_name = #{inspectionTeamName},</if>
120
+            <if test="inspectionNature != null">inspection_nature = #{inspectionNature},</if>
121
+        </trim>
122
+        where id = #{id}
123
+    </update>
124
+
125
+    <delete id="deleteEquipmentInspectionRecordById" parameterType="Long">
126
+        delete
127
+        from equipment_inspection_record
128
+        where id = #{id}
129
+    </delete>
130
+
131
+    <delete id="deleteEquipmentInspectionRecordByIds" parameterType="String">
132
+        delete from equipment_inspection_record where id in
133
+        <foreach item="id" collection="array" open="(" separator="," close=")">
134
+            #{id}
135
+        </foreach>
136
+    </delete>
137
+</mapper>

+ 256 - 0
airport-equipment/src/main/resources/mapper/equipment/EquipmentLedgerMapper.xml

@@ -0,0 +1,256 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper
3
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5
+<mapper namespace="com.sundot.airport.equipment.mapper.EquipmentLedgerMapper">
6
+
7
+    <resultMap type="EquipmentLedger" id="EquipmentLedgerResult">
8
+        <result property="tenantId" column="tenant_id"/>
9
+        <result property="revision" column="revision"/>
10
+        <result property="createBy" column="create_by"/>
11
+        <result property="createTime" column="create_time"/>
12
+        <result property="updateBy" column="update_by"/>
13
+        <result property="updateTime" column="update_time"/>
14
+        <result property="remark" column="remark"/>
15
+        <result property="id" column="id"/>
16
+        <result property="equipmentCode" column="equipment_code"/>
17
+        <result property="equipmentName" column="equipment_name"/>
18
+        <result property="equipmentType" column="equipment_type"/>
19
+        <result property="equipmentCategory" column="equipment_category"/>
20
+        <result property="equipmentBrand" column="equipment_brand"/>
21
+        <result property="equipmentModel" column="equipment_model"/>
22
+        <result property="equipmentSerialNumber" column="equipment_serial_number"/>
23
+        <result property="manufacturer" column="manufacturer"/>
24
+        <result property="manufacturingDate" column="manufacturing_date"/>
25
+        <result property="acceptanceDate" column="acceptance_date"/>
26
+        <result property="commissioningDate" column="commissioning_date"/>
27
+        <result property="initialAcceptanceStatus" column="initial_acceptance_status"/>
28
+        <result property="usageStatus" column="usage_status"/>
29
+        <result property="scrappingDate" column="scrapping_date"/>
30
+        <result property="installationLocation" column="installation_location"/>
31
+        <result property="inspectionSelfCheckDate" column="inspection_self_check_date"/>
32
+        <result property="inspectionSelfCheckCycle" column="inspection_self_check_cycle"/>
33
+        <result property="nextInspectionDueDate" column="next_inspection_due_date"/>
34
+        <result property="inspectionTeamLeaderId" column="inspection_team_leader_id"/>
35
+        <result property="inspectionTeamLeaderName" column="inspection_team_leader_name"/>
36
+        <result property="inspectionTeamMember1Id" column="inspection_team_member1_id"/>
37
+        <result property="inspectionTeamMember1Name" column="inspection_team_member1_name"/>
38
+        <result property="inspectionTeamMember2Id" column="inspection_team_member2_id"/>
39
+        <result property="inspectionTeamMember2Name" column="inspection_team_member2_name"/>
40
+    </resultMap>
41
+
42
+    <sql id="selectEquipmentLedgerVo">
43
+        select tenant_id,
44
+               revision,
45
+               create_by,
46
+               create_time,
47
+               update_by,
48
+               update_time,
49
+               remark,
50
+               id,
51
+               equipment_code,
52
+               equipment_name,
53
+               equipment_type,
54
+               equipment_category,
55
+               equipment_brand,
56
+               equipment_model,
57
+               equipment_serial_number,
58
+               manufacturer,
59
+               manufacturing_date,
60
+               acceptance_date,
61
+               commissioning_date,
62
+               initial_acceptance_status,
63
+               usage_status,
64
+               scrapping_date,
65
+               installation_location,
66
+               inspection_self_check_date,
67
+               inspection_self_check_cycle,
68
+               next_inspection_due_date,
69
+               inspection_team_leader_id,
70
+               inspection_team_leader_name,
71
+               inspection_team_member1_id,
72
+               inspection_team_member1_name,
73
+               inspection_team_member2_id,
74
+               inspection_team_member2_name
75
+        from equipment_ledger
76
+    </sql>
77
+
78
+    <select id="selectEquipmentLedgerList" parameterType="EquipmentLedger" resultMap="EquipmentLedgerResult">
79
+        <include refid="selectEquipmentLedgerVo"/>
80
+        <where>
81
+            <if test="tenantId != null  and tenantId != ''">and tenant_id = #{tenantId}</if>
82
+            <if test="revision != null ">and revision = #{revision}</if>
83
+            <if test="equipmentCode != null  and equipmentCode != ''">and equipment_code = #{equipmentCode}</if>
84
+            <if test="equipmentName != null  and equipmentName != ''">and equipment_name like concat('%',
85
+                #{equipmentName}, '%')
86
+            </if>
87
+            <if test="equipmentType != null  and equipmentType != ''">and equipment_type = #{equipmentType}</if>
88
+            <if test="equipmentCategory != null  and equipmentCategory != ''">and equipment_category =
89
+                #{equipmentCategory}
90
+            </if>
91
+            <if test="equipmentBrand != null  and equipmentBrand != ''">and equipment_brand = #{equipmentBrand}</if>
92
+            <if test="equipmentModel != null  and equipmentModel != ''">and equipment_model = #{equipmentModel}</if>
93
+            <if test="equipmentSerialNumber != null  and equipmentSerialNumber != ''">and equipment_serial_number =
94
+                #{equipmentSerialNumber}
95
+            </if>
96
+            <if test="manufacturer != null  and manufacturer != ''">and manufacturer = #{manufacturer}</if>
97
+            <if test="manufacturingDate != null ">and manufacturing_date = #{manufacturingDate}</if>
98
+            <if test="acceptanceDate != null ">and acceptance_date = #{acceptanceDate}</if>
99
+            <if test="commissioningDate != null ">and commissioning_date = #{commissioningDate}</if>
100
+            <if test="initialAcceptanceStatus != null  and initialAcceptanceStatus != ''">and initial_acceptance_status
101
+                = #{initialAcceptanceStatus}
102
+            </if>
103
+            <if test="usageStatus != null  and usageStatus != ''">and usage_status = #{usageStatus}</if>
104
+            <if test="scrappingDate != null ">and scrapping_date = #{scrappingDate}</if>
105
+            <if test="installationLocation != null  and installationLocation != ''">and installation_location =
106
+                #{installationLocation}
107
+            </if>
108
+            <if test="inspectionSelfCheckDate != null ">and inspection_self_check_date = #{inspectionSelfCheckDate}</if>
109
+            <if test="inspectionSelfCheckCycle != null ">and inspection_self_check_cycle = #{inspectionSelfCheckCycle}
110
+            </if>
111
+            <if test="nextInspectionDueDate != null ">and next_inspection_due_date = #{nextInspectionDueDate}</if>
112
+            <if test="inspectionTeamLeaderId != null ">and inspection_team_leader_id = #{inspectionTeamLeaderId}</if>
113
+            <if test="inspectionTeamLeaderName != null  and inspectionTeamLeaderName != ''">and
114
+                inspection_team_leader_name like concat('%', #{inspectionTeamLeaderName}, '%')
115
+            </if>
116
+            <if test="inspectionTeamMember1Id != null ">and inspection_team_member1_id = #{inspectionTeamMember1Id}</if>
117
+            <if test="inspectionTeamMember1Name != null  and inspectionTeamMember1Name != ''">and
118
+                inspection_team_member1_name like concat('%', #{inspectionTeamMember1Name}, '%')
119
+            </if>
120
+            <if test="inspectionTeamMember2Id != null ">and inspection_team_member2_id = #{inspectionTeamMember2Id}</if>
121
+            <if test="inspectionTeamMember2Name != null  and inspectionTeamMember2Name != ''">and
122
+                inspection_team_member2_name like concat('%', #{inspectionTeamMember2Name}, '%')
123
+            </if>
124
+        </where>
125
+    </select>
126
+
127
+    <select id="selectEquipmentLedgerById" parameterType="Long" resultMap="EquipmentLedgerResult">
128
+        <include refid="selectEquipmentLedgerVo"/>
129
+        where id = #{id}
130
+    </select>
131
+
132
+    <insert id="insertEquipmentLedger" parameterType="EquipmentLedger" useGeneratedKeys="true" keyProperty="id">
133
+        insert into equipment_ledger
134
+        <trim prefix="(" suffix=")" suffixOverrides=",">
135
+            <if test="tenantId != null">tenant_id,</if>
136
+            <if test="revision != null">revision,</if>
137
+            <if test="createBy != null">create_by,</if>
138
+            <if test="createTime != null">create_time,</if>
139
+            <if test="updateBy != null">update_by,</if>
140
+            <if test="updateTime != null">update_time,</if>
141
+            <if test="remark != null">remark,</if>
142
+            <if test="equipmentCode != null and equipmentCode != ''">equipment_code,</if>
143
+            <if test="equipmentName != null and equipmentName != ''">equipment_name,</if>
144
+            <if test="equipmentType != null">equipment_type,</if>
145
+            <if test="equipmentCategory != null">equipment_category,</if>
146
+            <if test="equipmentBrand != null">equipment_brand,</if>
147
+            <if test="equipmentModel != null">equipment_model,</if>
148
+            <if test="equipmentSerialNumber != null and equipmentSerialNumber != ''">equipment_serial_number,</if>
149
+            <if test="manufacturer != null">manufacturer,</if>
150
+            <if test="manufacturingDate != null">manufacturing_date,</if>
151
+            <if test="acceptanceDate != null">acceptance_date,</if>
152
+            <if test="commissioningDate != null">commissioning_date,</if>
153
+            <if test="initialAcceptanceStatus != null">initial_acceptance_status,</if>
154
+            <if test="usageStatus != null">usage_status,</if>
155
+            <if test="scrappingDate != null">scrapping_date,</if>
156
+            <if test="installationLocation != null">installation_location,</if>
157
+            <if test="inspectionSelfCheckDate != null">inspection_self_check_date,</if>
158
+            <if test="inspectionSelfCheckCycle != null">inspection_self_check_cycle,</if>
159
+            <if test="nextInspectionDueDate != null">next_inspection_due_date,</if>
160
+            <if test="inspectionTeamLeaderId != null">inspection_team_leader_id,</if>
161
+            <if test="inspectionTeamLeaderName != null">inspection_team_leader_name,</if>
162
+            <if test="inspectionTeamMember1Id != null">inspection_team_member1_id,</if>
163
+            <if test="inspectionTeamMember1Name != null">inspection_team_member1_name,</if>
164
+            <if test="inspectionTeamMember2Id != null">inspection_team_member2_id,</if>
165
+            <if test="inspectionTeamMember2Name != null">inspection_team_member2_name,</if>
166
+        </trim>
167
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
168
+            <if test="tenantId != null">#{tenantId},</if>
169
+            <if test="revision != null">#{revision},</if>
170
+            <if test="createBy != null">#{createBy},</if>
171
+            <if test="createTime != null">#{createTime},</if>
172
+            <if test="updateBy != null">#{updateBy},</if>
173
+            <if test="updateTime != null">#{updateTime},</if>
174
+            <if test="remark != null">#{remark},</if>
175
+            <if test="equipmentCode != null and equipmentCode != ''">#{equipmentCode},</if>
176
+            <if test="equipmentName != null and equipmentName != ''">#{equipmentName},</if>
177
+            <if test="equipmentType != null">#{equipmentType},</if>
178
+            <if test="equipmentCategory != null">#{equipmentCategory},</if>
179
+            <if test="equipmentBrand != null">#{equipmentBrand},</if>
180
+            <if test="equipmentModel != null">#{equipmentModel},</if>
181
+            <if test="equipmentSerialNumber != null and equipmentSerialNumber != ''">#{equipmentSerialNumber},</if>
182
+            <if test="manufacturer != null">#{manufacturer},</if>
183
+            <if test="manufacturingDate != null">#{manufacturingDate},</if>
184
+            <if test="acceptanceDate != null">#{acceptanceDate},</if>
185
+            <if test="commissioningDate != null">#{commissioningDate},</if>
186
+            <if test="initialAcceptanceStatus != null">#{initialAcceptanceStatus},</if>
187
+            <if test="usageStatus != null">#{usageStatus},</if>
188
+            <if test="scrappingDate != null">#{scrappingDate},</if>
189
+            <if test="installationLocation != null">#{installationLocation},</if>
190
+            <if test="inspectionSelfCheckDate != null">#{inspectionSelfCheckDate},</if>
191
+            <if test="inspectionSelfCheckCycle != null">#{inspectionSelfCheckCycle},</if>
192
+            <if test="nextInspectionDueDate != null">#{nextInspectionDueDate},</if>
193
+            <if test="inspectionTeamLeaderId != null">#{inspectionTeamLeaderId},</if>
194
+            <if test="inspectionTeamLeaderName != null">#{inspectionTeamLeaderName},</if>
195
+            <if test="inspectionTeamMember1Id != null">#{inspectionTeamMember1Id},</if>
196
+            <if test="inspectionTeamMember1Name != null">#{inspectionTeamMember1Name},</if>
197
+            <if test="inspectionTeamMember2Id != null">#{inspectionTeamMember2Id},</if>
198
+            <if test="inspectionTeamMember2Name != null">#{inspectionTeamMember2Name},</if>
199
+        </trim>
200
+    </insert>
201
+
202
+    <update id="updateEquipmentLedger" parameterType="EquipmentLedger">
203
+        update equipment_ledger
204
+        <trim prefix="SET" suffixOverrides=",">
205
+            <if test="tenantId != null">tenant_id = #{tenantId},</if>
206
+            <if test="revision != null">revision = #{revision},</if>
207
+            <if test="createBy != null">create_by = #{createBy},</if>
208
+            <if test="createTime != null">create_time = #{createTime},</if>
209
+            <if test="updateBy != null">update_by = #{updateBy},</if>
210
+            <if test="updateTime != null">update_time = #{updateTime},</if>
211
+            <if test="remark != null">remark = #{remark},</if>
212
+            <if test="equipmentCode != null and equipmentCode != ''">equipment_code = #{equipmentCode},</if>
213
+            <if test="equipmentName != null and equipmentName != ''">equipment_name = #{equipmentName},</if>
214
+            <if test="equipmentType != null">equipment_type = #{equipmentType},</if>
215
+            <if test="equipmentCategory != null">equipment_category = #{equipmentCategory},</if>
216
+            <if test="equipmentBrand != null">equipment_brand = #{equipmentBrand},</if>
217
+            <if test="equipmentModel != null">equipment_model = #{equipmentModel},</if>
218
+            <if test="equipmentSerialNumber != null and equipmentSerialNumber != ''">equipment_serial_number =
219
+                #{equipmentSerialNumber},
220
+            </if>
221
+            <if test="manufacturer != null">manufacturer = #{manufacturer},</if>
222
+            <if test="manufacturingDate != null">manufacturing_date = #{manufacturingDate},</if>
223
+            <if test="acceptanceDate != null">acceptance_date = #{acceptanceDate},</if>
224
+            <if test="commissioningDate != null">commissioning_date = #{commissioningDate},</if>
225
+            <if test="initialAcceptanceStatus != null">initial_acceptance_status = #{initialAcceptanceStatus},</if>
226
+            <if test="usageStatus != null">usage_status = #{usageStatus},</if>
227
+            <if test="scrappingDate != null">scrapping_date = #{scrappingDate},</if>
228
+            <if test="installationLocation != null">installation_location = #{installationLocation},</if>
229
+            <if test="inspectionSelfCheckDate != null">inspection_self_check_date = #{inspectionSelfCheckDate},</if>
230
+            <if test="inspectionSelfCheckCycle != null">inspection_self_check_cycle = #{inspectionSelfCheckCycle},</if>
231
+            <if test="nextInspectionDueDate != null">next_inspection_due_date = #{nextInspectionDueDate},</if>
232
+            <if test="inspectionTeamLeaderId != null">inspection_team_leader_id = #{inspectionTeamLeaderId},</if>
233
+            <if test="inspectionTeamLeaderName != null">inspection_team_leader_name = #{inspectionTeamLeaderName},</if>
234
+            <if test="inspectionTeamMember1Id != null">inspection_team_member1_id = #{inspectionTeamMember1Id},</if>
235
+            <if test="inspectionTeamMember1Name != null">inspection_team_member1_name = #{inspectionTeamMember1Name},
236
+            </if>
237
+            <if test="inspectionTeamMember2Id != null">inspection_team_member2_id = #{inspectionTeamMember2Id},</if>
238
+            <if test="inspectionTeamMember2Name != null">inspection_team_member2_name = #{inspectionTeamMember2Name},
239
+            </if>
240
+        </trim>
241
+        where id = #{id}
242
+    </update>
243
+
244
+    <delete id="deleteEquipmentLedgerById" parameterType="Long">
245
+        delete
246
+        from equipment_ledger
247
+        where id = #{id}
248
+    </delete>
249
+
250
+    <delete id="deleteEquipmentLedgerByIds" parameterType="String">
251
+        delete from equipment_ledger where id in
252
+        <foreach item="id" collection="array" open="(" separator="," close=")">
253
+            #{id}
254
+        </foreach>
255
+    </delete>
256
+</mapper>

+ 8 - 0
pom.xml

@@ -267,6 +267,13 @@
267 267
                 <version>${airport.version}</version>
268 268
             </dependency>
269 269
 
270
+            <!-- 设备管理模块模块-->
271
+            <dependency>
272
+                <groupId>com.sundot.airport</groupId>
273
+                <artifactId>airport-equipment</artifactId>
274
+                <version>${airport.version}</version>
275
+            </dependency>
276
+
270 277
             <dependency>
271 278
                 <groupId>org.projectlombok</groupId>
272 279
                 <artifactId>lombok</artifactId>
@@ -297,6 +304,7 @@
297 304
         <module>airport-attendance</module>
298 305
         <module>airport-blocked</module>
299 306
         <module>airport-personnel</module>
307
+        <module>airport-equipment</module>
300 308
     </modules>
301 309
     <packaging>pom</packaging>
302 310