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
25c616cf
Commit
25c616cf
authored
Mar 18, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nocommit
parent
c538741f
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
427 additions
and
18 deletions
+427
-18
C00-common/pps-common/pom.xml
C00-common/pps-common/pom.xml
+7
-0
C12-prediction/pps-core-prediction/src/main/java/pps/core/prediction/service/PlantPredictedPowerCloudServiceImpl.java
...ediction/service/PlantPredictedPowerCloudServiceImpl.java
+381
-14
C12-prediction/pps-core-prediction/src/main/java/pps/core/prediction/service/data/wellhead_daily_production_situation/WellheadDailyProductionSituationJob.java
...uction_situation/WellheadDailyProductionSituationJob.java
+38
-0
D03-deploy/deploy-pps-task/src/main/java/app/DeployPpsTaskApplication.java
...-pps-task/src/main/java/app/DeployPpsTaskApplication.java
+1
-4
No files found.
C00-common/pps-common/pom.xml
View file @
25c616cf
...
@@ -180,6 +180,13 @@
...
@@ -180,6 +180,13 @@
<artifactId>
easyexcel
</artifactId>
<artifactId>
easyexcel
</artifactId>
<version>
3.3.3
</version>
<version>
3.3.3
</version>
</dependency>
</dependency>
<!-- https://mvnrepository.com/artifact/com.alibaba.fastjson2/fastjson2 -->
<dependency>
<groupId>
com.alibaba.fastjson2
</groupId>
<artifactId>
fastjson2
</artifactId>
<version>
2.0.47
</version>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
<plugins>
<plugins>
...
...
C12-prediction/pps-core-prediction/src/main/java/pps/core/prediction/service/PlantPredictedPowerCloudServiceImpl.java
View file @
25c616cf
This diff is collapsed.
Click to expand it.
C12-prediction/pps-core-prediction/src/main/java/pps/core/prediction/service/data/wellhead_daily_production_situation/WellheadDailyProductionSituationJob.java
0 → 100644
View file @
25c616cf
package
pps.core.prediction.service.data.wellhead_daily_production_situation
;
import
com.alibaba.fastjson2.annotation.JSONField
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 井口生产情况表
*
* @author ZWT
* @date 2023/09/27
*/
@Data
public
class
WellheadDailyProductionSituationJob
{
@XText
(
"井号"
)
@JSONField
(
name
=
"welL_NAME"
)
private
String
wellNumber
;
@XText
(
"日期"
)
@JSONField
(
name
=
"caL_DATE"
)
private
Date
dataDate
;
@XText
(
"生产时间(h)"
)
@JSONField
(
name
=
"starthours"
)
private
BigDecimal
productionTime
;
@XText
(
"日耗电量(kW-h)"
)
@JSONField
(
name
=
"poweR_CONSUME_DAILY"
)
private
BigDecimal
dailyElectricityConsumption
;
@XText
(
"日产液量(t)"
)
@JSONField
(
name
=
"reaL_LIQUID_DAILY"
)
private
BigDecimal
dailyLiquidProduction
;
}
D03-deploy/deploy-pps-task/src/main/java/app/DeployPpsTaskApplication.java
View file @
25c616cf
...
@@ -21,7 +21,6 @@ import xstartup.service.job.conf.XJobServiceConf;
...
@@ -21,7 +21,6 @@ import xstartup.service.job.conf.XJobServiceConf;
public
class
DeployPpsTaskApplication
{
public
class
DeployPpsTaskApplication
{
public
static
void
main
(
String
...
args
)
{
public
static
void
main
(
String
...
args
)
{
System
.
out
.
println
(
"println--DeployPpsTaskApplication"
);
CounterBuilder
.
globalCounterBuilder
.
setFieldValue
(
CounterBuilder
.
DEPLOY_KEY
,
DeployPpsTaskApplication
.
class
.
getSimpleName
());
CounterBuilder
.
globalCounterBuilder
.
setFieldValue
(
CounterBuilder
.
DEPLOY_KEY
,
DeployPpsTaskApplication
.
class
.
getSimpleName
());
XStartup
startup
=
new
XStartupApplication
(
"pps"
);
XStartup
startup
=
new
XStartupApplication
(
"pps"
);
startup
.
config
(
new
XServerConf
(
22062
).
naming
(
"pps-task"
))
startup
.
config
(
new
XServerConf
(
22062
).
naming
(
"pps-task"
))
...
@@ -37,16 +36,14 @@ public class DeployPpsTaskApplication {
...
@@ -37,16 +36,14 @@ public class DeployPpsTaskApplication {
startup
.
enable
(
XJobFeature
.
class
).
config
(
new
XJobServiceConf
(
SpaceCalibrationJob
.
class
));
startup
.
enable
(
XJobFeature
.
class
).
config
(
new
XJobServiceConf
(
SpaceCalibrationJob
.
class
));
startup
.
enable
(
XJobFeature
.
class
).
config
(
new
XJobServiceConf
(
SpaceOptimizeShortJob
.
class
));
startup
.
enable
(
XJobFeature
.
class
).
config
(
new
XJobServiceConf
(
SpaceOptimizeShortJob
.
class
));
startup
.
enable
(
XJobFeature
.
class
).
config
(
new
XJobServiceConf
(
WeatherReceiveJob
.
class
));
startup
.
enable
(
XJobFeature
.
class
).
config
(
new
XJobServiceConf
(
WeatherReceiveJob
.
class
));
startup
.
enable
(
XJobFeature
.
class
).
config
(
new
XJobServiceConf
(
WellTechDailyJob
.
class
));
startup
.
enable
(
XJobFeature
.
class
).
config
(
new
XJobServiceConf
(
PlantPredictedPowerLongTermDataJob
.
class
));
startup
.
enable
(
XJobFeature
.
class
).
config
(
new
XJobServiceConf
(
PlantPredictedPowerLongTermDataJob
.
class
));
startup
.
enable
(
XRpcFeature
.
class
);
startup
.
enable
(
XRpcFeature
.
class
);
startup
.
enable
(
XCloudHuaweiCseFeature
.
class
)
startup
.
enable
(
XCloudHuaweiCseFeature
.
class
)
.
config
(
XCloudBundlesConf
.
with
(
.
config
(
XCloudBundlesConf
.
with
(
// XCloudBundle.naming("pps-workflow").addModule("pps", "cloud", "task"),
XCloudBundle
.
naming
(
"pps-base-info"
).
addModule
(
"pps"
,
"cloud"
,
"system"
),
XCloudBundle
.
naming
(
"pps-base-info"
).
addModule
(
"pps"
,
"cloud"
,
"system"
),
XCloudBundle
.
naming
(
"pps-base-prediction"
).
addModule
(
"pps"
,
"cloud"
,
"prediction"
),
XCloudBundle
.
naming
(
"pps-base-prediction"
).
addModule
(
"pps"
,
"cloud"
,
"prediction"
),
XCloudBundle
.
naming
(
"pps-base-info"
).
addModule
(
"pps"
,
"cloud"
,
"base"
)));
XCloudBundle
.
naming
(
"pps-base-info"
).
addModule
(
"pps"
,
"cloud"
,
"base"
)));
startup
.
run
(
args
);
startup
.
run
(
args
);
}
}
}
}
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