mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
桩固件信息表新增 “url”、“使用范围”字段
This commit is contained in:
@@ -47,6 +47,18 @@ public class PileFirmwareInfo extends BaseEntity {
|
||||
@Excel(name = "适用类型")
|
||||
private String applyType;
|
||||
|
||||
/**
|
||||
* 使用范围
|
||||
*/
|
||||
@Excel(name = "使用范围")
|
||||
private String useRange;
|
||||
|
||||
/**
|
||||
* 下载链接url
|
||||
*/
|
||||
@Excel(name = "下载链接url")
|
||||
private String downloadUrl;
|
||||
|
||||
/**
|
||||
* 删除标识(0-正常;1-删除)
|
||||
*/
|
||||
@@ -54,16 +66,15 @@ public class PileFirmwareInfo extends BaseEntity {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
|
||||
.append("id", getId())
|
||||
.append("name", getName())
|
||||
.append("desc", getDescription())
|
||||
.append("filePath", getFilePath())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("delFlag", getDelFlag())
|
||||
return new ToStringBuilder(this)
|
||||
.append("id", id)
|
||||
.append("name", name)
|
||||
.append("description", description)
|
||||
.append("filePath", filePath)
|
||||
.append("applyType", applyType)
|
||||
.append("useRange", useRange)
|
||||
.append("downloadUrl", downloadUrl)
|
||||
.append("delFlag", delFlag)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
<result property="description" column="description" />
|
||||
<result property="filePath" column="file_path" />
|
||||
<result property="applyType" column="apply_type" />
|
||||
<result property="useRange" column="use_range" />
|
||||
<result property="downloadUrl" column="download_url" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
@@ -18,7 +20,7 @@
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectPileFirmwareInfoVo">
|
||||
select id, name, description, file_path, apply_type, create_time, create_by, update_time, update_by, del_flag from pile_firmware_info
|
||||
select id, name, description, file_path, apply_type, use_range, download_url, create_time, create_by, update_time, update_by, del_flag from pile_firmware_info
|
||||
</sql>
|
||||
|
||||
<select id="selectPileFirmwareInfoList" parameterType="com.jsowell.pile.domain.PileFirmwareInfo" resultMap="PileFirmwareInfoResult">
|
||||
@@ -41,6 +43,8 @@
|
||||
<if test="description != null">description,</if>
|
||||
<if test="filePath != null">file_path,</if>
|
||||
<if test="applyType != null">apply_type,</if>
|
||||
<if test="useRange != null">use_range,</if>
|
||||
<if test="downloadUrl != null">download_url,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
@@ -53,6 +57,8 @@
|
||||
<if test="description != null">#{description},</if>
|
||||
<if test="filePath != null">#{filePath},</if>
|
||||
<if test="applyType != null">#{applyType},</if>
|
||||
<if test="useRange != null">#{useRange},</if>
|
||||
<if test="downloadUrl != null">#{downloadUrl},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
@@ -68,6 +74,8 @@
|
||||
<if test="description != null">description = #{description},</if>
|
||||
<if test="filePath != null">file_path = #{filePath},</if>
|
||||
<if test="applyType != null">apply_type = #{applyType},</if>
|
||||
<if test="useRange != null">use_range = #{useRange},</if>
|
||||
<if test="downloadUrl != null">download_url = #{downloadUrl},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
|
||||
Reference in New Issue
Block a user