diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/domain/PileFirmwareInfo.java b/jsowell-pile/src/main/java/com/jsowell/pile/domain/PileFirmwareInfo.java
index e42af3b49..c59f1ed57 100644
--- a/jsowell-pile/src/main/java/com/jsowell/pile/domain/PileFirmwareInfo.java
+++ b/jsowell-pile/src/main/java/com/jsowell/pile/domain/PileFirmwareInfo.java
@@ -2,6 +2,8 @@ package com.jsowell.pile.domain;
import com.jsowell.common.annotation.Excel;
import com.jsowell.common.core.domain.BaseEntity;
+import lombok.Getter;
+import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
@@ -11,6 +13,8 @@ import org.apache.commons.lang3.builder.ToStringStyle;
* @author jsowell
* @date 2023-06-28
*/
+@Getter
+@Setter
public class PileFirmwareInfo extends BaseEntity {
private static final long serialVersionUID = 1L;
@@ -37,51 +41,17 @@ public class PileFirmwareInfo extends BaseEntity {
@Excel(name = "路径")
private String filePath;
+ /**
+ * 适用类型(1-直流;2-交流)
+ */
+ @Excel(name = "适用类型")
+ private String applyType;
+
/**
* 删除标识(0-正常;1-删除)
*/
private String delFlag;
- public void setId(Long id) {
- this.id = id;
- }
-
- public Long getId() {
- return id;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public String getName() {
- return name;
- }
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public void setFilePath(String filePath) {
- this.filePath = filePath;
- }
-
- public String getFilePath() {
- return filePath;
- }
-
- public void setDelFlag(String delFlag) {
- this.delFlag = delFlag;
- }
-
- public String getDelFlag() {
- return delFlag;
- }
-
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
diff --git a/jsowell-pile/src/main/resources/mapper/pile/PileFirmwareInfoMapper.xml b/jsowell-pile/src/main/resources/mapper/pile/PileFirmwareInfoMapper.xml
index 2f3b295f1..dbc6ccdea 100644
--- a/jsowell-pile/src/main/resources/mapper/pile/PileFirmwareInfoMapper.xml
+++ b/jsowell-pile/src/main/resources/mapper/pile/PileFirmwareInfoMapper.xml
@@ -9,6 +9,7 @@
+
@@ -17,7 +18,7 @@
- select id, name, description, file_path, create_time, create_by, update_time, update_by, del_flag from pile_firmware_info
+ select id, name, description, file_path, apply_type, create_time, create_by, update_time, update_by, del_flag from pile_firmware_info