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
f34a0b50
Commit
f34a0b50
authored
Dec 12, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得到的
parent
8cc14c0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
2 deletions
+26
-2
C11-space/pps-core-space/src/main/resources/mybatis/mapper/pps/core/space/SpaceInstitutionWellheadViewMapper.xml
...per/pps/core/space/SpaceInstitutionWellheadViewMapper.xml
+25
-1
C12-prediction/pps-core-prediction/src/main/resources/mybatis/mapper/pps/core/prediction/PredictedPowerViewMapper.xml
...s/mapper/pps/core/prediction/PredictedPowerViewMapper.xml
+1
-1
No files found.
C11-space/pps-core-space/src/main/resources/mybatis/mapper/pps/core/space/SpaceInstitutionWellheadViewMapper.xml
View file @
f34a0b50
...
...
@@ -204,7 +204,7 @@
</insert>
<select
id=
"selectListByInstitutionIds"
parameterType=
"pps.core.space.entity.SpaceInstitutionWellheadView"
resultMap=
"BaseResultMap"
>
resultMap=
"BaseResultMap"
databaseId=
"MySQL"
>
SELECT
DISTINCT
INSTITUTION_ID,
...
...
@@ -227,6 +227,30 @@
</foreach>
</select>
<select
id=
"selectListByInstitutionIds"
parameterType=
"pps.core.space.entity.SpaceInstitutionWellheadView"
resultMap=
"BaseResultMap"
databaseId=
"Oracle"
>
SELECT
DISTINCT
INSTITUTION_ID,
WELLHEAD_ID,
WELL_NUMBER,
RUN_TYPE_KEY,
NVL( INTERVAL_TYPE_KEY, '999' ) AS INTERVAL_TYPE_KEY,
INTERVAL_DESCRIBE,
NVL( START_SEQ, 0 ) AS START_SEQ,
OPEN_WELL_DAY,
CLOSE_WELL_DAY,
RUN_DURATION
FROM
SPACE_INSTITUTION_WELLHEAD
WHERE
IS_DELETED = 1
AND INSTITUTION_ID IN
<foreach
collection=
"list"
open=
"("
close=
")"
separator=
","
item=
"item"
>
#{item}
</foreach>
</select>
<resultMap
id=
"ExtResultMap"
type=
"pps.core.space.entity.SpaceInstitutionWellheadView"
extends=
"BaseResultMap"
>
<result
column=
"SERVICE_RATING"
property=
"serviceRating"
/>
</resultMap>
...
...
C12-prediction/pps-core-prediction/src/main/resources/mybatis/mapper/pps/core/prediction/PredictedPowerViewMapper.xml
View file @
f34a0b50
...
...
@@ -7,7 +7,7 @@
<result
column=
"HOUR_TIME"
property=
"hourTime"
/>
</resultMap>
<select
id=
"selectMidPowerList"
resultMap=
"BaseResultMap"
>
<select
id=
"selectMidPowerList"
resultMap=
"BaseResultMap"
databaseId=
"MySQL"
>
SELECT
HOUR( A.CREATE_TIME ) AS HOUR_TIME,
IFNULL( AVG( A.PREDICT_POWER ), 0 ) AS POWER,
...
...
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