Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
455dbd54
Commit
455dbd54
authored
Nov 21, 2023
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
0ab9afee
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletion
+20
-1
JpCollectorDto.java
...yeejoin/amos/boot/module/hygf/api/dto/JpCollectorDto.java
+8
-0
JpCollector.java
...yeejoin/amos/boot/module/hygf/api/entity/JpCollector.java
+7
-0
JpCollectorMapper.xml
...api/src/main/resources/mapper/mysql/JpCollectorMapper.xml
+5
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/JpCollectorDto.java
View file @
455dbd54
...
...
@@ -85,4 +85,12 @@ public class JpCollectorDto extends BaseDto {
@ApiModelProperty
(
value
=
"类型"
)
private
String
collectorType
;
@ApiModelProperty
(
value
=
"信号强度"
)
private
String
signalStrength
;
@ApiModelProperty
(
value
=
"所属项目公司"
)
private
String
companyName
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/entity/JpCollector.java
View file @
455dbd54
...
...
@@ -123,4 +123,11 @@ public class JpCollector extends BaseEntity {
@TableField
(
"name"
)
private
String
name
;
/**
* 信号强度
*/
@TableField
(
"signal_strength"
)
private
String
signalStrength
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/JpCollectorMapper.xml
View file @
455dbd54
...
...
@@ -48,10 +48,13 @@
hjc.update_time AS updateTime,
hjc.type as collectorType,
sta.name as name,
sta.type as type
sta.type as type,
hjc.signalStrength,
pc.COMPANY_NAME as companyName
from
hygf_jp_collector hjc
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>
<if
test=
"dto.snCode != null and dto.snCode != ''"
>
hjc.sn_code = #{dto.snCode}
...
...
@@ -72,6 +75,7 @@
from
hygf_jp_collector hjc
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>
<if
test=
"dto.snCode != null and dto.snCode != ''"
>
hjc.sn_code = #{dto.snCode}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment