Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
H
hzsomms
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
ZTGK
hzsomms
Commits
30714c53
Commit
30714c53
authored
Jul 12, 2023
by
hkl
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev-hkl' into dev
parents
c9e9e694
5a724cbe
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
7 deletions
+20
-7
RailManagementDTO.java
.../org/jeecg/modules/deviceAsset/dto/RailManagementDTO.java
+1
-1
SwitchManagementQueryDTO.java
...ecg/modules/deviceAsset/dto/SwitchManagementQueryDTO.java
+3
-0
SwitchManagementMapper.xml
...modules/deviceAsset/mapper/xml/SwitchManagementMapper.xml
+5
-2
LightRail.java
...ava/org/jeecg/modules/subwayNetwork/entity/LightRail.java
+6
-0
LightRailMapper.xml
...eecg/modules/subwayNetwork/mapper/xml/LightRailMapper.xml
+3
-3
DuplicateCheckController.java
...g/modules/system/controller/DuplicateCheckController.java
+2
-1
No files found.
jeecg-module-system/src/main/java/org/jeecg/modules/deviceAsset/dto/RailManagementDTO.java
View file @
30714c53
...
...
@@ -22,7 +22,7 @@ public class RailManagementDTO implements Serializable {
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
"钢轨编码"
)
private
Integer
railCode
;
private
String
railCode
;
@ApiModelProperty
(
"线路id"
)
private
String
lightRailId
;
...
...
jeecg-module-system/src/main/java/org/jeecg/modules/deviceAsset/dto/SwitchManagementQueryDTO.java
View file @
30714c53
...
...
@@ -20,5 +20,8 @@ public class SwitchManagementQueryDTO {
@ApiModelProperty
(
"线别id"
)
private
String
lineAliasId
;
@ApiModelProperty
(
"车站id"
)
private
String
stationId
;
}
jeecg-module-system/src/main/java/org/jeecg/modules/deviceAsset/mapper/xml/SwitchManagementMapper.xml
View file @
30714c53
...
...
@@ -22,10 +22,13 @@
AND t1.switch_code like concat('%',#{dto.switchCode},'%')
</if>
<if
test=
"dto.sectionId != null and dto.sectionId != ''"
>
AND t1.section_id = #{dto.sectionId}
AND t2.section_id = #{dto.sectionId}
</if>
<if
test=
"dto.stationId != null and dto.stationId != ''"
>
AND t2.station_id = #{dto.stationId}
</if>
<if
test=
"dto.lightRailId != null and dto.lightRailId != ''"
>
AND t
3
.light_rail_id = #{dto.lightRailId}
AND t
2
.light_rail_id = #{dto.lightRailId}
</if>
<if
test=
"dto.lineAliasId != null and dto.lineAliasId != ''"
>
AND t1.line_alias_id = #{dto.lineAliasId}
...
...
jeecg-module-system/src/main/java/org/jeecg/modules/subwayNetwork/entity/LightRail.java
View file @
30714c53
...
...
@@ -57,4 +57,10 @@ public class LightRail implements Serializable {
@ApiModelProperty
(
value
=
"状态"
)
private
Integer
status
;
@ApiModelProperty
(
value
=
"上行线路里程"
)
private
BigDecimal
upLineMileage
;
@ApiModelProperty
(
value
=
"下线路里程"
)
private
BigDecimal
downLineMileage
;
}
jeecg-module-system/src/main/java/org/jeecg/modules/subwayNetwork/mapper/xml/LightRailMapper.xml
View file @
30714c53
...
...
@@ -12,10 +12,10 @@
t1.status,
t1.update_by,
t1.update_time,
t1.up_line_mileage,
t1.down_line_mileage,
(SELECT count(1) FROM t_sn_subway_section WHERE light_rail_id = t1.id ) subwaySectionNum,
(SELECT count( DISTINCT station_name) FROM t_sn_train_station WHERE light_rail_id = t1.id ) trainStationNum,
(SELECT max(end_mileage) FROM t_sn_train_station WHERE light_rail_id = t1.id AND line_alias_id = '1' ) upLineMileage,
(SELECT max(end_mileage) FROM t_sn_train_station WHERE light_rail_id = t1.id AND line_alias_id = '2' ) downLineMileage
(SELECT count( DISTINCT station_name) FROM t_sn_train_station WHERE light_rail_id = t1.id ) trainStationNum
FROM
t_sn_light_rail t1
<where>
...
...
jeecg-module-system/src/main/java/org/jeecg/modules/system/controller/DuplicateCheckController.java
View file @
30714c53
...
...
@@ -82,7 +82,8 @@ public class DuplicateCheckController {
}
else
{
// 该值不可用
log
.
info
(
"该值不可用,系统中已存在!"
);
return
Result
.
error
(
"该值不可用,系统中已存在!"
);
// return Result.error("该值不可用,系统中已存在!");
return
Result
.
error
(
""
);
}
}
...
...
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