|
|
@@ -21,10 +21,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
<result property="lockTypeId" column="lock_type_id" />
|
|
|
+ <result property="pointNfc" column="point_nfc" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectIsIsolationPointVo">
|
|
|
- select point_id, point_code, point_name, point_type, workshop_id, workarea_id, power_type, isolation_method,
|
|
|
+ select point_id, point_code, point_name, point_type, point_nfc, workshop_id, workarea_id, power_type, isolation_method,
|
|
|
point_icon, point_picture, del_flag, create_by, create_time, update_time, update_by,
|
|
|
lock_type_id
|
|
|
from is_isolation_point
|
|
|
@@ -65,6 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
|
<if test="lockTypeId != null and lockTypeId != ''">lock_type_id,</if>
|
|
|
+ <if test="pointNfc != null and pointNfc != ''">point_nfc,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="pointCode != null and pointCode != ''">#{pointCode},</if>
|
|
|
@@ -82,6 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
|
<if test="lockTypeId != null and lockTypeId != ''">#{lockTypeId},</if>
|
|
|
+ <if test="pointNfc != null and pointNfc != ''">#{pointNfc},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -103,6 +106,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
<if test="lockTypeId != null and lockTypeId != ''">lock_type_id = #{lockTypeId},</if>
|
|
|
+ <if test="pointNfc != null and pointNfc != ''">point_nfc = #{pointNfc},</if>
|
|
|
</trim>
|
|
|
where point_id = #{pointId}
|
|
|
</update>
|