添加前置类型
This commit is contained in:
@@ -20,6 +20,8 @@ public class DeviceInfo {
|
|||||||
private String ip;
|
private String ip;
|
||||||
//终端型号
|
//终端型号
|
||||||
private String devType;
|
private String devType;
|
||||||
|
//前置类型
|
||||||
|
private String comType;
|
||||||
//挂载单位
|
//挂载单位
|
||||||
private String org_name;
|
private String org_name;
|
||||||
//组织名称
|
//组织名称
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
pq_device.Id id,
|
pq_device.Id id,
|
||||||
pq_device.IP ip,
|
pq_device.IP ip,
|
||||||
s1.Name devType,
|
s1.Name devType,
|
||||||
|
S3.Name comType,
|
||||||
pq_device.Port port,
|
pq_device.Port port,
|
||||||
pq_line.Name name,
|
pq_line.Name name,
|
||||||
sub.Name subName,
|
sub.Name subName,
|
||||||
@@ -25,6 +26,7 @@
|
|||||||
LEFT JOIN pq_line sub on pq_line.pid = sub.id
|
LEFT JOIN pq_line sub on pq_line.pid = sub.id
|
||||||
LEFT JOIN pq_device_process on pq_device_process.id = pq_device.id
|
LEFT JOIN pq_device_process on pq_device_process.id = pq_device.id
|
||||||
LEFT JOIN pq_dev_type s1 ON pq_device.Dev_Type = s1.id
|
LEFT JOIN pq_dev_type s1 ON pq_device.Dev_Type = s1.id
|
||||||
|
LEFT JOIN sys_dict_data s3 ON pq_device.Front_Type = s3.id
|
||||||
LEFT JOIN sys_dict_data s2 ON pq_device.Manufacturer = s2.id
|
LEFT JOIN sys_dict_data s2 ON pq_device.Manufacturer = s2.id
|
||||||
<where>
|
<where>
|
||||||
<if test="nodeDeviceParam.ip!=null and nodeDeviceParam.ip != ''">
|
<if test="nodeDeviceParam.ip!=null and nodeDeviceParam.ip != ''">
|
||||||
|
|||||||
Reference in New Issue
Block a user