|
|
|
@ -25,6 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<result property="gatherFrequency" column="gather_frequency" /> |
|
|
|
<result property="gatherFrequency" column="gather_frequency" /> |
|
|
|
<result property="equImage" column="equ_image" /> |
|
|
|
<result property="equImage" column="equ_image" /> |
|
|
|
<result property="equNumber" column="equ_number" /> |
|
|
|
<result property="equNumber" column="equ_number" /> |
|
|
|
|
|
|
|
<result property="floor" column="floor" /> |
|
|
|
<association property="manufactureVO" columnPrefix="equ_manu_" autoMapping="true" /> |
|
|
|
<association property="manufactureVO" columnPrefix="equ_manu_" autoMapping="true" /> |
|
|
|
<association property="equTypeVO" columnPrefix="equ_type_" autoMapping="true" /> |
|
|
|
<association property="equTypeVO" columnPrefix="equ_type_" autoMapping="true" /> |
|
|
|
|
|
|
|
|
|
|
|
@ -159,7 +160,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
b.status AS status, |
|
|
|
b.status AS status, |
|
|
|
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 |
|
|
|
</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"> |
|
|
|
@ -434,6 +436,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="createBy != null">create_by,</if> |
|
|
|
<if test="createBy != null">create_by,</if> |
|
|
|
<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> |
|
|
|
|
|
|
|
|
|
|
|
status, |
|
|
|
status, |
|
|
|
<if test="equImage != null">equ_image,</if> |
|
|
|
<if test="equImage != null">equ_image,</if> |
|
|
|
@ -457,6 +460,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="createBy != null">#{createBy},</if> |
|
|
|
<if test="createBy != null">#{createBy},</if> |
|
|
|
<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> |
|
|
|
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), |
|
|
|
@ -485,6 +489,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="supplierId != null">supplier_id = #{supplierId},</if> |
|
|
|
<if test="supplierId != null">supplier_id = #{supplierId},</if> |
|
|
|
<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> |
|
|
|
</trim> |
|
|
|
</trim> |
|
|
|
where id = #{id} |
|
|
|
where id = #{id} |
|
|
|
</update> |
|
|
|
</update> |
|
|
|
|