From 55047b2f7175637a8fa9e39a6f7978ee5f5fb287 Mon Sep 17 00:00:00 2001
From: wws <18630710203@163.com>
Date: Wed, 29 Nov 2023 13:48:02 +0800
Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=9F=A5=E9=A1=B9+=E5=BE=AA=E7=8E=AF?=
=?UTF-8?q?=E5=91=A8=E6=9C=9F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../com/op/device/domain/EquCheckItem.java | 22 +++++++++++++++++++
.../op/device/domain/dto/EquCheckItemDTO.java | 22 +++++++++++++++++++
.../op/device/domain/vo/EquCheckItemVO.java | 22 +++++++++++++++++++
.../mapper/device/EquCheckItemMapper.xml | 12 +++++++++-
4 files changed, 77 insertions(+), 1 deletion(-)
diff --git a/op-modules/op-device/src/main/java/com/op/device/domain/EquCheckItem.java b/op-modules/op-device/src/main/java/com/op/device/domain/EquCheckItem.java
index 45abf7d6..7afc7db7 100644
--- a/op-modules/op-device/src/main/java/com/op/device/domain/EquCheckItem.java
+++ b/op-modules/op-device/src/main/java/com/op/device/domain/EquCheckItem.java
@@ -98,6 +98,28 @@ public class EquCheckItem extends BaseEntity {
// 检查项工具
private String itemTools;
+ // 循环周期类型
+ private String itemLoopType;
+
+ // 循环周期
+ private int itemLoop;
+
+ public int getItemLoop() {
+ return itemLoop;
+ }
+
+ public void setItemLoop(int itemLoop) {
+ this.itemLoop = itemLoop;
+ }
+
+ public String getItemLoopType() {
+ return itemLoopType;
+ }
+
+ public void setItemLoopType(String itemLoopType) {
+ this.itemLoopType = itemLoopType;
+ }
+
public String getItemTools() {
return itemTools;
}
diff --git a/op-modules/op-device/src/main/java/com/op/device/domain/dto/EquCheckItemDTO.java b/op-modules/op-device/src/main/java/com/op/device/domain/dto/EquCheckItemDTO.java
index 810a3cd1..f5c3826c 100644
--- a/op-modules/op-device/src/main/java/com/op/device/domain/dto/EquCheckItemDTO.java
+++ b/op-modules/op-device/src/main/java/com/op/device/domain/dto/EquCheckItemDTO.java
@@ -65,6 +65,28 @@ public class EquCheckItemDTO {
// 检查工具
private String itemTools;
+ // 循环周期类型
+ private String itemLoopType;
+
+ // 循环周期
+ private int itemLoop;
+
+ public String getItemLoopType() {
+ return itemLoopType;
+ }
+
+ public void setItemLoopType(String itemLoopType) {
+ this.itemLoopType = itemLoopType;
+ }
+
+ public int getItemLoop() {
+ return itemLoop;
+ }
+
+ public void setItemLoop(int itemLoop) {
+ this.itemLoop = itemLoop;
+ }
+
public String getItemTools() {
return itemTools;
}
diff --git a/op-modules/op-device/src/main/java/com/op/device/domain/vo/EquCheckItemVO.java b/op-modules/op-device/src/main/java/com/op/device/domain/vo/EquCheckItemVO.java
index a8f4c44f..3d92c776 100644
--- a/op-modules/op-device/src/main/java/com/op/device/domain/vo/EquCheckItemVO.java
+++ b/op-modules/op-device/src/main/java/com/op/device/domain/vo/EquCheckItemVO.java
@@ -49,6 +49,28 @@ public class EquCheckItemVO {
// 检查工具
private String itemTools;
+ // 循环周期类型
+ private String itemLoopType;
+
+ // 循环周期
+ private int itemLoop;
+
+ public String getItemLoopType() {
+ return itemLoopType;
+ }
+
+ public void setItemLoopType(String itemLoopType) {
+ this.itemLoopType = itemLoopType;
+ }
+
+ public int getItemLoop() {
+ return itemLoop;
+ }
+
+ public void setItemLoop(int itemLoop) {
+ this.itemLoop = itemLoop;
+ }
+
public String getItemTools() {
return itemTools;
}
diff --git a/op-modules/op-device/src/main/resources/mapper/device/EquCheckItemMapper.xml b/op-modules/op-device/src/main/resources/mapper/device/EquCheckItemMapper.xml
index 4869ab8c..15da5410 100644
--- a/op-modules/op-device/src/main/resources/mapper/device/EquCheckItemMapper.xml
+++ b/op-modules/op-device/src/main/resources/mapper/device/EquCheckItemMapper.xml
@@ -22,10 +22,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+
+
- select item_id, item_code, item_name, item_method, item_type, item_type_name, item_remark, factory_code, attr1, attr2, attr3, del_flag, create_time, create_by, update_time, update_by ,item_tools from equ_check_item
+ select item_id, item_code, item_name, item_method, item_type, item_type_name, item_remark, factory_code, attr1, attr2, attr3, del_flag, create_time, create_by, update_time, update_by ,item_tools ,item_loop,item_loop_type from equ_check_item