边带子设备添加杆塔
This commit is contained in:
parent
cab920a18c
commit
5ec9e8ab60
|
|
@ -72,6 +72,9 @@ public class DeviceBdChildVo {
|
|||
|
||||
@ApiModelProperty(value = "区域名称")
|
||||
private String areaName;
|
||||
|
||||
@ApiModelProperty(value = "杆塔ID")
|
||||
private String gtId;
|
||||
/**
|
||||
* 查询条件限制
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -66,6 +66,7 @@
|
|||
<if test="updateTime != null and updateTime!=''">device_model,</if>
|
||||
<if test="bdId != null and bdId!=''">bd_id,</if>
|
||||
<if test="areaId != null and areaId!=''">area_id,</if>
|
||||
<if test="gtId != null and gtId!=''">gt_id,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="deviceId != null and deviceId != ''">#{deviceId},</if>
|
||||
|
|
@ -80,6 +81,7 @@
|
|||
<if test="deviceModel != null and deviceModel!=''">#{deviceModel},</if>
|
||||
<if test="bdId != null and bdId!=''">#{bdId},</if>
|
||||
<if test="areaId != null and areaId!=''">#{areaId},</if>
|
||||
<if test="gtId != null and gtId!=''">#{gtId},</if>
|
||||
</trim>
|
||||
</if>
|
||||
<if test="type == 2">
|
||||
|
|
@ -94,6 +96,7 @@
|
|||
<if test="deviceModel != null and deviceModel != ''">device_model = #{deviceModel},</if>
|
||||
<if test="bdId != null and bdId != ''">bd_id = #{bdId},</if>
|
||||
<if test="areaId != null and areaId != ''">area_id = #{areaId},</if>
|
||||
<if test="gtId != null and gtId != ''">gt_id = #{gtId},</if>
|
||||
</set>
|
||||
WHERE device_id = #{deviceId}
|
||||
</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue