11.1设备档案的品牌型号

dev
xiaohuo 8 months ago
parent d5722f787f
commit 6fa2119b13
  1. 2
      ALOps_sys_backend/alops-system/src/main/java/com/alops/system/domain/vo/queryEquBaseVO.java
  2. 7
      ALOps_sys_backend/alops-system/src/main/resources/mapper/system/EquBaseMapper.xml

@ -102,6 +102,8 @@ public class queryEquBaseVO {
@Excel(name = "楼层位置") @Excel(name = "楼层位置")
private String floor; private String floor;
@Excel(name = "品牌型号")
private String brand;
public void setId(String id) public void setId(String id)

@ -162,7 +162,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
b.device_level AS deviceLevel, b.device_level AS deviceLevel,
g.health AS health, g.health AS health,
b.equ_image AS equImage, b.equ_image AS equImage,
b.floor AS floor b.floor AS floor,
b.brand AS brand
</sql> </sql>
<!-- <select id="selectEquBaseList" parameterType="equBaseQueryDto" resultType="com.alops.system.domain.vo.queryEquBaseVO">--> <!-- <select id="selectEquBaseList" parameterType="equBaseQueryDto" resultType="com.alops.system.domain.vo.queryEquBaseVO">-->
@ -503,7 +504,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="createDate != null">create_date,</if> <if test="createDate != null">create_date,</if>
<if test="equNumber != null">equ_number,</if> <if test="equNumber != null">equ_number,</if>
<if test="floor != null">floor,</if> <if test="floor != null">floor,</if>
<if test="brand != null">brand,</if>
status, status,
<if test="equImage != null">equ_image,</if> <if test="equImage != null">equ_image,</if>
failure_frequency, failure_frequency,
@ -527,6 +528,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="createDate != null">#{createDate},</if> <if test="createDate != null">#{createDate},</if>
<if test="equNumber != null">#{equNumber},</if> <if test="equNumber != null">#{equNumber},</if>
<if test="floor != null">#{floor},</if> <if test="floor != null">#{floor},</if>
<if test="brand != null">#{brand},</if>
COALESCE(#{status,jdbcType=INTEGER}, 0), COALESCE(#{status,jdbcType=INTEGER}, 0),
<if test="equImage != null">#{equImage},</if> <if test="equImage != null">#{equImage},</if>
COALESCE(#{failureFrequency,jdbcType=BIGINT}, 0), COALESCE(#{failureFrequency,jdbcType=BIGINT}, 0),
@ -556,6 +558,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="equImage != null">equ_image = #{equImage},</if> <if test="equImage != null">equ_image = #{equImage},</if>
<if test="equNumber != null">equ_number = #{equNumber},</if> <if test="equNumber != null">equ_number = #{equNumber},</if>
<if test="floor != null">floor = #{floor},</if> <if test="floor != null">floor = #{floor},</if>
<if test="brand != null">brand = #{brand},</if>
create_date = create_date create_date = create_date
</trim> </trim>
where id = #{id} where id = #{id}

Loading…
Cancel
Save