Commit c2c233be authored by ZWT's avatar ZWT

feat(零碳): 长庆

1.长庆演示首页功能开发,新增采油厂统计信息查询接口,添加线上接口并完成接口冒烟测试;
2.长庆演示首页功能开发,新增线路图查询接口,添加线上接口并完成接口冒烟测试;
3.长庆演示首页功能开发,新增线路详情查询接口,添加线上接口并完成接口冒烟测试;
4.对接第三方接口,完成获取井场日累计数据接口调用,创建数据表,同时生成对应代码,开发定时任务及对外接口,完成第三方数据接入及系统展示功能,添加线上接口文档并完成接口及定时任务冒烟测试;
5.对接第三方接口,完成获取第三方单井平均有功功率接口调用,创建数据表,同时生成对应代码,开发定时任务及对外接口,完成第三方数据接入及系统展示功能,添加线上接口文档并完成接口及定时任务冒烟测试;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent bf028ae6
...@@ -19,9 +19,14 @@ public class TaskConstant { ...@@ -19,9 +19,14 @@ public class TaskConstant {
public static final String TEN_MINUTES = "0 0/10 * * * ?"; public static final String TEN_MINUTES = "0 0/10 * * * ?";
/** /**
* 十分钟一次,隔分钟 * 十分钟一次,隔3分钟
*/ */
public static final String TEN_MINUTES_5 = "0 5/10 * * * ?"; public static final String TEN_MINUTES_3 = "0 3/10 * * * ?";
/**
* 十分钟一次,隔7分钟
*/
public static final String TEN_MINUTES_7 = "0 7/10 * * * ?";
/** /**
* 半小时一次 * 半小时一次
......
...@@ -22,12 +22,12 @@ import xstartup.service.job.annotation.XCronTrigger; ...@@ -22,12 +22,12 @@ import xstartup.service.job.annotation.XCronTrigger;
public class ThirdDailyAccumulationJob implements XJob { public class ThirdDailyAccumulationJob implements XJob {
/** /**
* 半小时一次 * 十分钟一次,隔7分钟
* *
* @param xContext x上下文 * @param xContext x上下文
* @return {@link XServiceResult} * @return {@link XServiceResult}
*/ */
@XCronTrigger(value = TaskConstant.HALF_HOUR_ZERO) @XCronTrigger(value = TaskConstant.TEN_MINUTES_7)
@Override @Override
public XServiceResult execute(XContext xContext) { public XServiceResult execute(XContext xContext) {
xContext.getLogger().info("------ ThirdDailyAccumulationJob start:{}", System.currentTimeMillis()); xContext.getLogger().info("------ ThirdDailyAccumulationJob start:{}", System.currentTimeMillis());
......
...@@ -22,12 +22,12 @@ import xstartup.service.job.annotation.XCronTrigger; ...@@ -22,12 +22,12 @@ import xstartup.service.job.annotation.XCronTrigger;
public class ThirdWellAvgActivePowerJob implements XJob { public class ThirdWellAvgActivePowerJob implements XJob {
/** /**
* 十分钟一次隔分钟 * 十分钟一次隔3分钟
* *
* @param xContext x上下文 * @param xContext x上下文
* @return {@link XServiceResult} * @return {@link XServiceResult}
*/ */
@XCronTrigger(value = TaskConstant.TEN_MINUTES_5) @XCronTrigger(value = TaskConstant.TEN_MINUTES_3)
@Override @Override
public XServiceResult execute(XContext xContext) { public XServiceResult execute(XContext xContext) {
xContext.getLogger().info("------ ThirdWellAvgActivePowerJob start:{}", System.currentTimeMillis()); xContext.getLogger().info("------ ThirdWellAvgActivePowerJob start:{}", System.currentTimeMillis());
......
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