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
c9e9e694
Commit
c9e9e694
authored
Jul 11, 2023
by
hkl
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev-hkl' into dev
parents
4ea74578
c33bd4ed
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
169 additions
and
10 deletions
+169
-10
CurveManagementDTO.java
...org/jeecg/modules/deviceAsset/dto/CurveManagementDTO.java
+10
-0
FastenerManagementDTO.java
.../jeecg/modules/deviceAsset/dto/FastenerManagementDTO.java
+10
-0
RailManagementDTO.java
.../org/jeecg/modules/deviceAsset/dto/RailManagementDTO.java
+8
-2
SignBoardManagementDTO.java
...jeecg/modules/deviceAsset/dto/SignBoardManagementDTO.java
+10
-2
SleeperManagementDTO.java
...g/jeecg/modules/deviceAsset/dto/SleeperManagementDTO.java
+10
-0
SwitchManagementQueryDTO.java
...ecg/modules/deviceAsset/dto/SwitchManagementQueryDTO.java
+12
-2
TrackBedManagementDTO.java
.../jeecg/modules/deviceAsset/dto/TrackBedManagementDTO.java
+9
-0
VerticalCurveManagementDTO.java
...g/modules/deviceAsset/dto/VerticalCurveManagementDTO.java
+10
-0
CurveManagementMapper.xml
.../modules/deviceAsset/mapper/xml/CurveManagementMapper.xml
+9
-0
FastenerManagementMapper.xml
...dules/deviceAsset/mapper/xml/FastenerManagementMapper.xml
+9
-0
RailManagementMapper.xml
...g/modules/deviceAsset/mapper/xml/RailManagementMapper.xml
+9
-0
SignBoardManagementMapper.xml
...ules/deviceAsset/mapper/xml/SignBoardManagementMapper.xml
+9
-0
SleeperManagementMapper.xml
...odules/deviceAsset/mapper/xml/SleeperManagementMapper.xml
+9
-0
SwitchManagementMapper.xml
...modules/deviceAsset/mapper/xml/SwitchManagementMapper.xml
+14
-1
TrackBedManagementMapper.xml
...dules/deviceAsset/mapper/xml/TrackBedManagementMapper.xml
+9
-0
VerticalCurveManagementMapper.xml
.../deviceAsset/mapper/xml/VerticalCurveManagementMapper.xml
+9
-0
SubwaySectionController.java
...les/subwayNetwork/controller/SubwaySectionController.java
+1
-0
LightRailMapper.xml
...eecg/modules/subwayNetwork/mapper/xml/LightRailMapper.xml
+6
-3
SectionStationMapVO.java
...g/jeecg/modules/subwayNetwork/vo/SectionStationMapVO.java
+6
-0
No files found.
jeecg-module-system/src/main/java/org/jeecg/modules/deviceAsset/dto/CurveManagementDTO.java
View file @
c9e9e694
...
@@ -23,4 +23,14 @@ public class CurveManagementDTO implements Serializable {
...
@@ -23,4 +23,14 @@ public class CurveManagementDTO implements Serializable {
@ApiModelProperty
(
"曲线编号"
)
@ApiModelProperty
(
"曲线编号"
)
private
String
curveCode
;
private
String
curveCode
;
@ApiModelProperty
(
"线路id"
)
private
String
lightRailId
;
@ApiModelProperty
(
"区间id"
)
private
String
sectionId
;
@ApiModelProperty
(
"线别id"
)
private
String
lineAliasId
;
}
}
jeecg-module-system/src/main/java/org/jeecg/modules/deviceAsset/dto/FastenerManagementDTO.java
View file @
c9e9e694
...
@@ -12,4 +12,14 @@ public class FastenerManagementDTO {
...
@@ -12,4 +12,14 @@ public class FastenerManagementDTO {
@ApiModelProperty
(
"扣件编号"
)
@ApiModelProperty
(
"扣件编号"
)
private
String
fastenerCode
;
private
String
fastenerCode
;
@ApiModelProperty
(
"线路id"
)
private
String
lightRailId
;
@ApiModelProperty
(
"区间id"
)
private
String
sectionId
;
@ApiModelProperty
(
"线别id"
)
private
String
lineAliasId
;
}
}
jeecg-module-system/src/main/java/org/jeecg/modules/deviceAsset/dto/RailManagementDTO.java
View file @
c9e9e694
package
org
.
jeecg
.
modules
.
deviceAsset
.
dto
;
package
org
.
jeecg
.
modules
.
deviceAsset
.
dto
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
...
@@ -23,8 +24,13 @@ public class RailManagementDTO implements Serializable {
...
@@ -23,8 +24,13 @@ public class RailManagementDTO implements Serializable {
@ApiModelProperty
(
"钢轨编码"
)
@ApiModelProperty
(
"钢轨编码"
)
private
Integer
railCode
;
private
Integer
railCode
;
@ApiModelProperty
(
"
备注
"
)
@ApiModelProperty
(
"
线路id
"
)
private
String
remark
;
private
String
lightRailId
;
@ApiModelProperty
(
"区间id"
)
private
String
sectionId
;
@ApiModelProperty
(
"线别id"
)
private
String
lineAliasId
;
}
}
jeecg-module-system/src/main/java/org/jeecg/modules/deviceAsset/dto/SignBoardManagementDTO.java
View file @
c9e9e694
...
@@ -24,8 +24,16 @@ import java.util.Date;
...
@@ -24,8 +24,16 @@ import java.util.Date;
@ApiModel
(
value
=
"SignBoardManagementDTO对象"
,
description
=
"资产管理-轨行区标识牌管理"
)
@ApiModel
(
value
=
"SignBoardManagementDTO对象"
,
description
=
"资产管理-轨行区标识牌管理"
)
public
class
SignBoardManagementDTO
implements
Serializable
{
public
class
SignBoardManagementDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
"轨行区标识牌编号"
)
@ApiModelProperty
(
"轨行区标识牌编号"
)
private
String
signBoardCode
;
private
String
signBoardCode
;
@ApiModelProperty
(
"线路id"
)
private
String
lightRailId
;
@ApiModelProperty
(
"区间id"
)
private
String
sectionId
;
@ApiModelProperty
(
"线别id"
)
private
String
lineAliasId
;
}
}
jeecg-module-system/src/main/java/org/jeecg/modules/deviceAsset/dto/SleeperManagementDTO.java
View file @
c9e9e694
...
@@ -31,4 +31,14 @@ public class SleeperManagementDTO implements Serializable {
...
@@ -31,4 +31,14 @@ public class SleeperManagementDTO implements Serializable {
@ApiModelProperty
(
"道床id"
)
@ApiModelProperty
(
"道床id"
)
private
String
trackBedId
;
private
String
trackBedId
;
@ApiModelProperty
(
"线路id"
)
private
String
lightRailId
;
@ApiModelProperty
(
"区间id"
)
private
String
sectionId
;
@ApiModelProperty
(
"线别id"
)
private
String
lineAliasId
;
}
}
jeecg-module-system/src/main/java/org/jeecg/modules/deviceAsset/dto/SwitchManagementQueryDTO.java
View file @
c9e9e694
...
@@ -8,7 +8,17 @@ import lombok.Data;
...
@@ -8,7 +8,17 @@ import lombok.Data;
@ApiModel
(
value
=
"资产管理-道岔管理DTO"
)
@ApiModel
(
value
=
"资产管理-道岔管理DTO"
)
public
class
SwitchManagementQueryDTO
{
public
class
SwitchManagementQueryDTO
{
@ApiModelProperty
(
value
=
"线路name"
)
@ApiModelProperty
(
value
=
"道岔编码"
)
private
String
railLineName
;
private
String
switchCode
;
@ApiModelProperty
(
"线路id"
)
private
String
lightRailId
;
@ApiModelProperty
(
"区间id"
)
private
String
sectionId
;
@ApiModelProperty
(
"线别id"
)
private
String
lineAliasId
;
}
}
jeecg-module-system/src/main/java/org/jeecg/modules/deviceAsset/dto/TrackBedManagementDTO.java
View file @
c9e9e694
...
@@ -31,5 +31,14 @@ public class TrackBedManagementDTO implements Serializable {
...
@@ -31,5 +31,14 @@ public class TrackBedManagementDTO implements Serializable {
@ApiModelProperty
(
"道床编号"
)
@ApiModelProperty
(
"道床编号"
)
private
String
trackBedCode
;
private
String
trackBedCode
;
@ApiModelProperty
(
"线路id"
)
private
String
lightRailId
;
@ApiModelProperty
(
"区间id"
)
private
String
sectionId
;
@ApiModelProperty
(
"线别id"
)
private
String
lineAliasId
;
}
}
jeecg-module-system/src/main/java/org/jeecg/modules/deviceAsset/dto/VerticalCurveManagementDTO.java
View file @
c9e9e694
...
@@ -31,4 +31,14 @@ public class VerticalCurveManagementDTO implements Serializable {
...
@@ -31,4 +31,14 @@ public class VerticalCurveManagementDTO implements Serializable {
@ApiModelProperty
(
"竖曲线编号"
)
@ApiModelProperty
(
"竖曲线编号"
)
private
String
verticalCurveCode
;
private
String
verticalCurveCode
;
@ApiModelProperty
(
"线路id"
)
private
String
lightRailId
;
@ApiModelProperty
(
"区间id"
)
private
String
sectionId
;
@ApiModelProperty
(
"线别id"
)
private
String
lineAliasId
;
}
}
jeecg-module-system/src/main/java/org/jeecg/modules/deviceAsset/mapper/xml/CurveManagementMapper.xml
View file @
c9e9e694
...
@@ -17,6 +17,15 @@
...
@@ -17,6 +17,15 @@
<if
test=
"dto.curveCode != null and dto.curveCode != ''"
>
<if
test=
"dto.curveCode != null and dto.curveCode != ''"
>
AND t1.curve_code like concat('%',#{dto.curveCode},'%')
AND t1.curve_code like concat('%',#{dto.curveCode},'%')
</if>
</if>
<if
test=
"dto.sectionId != null and dto.sectionId != ''"
>
AND t1.section_id = #{dto.sectionId}
</if>
<if
test=
"dto.lightRailId != null and dto.lightRailId != ''"
>
AND t2.light_rail_id = #{dto.lightRailId}
</if>
<if
test=
"dto.lineAliasId != null and dto.lineAliasId != ''"
>
AND t1.line_alias_id = #{dto.lineAliasId}
</if>
</where>
</where>
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
jeecg-module-system/src/main/java/org/jeecg/modules/deviceAsset/mapper/xml/FastenerManagementMapper.xml
View file @
c9e9e694
...
@@ -21,6 +21,15 @@
...
@@ -21,6 +21,15 @@
<if
test=
"dto.fastenerCode != null and dto.fastenerCode != ''"
>
<if
test=
"dto.fastenerCode != null and dto.fastenerCode != ''"
>
AND t1.fastener_code like concat('%',#{dto.fastenerCode},'%')
AND t1.fastener_code like concat('%',#{dto.fastenerCode},'%')
</if>
</if>
<if
test=
"dto.sectionId != null and dto.sectionId != ''"
>
AND t1.section_id = #{dto.sectionId}
</if>
<if
test=
"dto.lightRailId != null and dto.lightRailId != ''"
>
AND t2.light_rail_id = #{dto.lightRailId}
</if>
<if
test=
"dto.lineAliasId != null and dto.lineAliasId != ''"
>
AND t1.line_alias_id = #{dto.lineAliasId}
</if>
</where>
</where>
</select>
</select>
</mapper>
</mapper>
jeecg-module-system/src/main/java/org/jeecg/modules/deviceAsset/mapper/xml/RailManagementMapper.xml
View file @
c9e9e694
...
@@ -16,6 +16,15 @@
...
@@ -16,6 +16,15 @@
<if
test=
"dto.railCode != null and dto.railCode != ''"
>
<if
test=
"dto.railCode != null and dto.railCode != ''"
>
AND t1.rail_code like concat('%',#{dto.railCode},'%')
AND t1.rail_code like concat('%',#{dto.railCode},'%')
</if>
</if>
<if
test=
"dto.sectionId != null and dto.sectionId != ''"
>
AND t1.section_id = #{dto.sectionId}
</if>
<if
test=
"dto.lightRailId != null and dto.lightRailId != ''"
>
AND t2.light_rail_id = #{dto.lightRailId}
</if>
<if
test=
"dto.lineAliasId != null and dto.lineAliasId != ''"
>
AND t1.line_alias_id = #{dto.lineAliasId}
</if>
</where>
</where>
</select>
</select>
</mapper>
</mapper>
jeecg-module-system/src/main/java/org/jeecg/modules/deviceAsset/mapper/xml/SignBoardManagementMapper.xml
View file @
c9e9e694
...
@@ -16,6 +16,15 @@
...
@@ -16,6 +16,15 @@
<if
test=
"dto.signBoardCode != null and dto.signBoardCode != ''"
>
<if
test=
"dto.signBoardCode != null and dto.signBoardCode != ''"
>
AND t1.sign_board_code like concat('%',#{dto.signBoardCode},'%')
AND t1.sign_board_code like concat('%',#{dto.signBoardCode},'%')
</if>
</if>
<if
test=
"dto.sectionId != null and dto.sectionId != ''"
>
AND t1.section_id = #{dto.sectionId}
</if>
<if
test=
"dto.lightRailId != null and dto.lightRailId != ''"
>
AND t2.light_rail_id = #{dto.lightRailId}
</if>
<if
test=
"dto.lineAliasId != null and dto.lineAliasId != ''"
>
AND t1.line_alias_id = #{dto.lineAliasId}
</if>
</where>
</where>
</select>
</select>
</mapper>
</mapper>
jeecg-module-system/src/main/java/org/jeecg/modules/deviceAsset/mapper/xml/SleeperManagementMapper.xml
View file @
c9e9e694
...
@@ -21,6 +21,15 @@
...
@@ -21,6 +21,15 @@
<if
test=
"dto.sleeperCode != null and dto.sleeperCode != ''"
>
<if
test=
"dto.sleeperCode != null and dto.sleeperCode != ''"
>
AND t1.sleeper_code like concat('%',#{dto.sleeperCode},'%')
AND t1.sleeper_code like concat('%',#{dto.sleeperCode},'%')
</if>
</if>
<if
test=
"dto.sectionId != null and dto.sectionId != ''"
>
AND t1.section_id = #{dto.sectionId}
</if>
<if
test=
"dto.lightRailId != null and dto.lightRailId != ''"
>
AND t2.light_rail_id = #{dto.lightRailId}
</if>
<if
test=
"dto.lineAliasId != null and dto.lineAliasId != ''"
>
AND t1.line_alias_id = #{dto.lineAliasId}
</if>
</where>
</where>
</select>
</select>
</mapper>
</mapper>
jeecg-module-system/src/main/java/org/jeecg/modules/deviceAsset/mapper/xml/SwitchManagementMapper.xml
View file @
c9e9e694
...
@@ -17,6 +17,19 @@
...
@@ -17,6 +17,19 @@
FROM
FROM
t_da_switch_management t1 LEFT JOIN t_sn_section_station_map t2 ON t1.section_station_map_id = t2.id
t_da_switch_management t1 LEFT JOIN t_sn_section_station_map t2 ON t1.section_station_map_id = t2.id
LEFT JOIN t_sn_line_alias t3 ON t1.line_alias_id = t3.id
LEFT JOIN t_sn_line_alias t3 ON t1.line_alias_id = t3.id
<where>
<if
test=
"dto.switchCode != null and dto.switchCode != ''"
>
AND t1.switch_code like concat('%',#{dto.switchCode},'%')
</if>
<if
test=
"dto.sectionId != null and dto.sectionId != ''"
>
AND t1.section_id = #{dto.sectionId}
</if>
<if
test=
"dto.lightRailId != null and dto.lightRailId != ''"
>
AND t3.light_rail_id = #{dto.lightRailId}
</if>
<if
test=
"dto.lineAliasId != null and dto.lineAliasId != ''"
>
AND t1.line_alias_id = #{dto.lineAliasId}
</if>
</where>
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
jeecg-module-system/src/main/java/org/jeecg/modules/deviceAsset/mapper/xml/TrackBedManagementMapper.xml
View file @
c9e9e694
...
@@ -16,6 +16,15 @@
...
@@ -16,6 +16,15 @@
<if
test=
"dto.trackBedCode != null and dto.trackBedCode != ''"
>
<if
test=
"dto.trackBedCode != null and dto.trackBedCode != ''"
>
AND t1.track_bed_code like concat('%',#{dto.trackBedCode},'%')
AND t1.track_bed_code like concat('%',#{dto.trackBedCode},'%')
</if>
</if>
<if
test=
"dto.sectionId != null and dto.sectionId != ''"
>
AND t1.section_id = #{dto.sectionId}
</if>
<if
test=
"dto.lightRailId != null and dto.lightRailId != ''"
>
AND t2.light_rail_id = #{dto.lightRailId}
</if>
<if
test=
"dto.lineAliasId != null and dto.lineAliasId != ''"
>
AND t1.line_alias_id = #{dto.lineAliasId}
</if>
</where>
</where>
</select>
</select>
</mapper>
</mapper>
jeecg-module-system/src/main/java/org/jeecg/modules/deviceAsset/mapper/xml/VerticalCurveManagementMapper.xml
View file @
c9e9e694
...
@@ -16,6 +16,15 @@
...
@@ -16,6 +16,15 @@
<if
test=
"dto.verticalCurveCode != null and dto.verticalCurveCode != ''"
>
<if
test=
"dto.verticalCurveCode != null and dto.verticalCurveCode != ''"
>
AND t1.vertical_curve_code like concat('%',#{dto.verticalCurveCode},'%')
AND t1.vertical_curve_code like concat('%',#{dto.verticalCurveCode},'%')
</if>
</if>
<if
test=
"dto.sectionId != null and dto.sectionId != ''"
>
AND t1.section_id = #{dto.sectionId}
</if>
<if
test=
"dto.lightRailId != null and dto.lightRailId != ''"
>
AND t2.light_rail_id = #{dto.lightRailId}
</if>
<if
test=
"dto.lineAliasId != null and dto.lineAliasId != ''"
>
AND t1.line_alias_id = #{dto.lineAliasId}
</if>
</where>
</where>
</select>
</select>
</mapper>
</mapper>
jeecg-module-system/src/main/java/org/jeecg/modules/subwayNetwork/controller/SubwaySectionController.java
View file @
c9e9e694
...
@@ -91,6 +91,7 @@ public class SubwaySectionController extends JeecgController<SubwaySection, ISub
...
@@ -91,6 +91,7 @@ public class SubwaySectionController extends JeecgController<SubwaySection, ISub
map
.
put
(
"label"
,
subwaySection
.
getSectionName
());
map
.
put
(
"label"
,
subwaySection
.
getSectionName
());
map
.
put
(
"value"
,
subwaySection
.
getId
());
map
.
put
(
"value"
,
subwaySection
.
getId
());
map
.
put
(
"parentId"
,
subwaySection
.
getLightRailId
());
map
.
put
(
"parentId"
,
subwaySection
.
getLightRailId
());
map
.
put
(
"lineAliasId"
,
subwaySection
.
getLineAliasId
());
list
.
add
(
map
);
list
.
add
(
map
);
}
}
return
Result
.
OK
(
list
);
return
Result
.
OK
(
list
);
...
...
jeecg-module-system/src/main/java/org/jeecg/modules/subwayNetwork/mapper/xml/LightRailMapper.xml
View file @
c9e9e694
...
@@ -32,12 +32,15 @@
...
@@ -32,12 +32,15 @@
id,
id,
light_rail_id,
light_rail_id,
light_rail_name,
light_rail_name,
section_name
,
section_name,
section_id
,
section_id,
station_id,
station_id,
station_name
station_name,
station_line_alias_id line_alias_id,
( SELECT line_alias_name FROM t_sn_line_alias WHERE id = station_line_alias_id LIMIT 1 ) line_alias_name
FROM
FROM
t_sn_section_station_map
t_sn_section_station_map
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
jeecg-module-system/src/main/java/org/jeecg/modules/subwayNetwork/vo/SectionStationMapVO.java
View file @
c9e9e694
...
@@ -26,4 +26,10 @@ public class SectionStationMapVO {
...
@@ -26,4 +26,10 @@ public class SectionStationMapVO {
@ApiModelProperty
(
value
=
"车站名称"
)
@ApiModelProperty
(
value
=
"车站名称"
)
private
String
stationName
;
private
String
stationName
;
@ApiModelProperty
(
value
=
"线别id"
)
private
String
lineAliasId
;
@ApiModelProperty
(
value
=
"线别名称"
)
private
String
lineAliasName
;
}
}
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