|
|
|
|
@ -162,7 +162,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
|
b.device_level AS deviceLevel, |
|
|
|
|
g.health AS health, |
|
|
|
|
b.equ_image AS equImage, |
|
|
|
|
b.floor AS floor |
|
|
|
|
b.floor AS floor, |
|
|
|
|
b.brand AS brand |
|
|
|
|
</sql> |
|
|
|
|
|
|
|
|
|
<!-- <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="equNumber != null">equ_number,</if> |
|
|
|
|
<if test="floor != null">floor,</if> |
|
|
|
|
|
|
|
|
|
<if test="brand != null">brand,</if> |
|
|
|
|
status, |
|
|
|
|
<if test="equImage != null">equ_image,</if> |
|
|
|
|
failure_frequency, |
|
|
|
|
@ -527,6 +528,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
|
<if test="createDate != null">#{createDate},</if> |
|
|
|
|
<if test="equNumber != null">#{equNumber},</if> |
|
|
|
|
<if test="floor != null">#{floor},</if> |
|
|
|
|
<if test="brand != null">#{brand},</if> |
|
|
|
|
COALESCE(#{status,jdbcType=INTEGER}, 0), |
|
|
|
|
<if test="equImage != null">#{equImage},</if> |
|
|
|
|
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="equNumber != null">equ_number = #{equNumber},</if> |
|
|
|
|
<if test="floor != null">floor = #{floor},</if> |
|
|
|
|
<if test="brand != null">brand = #{brand},</if> |
|
|
|
|
create_date = create_date |
|
|
|
|
</trim> |
|
|
|
|
where id = #{id} |
|
|
|
|
|