Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gf_back
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tianchao
gf_back
Commits
5eaee141
Commit
5eaee141
authored
Dec 17, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得到的
parent
96de5a15
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
C11-space/pps-core-space/src/main/java/pps/core/space/service/SpaceOptimizeBaseService.java
...java/pps/core/space/service/SpaceOptimizeBaseService.java
+4
-4
No files found.
C11-space/pps-core-space/src/main/java/pps/core/space/service/SpaceOptimizeBaseService.java
View file @
5eaee141
...
...
@@ -84,7 +84,7 @@ public class SpaceOptimizeBaseService {
//取当前时间
DateTime
startDate
=
DateUtil
.
beginOfDay
(
DateTime
.
now
());
//取生效中的基础间开
List
<
SpaceInstitutionDetailEnt
>
detailEntList
=
this
.
getEffectiveSpaceInstitution
(
context
,
startDate
.
toString
()
);
List
<
SpaceInstitutionDetailEnt
>
detailEntList
=
this
.
getEffectiveSpaceInstitution
(
context
,
startDate
);
//取线路ID和制度ID
List
<
String
>
lineIds
=
new
ArrayList
<>(
32
);
List
<
String
>
institutionIds
=
new
ArrayList
<>(
32
);
...
...
@@ -378,7 +378,7 @@ public class SpaceOptimizeBaseService {
//取当前时间
DateTime
startDate
=
DateUtil
.
beginOfDay
(
DateTime
.
now
());
//取生效中的基础间开
List
<
SpaceInstitutionDetailEnt
>
detailEntList
=
this
.
getEffectiveSpaceInstitution
(
context
,
startDate
.
toString
()
);
List
<
SpaceInstitutionDetailEnt
>
detailEntList
=
this
.
getEffectiveSpaceInstitution
(
context
,
startDate
);
//取线路ID和制度ID
List
<
String
>
lineIds
=
new
ArrayList
<>(
32
);
List
<
String
>
institutionIds
=
new
ArrayList
<>(
32
);
...
...
@@ -890,7 +890,7 @@ public class SpaceOptimizeBaseService {
//取当前时间
DateTime
date
=
DateUtil
.
beginOfDay
(
DateTime
.
now
());
//取生效中的基础间开
List
<
SpaceInstitutionDetailEnt
>
detailEntList
=
this
.
getEffectiveSpaceInstitution
(
context
,
date
.
toString
(
BusinessConstant
.
DATE_FORMAT_DAY
)
);
List
<
SpaceInstitutionDetailEnt
>
detailEntList
=
this
.
getEffectiveSpaceInstitution
(
context
,
date
);
SpaceOptimizeLineRelation
relation
=
this
.
getOptimizeLineRelation
(
context
,
detailEntList
);
//月份要加一
int
monthNum
=
date
.
month
()
+
1
;
...
...
@@ -1430,7 +1430,7 @@ public class SpaceOptimizeBaseService {
* @param sameDay 同一天
* @return {@link List}<{@link SpaceInstitutionDetailEnt}>
*/
public
List
<
SpaceInstitutionDetailEnt
>
getEffectiveSpaceInstitution
(
XContext
context
,
String
sameDay
)
{
public
List
<
SpaceInstitutionDetailEnt
>
getEffectiveSpaceInstitution
(
XContext
context
,
Date
sameDay
)
{
//取生效中的基础间开
SpaceInstitutionDetailMapper
detailMapper
=
context
.
getBean
(
SpaceInstitutionDetailMapper
.
class
);
List
<
SpaceInstitutionDetailEnt
>
detailEntList
=
detailMapper
.
selectList
(
new
LambdaQueryWrapper
<
SpaceInstitutionDetailEnt
>()
...
...
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