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
a452aab3
Commit
a452aab3
authored
Nov 21, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得到的
parent
5fc6b1a1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
C12-prediction/pps-core-prediction/src/main/java/pps/core/prediction/entity/ThirdCurrentWellConditionEnt.java
.../core/prediction/entity/ThirdCurrentWellConditionEnt.java
+2
-2
C12-prediction/pps-core-prediction/src/main/java/pps/core/prediction/entity/ThirdCurrentWellConditionView.java
...core/prediction/entity/ThirdCurrentWellConditionView.java
+1
-1
C12-prediction/pps-core-prediction/src/main/java/pps/core/prediction/service/ThirdDataAccessCloudServiceImpl.java
...e/prediction/service/ThirdDataAccessCloudServiceImpl.java
+1
-0
C12-prediction/pps-core-prediction/src/main/resources/mybatis/mapper/pps/core/prediction/ThirdCurrentWellConditionViewMapper.xml
...s/core/prediction/ThirdCurrentWellConditionViewMapper.xml
+2
-1
No files found.
C12-prediction/pps-core-prediction/src/main/java/pps/core/prediction/entity/ThirdCurrentWellConditionEnt.java
View file @
a452aab3
...
...
@@ -21,8 +21,8 @@ import java.util.Date;
@TableName
(
"THIRD_CURRENT_WELL_CONDITION"
)
public
class
ThirdCurrentWellConditionEnt
implements
Serializable
{
@XText
(
"ID"
)
@TableId
(
type
=
IdType
.
A
UTO
)
private
Lo
ng
id
;
@TableId
(
type
=
IdType
.
A
SSIGN_UUID
)
private
Stri
ng
id
;
@XText
(
"井号"
)
@TableField
...
...
C12-prediction/pps-core-prediction/src/main/java/pps/core/prediction/entity/ThirdCurrentWellConditionView.java
View file @
a452aab3
...
...
@@ -24,7 +24,7 @@ import java.util.Date;
public
class
ThirdCurrentWellConditionView
implements
Serializable
{
@XText
(
"ID"
)
@TableField
private
Lo
ng
id
;
private
Stri
ng
id
;
@XText
(
"井号"
)
@TableField
...
...
C12-prediction/pps-core-prediction/src/main/java/pps/core/prediction/service/ThirdDataAccessCloudServiceImpl.java
View file @
a452aab3
...
...
@@ -306,6 +306,7 @@ public class ThirdDataAccessCloudServiceImpl implements IThirdDataAccessCloudSer
cumulativeProduction
=
cumulativeProduction
.
compareTo
(
BigDecimal
.
ZERO
)
<
0
?
BigDecimal
.
ZERO
:
cumulativeProduction
;
dtoList
.
add
(
ThirdCurrentWellConditionView
.
builder
()
.
id
(
BaseUtils
.
randomUUIDString
())
.
systemSource
(
oilFieldCode
)
.
wellNumber
(
o
.
getWellNumber
())
.
nextTime
(
o
.
getNextTime
())
...
...
C12-prediction/pps-core-prediction/src/main/resources/mybatis/mapper/pps/core/prediction/ThirdCurrentWellConditionViewMapper.xml
View file @
a452aab3
...
...
@@ -52,11 +52,12 @@
</delete>
<insert
id=
"batchInsertList"
parameterType=
"list"
>
INSERT INTO THIRD_CURRENT_WELL_CONDITION (WELL_NUMBER, NEXT_TIME, WELL_STATUS, CUMULATIVE_PRODUCTION,
INSERT INTO THIRD_CURRENT_WELL_CONDITION (
ID,
WELL_NUMBER, NEXT_TIME, WELL_STATUS, CUMULATIVE_PRODUCTION,
RUNNING_TIME, SYSTEM_SOURCE, UPDATE_TIME)
VALUES
<foreach
collection=
"list"
item=
"item"
separator=
","
>
(
#{item.id},
#{item.wellNumber},
#{item.nextTime},
#{item.wellStatus},
...
...
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