Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
traffic-signal-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
signal
traffic-signal-platform
Commits
9211740d
Commit
9211740d
authored
Aug 04, 2023
by
duanruiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[update] 优化调度方案查询mapper
parent
541788f1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
BaseCrossSchedulesPlanPO.java
...et/wanji/databus/dao/entity/BaseCrossSchedulesPlanPO.java
+6
-0
CrossDataRealtimePO.java
...c/main/java/net/wanji/databus/po/CrossDataRealtimePO.java
+0
-3
BaseCrossSchedulesMapper.xml
...us/src/main/resources/mapper/BaseCrossSchedulesMapper.xml
+4
-4
No files found.
wj-databus/src/main/java/net/wanji/databus/dao/entity/BaseCrossSchedulesPlanPO.java
View file @
9211740d
...
@@ -16,15 +16,21 @@ public class BaseCrossSchedulesPlanPO {
...
@@ -16,15 +16,21 @@ public class BaseCrossSchedulesPlanPO {
/** ID */
/** ID */
@ApiModelProperty
(
name
=
"ID"
,
notes
=
""
)
@ApiModelProperty
(
name
=
"ID"
,
notes
=
""
)
private
Integer
id
;
private
Integer
id
;
@ApiModelProperty
(
name
=
"name"
,
notes
=
""
)
private
String
name
;
/** 路口ID */
/** 路口ID */
@ApiModelProperty
(
name
=
"路口ID"
,
notes
=
""
)
@ApiModelProperty
(
name
=
"路口ID"
,
notes
=
""
)
private
String
crossId
;
private
String
crossId
;
/** 调度ID */
/** 调度ID */
@ApiModelProperty
(
name
=
"调度ID"
,
notes
=
""
)
@ApiModelProperty
(
name
=
"调度ID"
,
notes
=
""
)
private
Integer
schedulesId
;
private
Integer
schedulesId
;
@ApiModelProperty
(
name
=
"状态"
,
notes
=
""
)
private
Integer
status
;
/** 计划ID */
/** 计划ID */
@ApiModelProperty
(
name
=
"计划ID"
,
notes
=
""
)
@ApiModelProperty
(
name
=
"计划ID"
,
notes
=
""
)
private
Integer
planId
;
private
Integer
planId
;
@ApiModelProperty
(
name
=
"计划编号"
,
notes
=
""
)
private
String
planNo
;
/** 星期:1周一,2周二,3周三,4周四,5周五,6周六,7周日,0特殊日期 */
/** 星期:1周一,2周二,3周三,4周四,5周五,6周六,7周日,0特殊日期 */
@ApiModelProperty
(
name
=
"星期:1周一,2周二,3周三,4周四,5周五,6周六,7周日,0特殊日期"
,
notes
=
""
)
@ApiModelProperty
(
name
=
"星期:1周一,2周二,3周三,4周四,5周五,6周六,7周日,0特殊日期"
,
notes
=
""
)
private
Integer
week
=
0
;
private
Integer
week
=
0
;
...
...
wj-databus/src/main/java/net/wanji/databus/po/CrossDataRealtimePO.java
View file @
9211740d
...
@@ -4,11 +4,8 @@ import com.baomidou.mybatisplus.annotation.TableName;
...
@@ -4,11 +4,8 @@ import com.baomidou.mybatisplus.annotation.TableName;
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
;
import
net.wanji.databus.dto.CrossDirInfoDTO
;
import
net.wanji.databus.dto.CrossTurnInfoDTO
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
/**
/**
* @author duanruiming
* @author duanruiming
...
...
wj-databus/src/main/resources/mapper/BaseCrossSchedulesMapper.xml
View file @
9211740d
...
@@ -73,8 +73,8 @@
...
@@ -73,8 +73,8 @@
</select>
</select>
<resultMap
type=
"net.wanji.databus.dao.entity.BaseCrossSchedulesPlanPO"
id=
"CrossSchedulesPlanPO"
>
<resultMap
type=
"net.wanji.databus.dao.entity.BaseCrossSchedulesPlanPO"
id=
"CrossSchedulesPlanPO"
>
<result
property=
"
schedulesId"
column=
"schedulesI
d"
/>
<result
property=
"
id"
column=
"i
d"
/>
<result
property=
"
schedulesName"
column=
"schedulesN
ame"
/>
<result
property=
"
name"
column=
"n
ame"
/>
<result
property=
"status"
column=
"status"
/>
<result
property=
"status"
column=
"status"
/>
<result
property=
"planId"
column=
"plan_id"
/>
<result
property=
"planId"
column=
"plan_id"
/>
<result
property=
"planNo"
column=
"plan_no"
/>
<result
property=
"planNo"
column=
"plan_no"
/>
...
@@ -86,8 +86,8 @@
...
@@ -86,8 +86,8 @@
<!-- 查询调度计划信息列表 -->
<!-- 查询调度计划信息列表 -->
<select
id=
"listSchedulesPlan"
parameterType=
"String"
resultMap=
"CrossSchedulesPlanPO"
>
<select
id=
"listSchedulesPlan"
parameterType=
"String"
resultMap=
"CrossSchedulesPlanPO"
>
SELECT
SELECT
s.id
schedulesI
d
s.id
i
d
,s.`name`
schedulesN
ame
,s.`name`
n
ame
,s.`status`
,s.`status`
,s.cross_id
,s.cross_id
,p.id plan_id
,p.id plan_id
...
...
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