Commit 25c616cf authored by ZWT's avatar ZWT

nocommit

parent c538741f
......@@ -180,6 +180,13 @@
<artifactId>easyexcel</artifactId>
<version>3.3.3</version>
</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>
<build>
<plugins>
......
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;
}
......@@ -21,7 +21,6 @@ import xstartup.service.job.conf.XJobServiceConf;
public class DeployPpsTaskApplication {
public static void main(String... args) {
System.out.println("println--DeployPpsTaskApplication");
CounterBuilder.globalCounterBuilder.setFieldValue(CounterBuilder.DEPLOY_KEY, DeployPpsTaskApplication.class.getSimpleName());
XStartup startup = new XStartupApplication("pps");
startup.config(new XServerConf(22062).naming("pps-task"))
......@@ -37,16 +36,14 @@ public class DeployPpsTaskApplication {
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(WeatherReceiveJob.class));
startup.enable(XJobFeature.class).config(new XJobServiceConf(WellTechDailyJob.class));
startup.enable(XJobFeature.class).config(new XJobServiceConf(PlantPredictedPowerLongTermDataJob.class));
startup.enable(XRpcFeature.class);
startup.enable(XCloudHuaweiCseFeature.class)
.config(XCloudBundlesConf.with(
// XCloudBundle.naming("pps-workflow").addModule("pps", "cloud", "task"),
XCloudBundle.naming("pps-base-info").addModule("pps", "cloud", "system"),
XCloudBundle.naming("pps-base-prediction").addModule("pps", "cloud", "prediction"),
XCloudBundle.naming("pps-base-info").addModule("pps", "cloud", "base")));
startup.run(args);
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment