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
0ee2bbe9
Commit
0ee2bbe9
authored
Oct 13, 2023
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(能源管理系统): 测试问题修复
1.修改间开制度管理--长期间开优化模块详情接口,优化已优化时间列表查询逻辑; BREAKING CHANGE: 无 Closes 无 [skip ci]
parent
5d28912a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
C11-space/pps-core-space/src/main/java/pps/core/space/service/SpaceOptimizeLongPeriodService.java
...ps/core/space/service/SpaceOptimizeLongPeriodService.java
+5
-1
No files found.
C11-space/pps-core-space/src/main/java/pps/core/space/service/SpaceOptimizeLongPeriodService.java
View file @
0ee2bbe9
...
@@ -97,7 +97,6 @@ public class SpaceOptimizeLongPeriodService extends SpaceOptimizeBaseService {
...
@@ -97,7 +97,6 @@ public class SpaceOptimizeLongPeriodService extends SpaceOptimizeBaseService {
return
XSingleResult
.
error
(
context
,
XError
.
NotFound
);
return
XSingleResult
.
error
(
context
,
XError
.
NotFound
);
}
}
GetSpaceOptimizeLongPeriodViewOutput
output
=
XCopyUtils
.
copyNewObject
(
period
,
GetSpaceOptimizeLongPeriodViewOutput
.
class
);
GetSpaceOptimizeLongPeriodViewOutput
output
=
XCopyUtils
.
copyNewObject
(
period
,
GetSpaceOptimizeLongPeriodViewOutput
.
class
);
output
.
setDateList
(
ServiceUtil
.
getOptimizeDateList
(
period
.
getCreateTime
(),
period
.
getOptimizeDeadline
()));
//查间开制度详情
//查间开制度详情
SpaceInstitutionDetailMapper
detailMapper
=
context
.
getBean
(
SpaceInstitutionDetailMapper
.
class
);
SpaceInstitutionDetailMapper
detailMapper
=
context
.
getBean
(
SpaceInstitutionDetailMapper
.
class
);
SpaceInstitutionDetailEnt
detailEnt
=
detailMapper
.
selectById
(
period
.
getInstitutionId
());
SpaceInstitutionDetailEnt
detailEnt
=
detailMapper
.
selectById
(
period
.
getInstitutionId
());
...
@@ -113,6 +112,11 @@ public class SpaceOptimizeLongPeriodService extends SpaceOptimizeBaseService {
...
@@ -113,6 +112,11 @@ public class SpaceOptimizeLongPeriodService extends SpaceOptimizeBaseService {
}
else
{
}
else
{
output
.
setStrategyDetailList
(
new
ArrayList
<>(
0
));
output
.
setStrategyDetailList
(
new
ArrayList
<>(
0
));
}
}
DateTime
beginOfMonth
=
DateUtil
.
beginOfMonth
(
period
.
getOptimizeDeadline
());
if
(
beginOfMonth
.
compareTo
(
detailEnt
.
getInstitutionStartDate
())
<
0
)
{
beginOfMonth
=
DateUtil
.
date
(
detailEnt
.
getInstitutionStartDate
());
}
output
.
setDateList
(
ServiceUtil
.
getOptimizeDateList
(
beginOfMonth
,
period
.
getOptimizeDeadline
()));
output
.
setGridTypeKey
(
detailEnt
.
getGridTypeKey
());
output
.
setGridTypeKey
(
detailEnt
.
getGridTypeKey
());
//查井口列表
//查井口列表
SpaceOptimizeLongWellheadMapper
wellheadMapper
=
context
.
getBean
(
SpaceOptimizeLongWellheadMapper
.
class
);
SpaceOptimizeLongWellheadMapper
wellheadMapper
=
context
.
getBean
(
SpaceOptimizeLongWellheadMapper
.
class
);
...
...
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