Commit 040a90c1 authored by zhangsen's avatar zhangsen

bug

parent 9e3f0818
...@@ -81,4 +81,8 @@ public class JpCollectorDto extends BaseDto { ...@@ -81,4 +81,8 @@ public class JpCollectorDto extends BaseDto {
@ApiModelProperty(value = "采集器名称") @ApiModelProperty(value = "采集器名称")
private String name; private String name;
@ApiModelProperty(value = "类型")
private String collectorType;
} }
...@@ -43,12 +43,12 @@ ...@@ -43,12 +43,12 @@
<select id="selectPageData" resultType="com.yeejoin.amos.boot.module.hygf.api.dto.JpCollectorDto"> <select id="selectPageData" resultType="com.yeejoin.amos.boot.module.hygf.api.dto.JpCollectorDto">
select select
hjc.state, hjc.state,
hjc.sn_code, hjc.sn_code as snCode,
hjc.station_name, hjc.station_name as stationName,
hjc.update_time, hjc.update_time AS updateTime,
hjc.type as collectorType, hjc.type as collectorType,
sta.name, sta.name as name,
sta.type sta.type as type
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
......
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