Commit 455dbd54 authored by zhangsen's avatar zhangsen

bug

parent 0ab9afee
...@@ -85,4 +85,12 @@ public class JpCollectorDto extends BaseDto { ...@@ -85,4 +85,12 @@ public class JpCollectorDto extends BaseDto {
@ApiModelProperty(value = "类型") @ApiModelProperty(value = "类型")
private String collectorType; private String collectorType;
@ApiModelProperty(value = "信号强度")
private String signalStrength;
@ApiModelProperty(value = "所属项目公司")
private String companyName;
} }
...@@ -123,4 +123,11 @@ public class JpCollector extends BaseEntity { ...@@ -123,4 +123,11 @@ public class JpCollector extends BaseEntity {
@TableField("name") @TableField("name")
private String name; private String name;
/**
* 信号强度
*/
@TableField("signal_strength")
private String signalStrength;
} }
...@@ -48,10 +48,13 @@ ...@@ -48,10 +48,13 @@
hjc.update_time AS updateTime, hjc.update_time AS updateTime,
hjc.type as collectorType, hjc.type as collectorType,
sta.name as name, sta.name as name,
sta.type as type sta.type as type,
hjc.signalStrength,
pc.COMPANY_NAME as companyName
from from
hygf_jp_collector hjc hygf_jp_collector hjc
left join hygf_jp_station sta on sta.third_station_id = hjc.third_station_id left join hygf_jp_station sta on sta.third_station_id = hjc.third_station_id
left join privilege_company pc on sta.regional_companies_code = pc.ORG_CODE
<where> <where>
<if test="dto.snCode != null and dto.snCode != ''"> <if test="dto.snCode != null and dto.snCode != ''">
hjc.sn_code = #{dto.snCode} hjc.sn_code = #{dto.snCode}
...@@ -72,6 +75,7 @@ ...@@ -72,6 +75,7 @@
from from
hygf_jp_collector hjc hygf_jp_collector hjc
left join hygf_jp_station sta on sta.third_station_id = hjc.third_station_id left join hygf_jp_station sta on sta.third_station_id = hjc.third_station_id
left join privilege_company pc on sta.regional_companies_code = pc.ORG_CODE
<where> <where>
<if test="dto.snCode != null and dto.snCode != ''"> <if test="dto.snCode != null and dto.snCode != ''">
hjc.sn_code = #{dto.snCode} hjc.sn_code = #{dto.snCode}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment