|
@@ -112,7 +112,8 @@
|
|
|
he.join_cabinet_time joinCabinetTime,
|
|
he.join_cabinet_time joinCabinetTime,
|
|
|
he.lock_id lockId,
|
|
he.lock_id lockId,
|
|
|
he.device_status deviceStatus,
|
|
he.device_status deviceStatus,
|
|
|
- he.manufacturer_type manufacturerType
|
|
|
|
|
|
|
+ he.manufacturer_type manufacturerType,
|
|
|
|
|
+ he.har_user, he.har_psw, he.control_scope
|
|
|
from lab_hardware he
|
|
from lab_hardware he
|
|
|
LEFT JOIN hxp_smart_terminal_config stc ON he.id = stc.terminal_id) xx
|
|
LEFT JOIN hxp_smart_terminal_config stc ON he.id = stc.terminal_id) xx
|
|
|
left join lab_subject_hardware_position hp on hp.hard_id = xx.id
|
|
left join lab_subject_hardware_position hp on hp.hard_id = xx.id
|
|
@@ -273,7 +274,7 @@
|
|
|
session_index,
|
|
session_index,
|
|
|
manufacturer_type,
|
|
manufacturer_type,
|
|
|
channels,
|
|
channels,
|
|
|
- bit
|
|
|
|
|
|
|
+ bit, har_user, har_psw, control_scope
|
|
|
from
|
|
from
|
|
|
lab_hardware
|
|
lab_hardware
|
|
|
<where>
|
|
<where>
|
|
@@ -383,6 +384,10 @@
|
|
|
<if test="channels != null">channels,</if>
|
|
<if test="channels != null">channels,</if>
|
|
|
<if test="lockId != null">lock_id,</if>
|
|
<if test="lockId != null">lock_id,</if>
|
|
|
<if test="isPcfire != null">is_pcfire,</if>
|
|
<if test="isPcfire != null">is_pcfire,</if>
|
|
|
|
|
+
|
|
|
|
|
+ <if test="harUser != null">har_user,</if>
|
|
|
|
|
+ <if test="harPsw != null">har_psw,</if>
|
|
|
|
|
+ <if test="controlScope != null">control_scope,</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">#{id},</if>
|
|
<if test="id != null">#{id},</if>
|
|
@@ -416,6 +421,10 @@
|
|
|
<if test="channels != null">#{channels},</if>
|
|
<if test="channels != null">#{channels},</if>
|
|
|
<if test="lockId != null">#{lockId},</if>
|
|
<if test="lockId != null">#{lockId},</if>
|
|
|
<if test="isPcfire != null">#{isPcfire},</if>
|
|
<if test="isPcfire != null">#{isPcfire},</if>
|
|
|
|
|
+
|
|
|
|
|
+ <if test="harUser != null">#{harUser},</if>
|
|
|
|
|
+ <if test="harPsw != null">#{harPsw},</if>
|
|
|
|
|
+ <if test="controlScope != null">#{controlScope},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
@@ -454,6 +463,10 @@
|
|
|
<if test="deviceStatus != null">device_status=#{deviceStatus},</if>
|
|
<if test="deviceStatus != null">device_status=#{deviceStatus},</if>
|
|
|
<if test="manufacturerType != null">manufacturer_type=#{manufacturerType},</if>
|
|
<if test="manufacturerType != null">manufacturer_type=#{manufacturerType},</if>
|
|
|
<if test="isPcfire != null">is_pcfire=#{isPcfire},</if>
|
|
<if test="isPcfire != null">is_pcfire=#{isPcfire},</if>
|
|
|
|
|
+
|
|
|
|
|
+ <if test="harUser != null">har_user=#{harUser},</if>
|
|
|
|
|
+ <if test="harPsw != null">har_psw=#{harPsw},</if>
|
|
|
|
|
+ <if test="controlScope != null">control_scope=#{controlScope},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
where id = #{id}
|
|
where id = #{id}
|
|
|
</update>
|
|
</update>
|