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
61060199
Commit
61060199
authored
Oct 25, 2023
by
tianchao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab.sunboxauto.com/tianchao/gf_back
parents
b2a5d316
682c0ade
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
C02-system/pps-core-system/src/main/resources/mybatis/mapper/pps/core/system/SysOrganizationViewMapper.xml
...atis/mapper/pps/core/system/SysOrganizationViewMapper.xml
+3
-1
C11-space/pps-core-space/src/main/java/pps/core/space/service/SpaceOptimizeBaseService.java
...java/pps/core/space/service/SpaceOptimizeBaseService.java
+3
-0
No files found.
C02-system/pps-core-system/src/main/resources/mybatis/mapper/pps/core/system/SysOrganizationViewMapper.xml
View file @
61060199
...
...
@@ -224,7 +224,9 @@
<select
id=
"selectListByOuIds"
parameterType=
"java.util.List"
resultMap=
"BaseResultMap"
>
select r.ou_id as id,r.parent_ou_id,s.ou_name,s.short_name from sys_organization_rel r
left join sys_organization s on r.ou_id = s.id
where s.is_deleted = 1 and r.ou_id in
where s.is_deleted = 1
AND r.effect_time
<
= now() AND r.end_time
>
= now()
and r.ou_id in
<foreach
collection=
"list"
open=
"("
close=
")"
separator=
","
item=
"item"
>
#{item}
</foreach>
...
...
C11-space/pps-core-space/src/main/java/pps/core/space/service/SpaceOptimizeBaseService.java
View file @
61060199
...
...
@@ -432,6 +432,9 @@ public class SpaceOptimizeBaseService {
int
powerDuration
=
avg
.
getPowerDuration
();
powerDuration
=
powerDuration
>
15
?
15
:
powerDuration
;
String
offset
=
createTime
.
offsetNew
(
DateField
.
MINUTE
,
powerDuration
).
toString
(
BusinessConstant
.
MINUTES_FORMAT
);
if
(
StringUtils
.
equals
(
offset
,
BusinessConstant
.
START_OF_DAY_TIME
))
{
offset
=
BusinessConstant
.
END_OF_DAY_TIME
;
}
if
(
0
!=
powerDuration
)
{
//储能发电时长
this
.
createOptimizeDuration
(
durationDTOList
,
periodId
,
durationDTO
.
getRecordId
(),
durationDTO
.
getWellheadId
(),
BusinessConstant
.
STORED_ENERGY
,
...
...
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