Commit 72cb260c authored by ZWT's avatar ZWT

feat(零碳): 长庆

1.邮件发送服务代码修改,修改配置文件及发送逻辑,解决邮件名称唯一性;
2.邮件接收功能修改,解决邮件接收协议修改后导致的一系列问题;
3.长期间开优化功能修改,修改定时任务处理逻辑及执行周期;
4.中期间开优化功能修改,修改定时任务处理逻辑及执行周期;
5.超长期间开优化功能开发,开发相关接口及定时任务,创建对应数据表,生成对应接口文档并完成接口冒烟测试;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent 5bb2060b
...@@ -68,6 +68,11 @@ public class TaskConstant { ...@@ -68,6 +68,11 @@ public class TaskConstant {
*/ */
public static final String END_OF_DAY = "0 50 23 * * ?"; public static final String END_OF_DAY = "0 50 23 * * ?";
/**
* 半小时执行一次
*/
public static final String HALF_HOUR_30 = "0 30 * * * ?";
/** /**
* 半小时执行一次 12:05:00 12:35:00... * 半小时执行一次 12:05:00 12:35:00...
*/ */
......
...@@ -27,7 +27,7 @@ public class ThirdCurrentWellConditionJob implements XJob { ...@@ -27,7 +27,7 @@ public class ThirdCurrentWellConditionJob implements XJob {
* @param xContext x上下文 * @param xContext x上下文
* @return {@link XServiceResult} * @return {@link XServiceResult}
*/ */
@XCronTrigger(value = TaskConstant.EVERY_DAY_30) @XCronTrigger(value = TaskConstant.HALF_HOUR_30)
@Override @Override
public XServiceResult execute(XContext xContext) { public XServiceResult execute(XContext xContext) {
xContext.getLogger().info("------ ThirdCurrentWellConditionJob start:{}", System.currentTimeMillis()); xContext.getLogger().info("------ ThirdCurrentWellConditionJob 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