修改日志记录
This commit is contained in:
parent
df40fc13e8
commit
5f5470ad63
@ -380,7 +380,7 @@ public class MpsFormalBatchMain {
|
||||
String message = "数据初始化检查失败";
|
||||
batchStatusService.updateBatchStatus(
|
||||
batchMonth,
|
||||
BatchStatusService.BATCH_TYPE_PRE,
|
||||
batchType,
|
||||
BatchStatusService.STATUS_FAILED,
|
||||
message
|
||||
);
|
||||
@ -392,7 +392,7 @@ public class MpsFormalBatchMain {
|
||||
String message = "初始化业务程序执行失败";
|
||||
batchStatusService.updateBatchStatus(
|
||||
batchMonth,
|
||||
BatchStatusService.BATCH_TYPE_PRE,
|
||||
batchType,
|
||||
BatchStatusService.STATUS_FAILED,
|
||||
message
|
||||
);
|
||||
@ -404,7 +404,7 @@ public class MpsFormalBatchMain {
|
||||
String message = "业务指标加工程序执行失败";
|
||||
batchStatusService.updateBatchStatus(
|
||||
batchMonth,
|
||||
BatchStatusService.BATCH_TYPE_PRE,
|
||||
batchType,
|
||||
BatchStatusService.STATUS_FAILED,
|
||||
message
|
||||
);
|
||||
@ -416,7 +416,7 @@ public class MpsFormalBatchMain {
|
||||
String message = "汇总程序执行失败";
|
||||
batchStatusService.updateBatchStatus(
|
||||
batchMonth,
|
||||
BatchStatusService.BATCH_TYPE_PRE,
|
||||
batchType,
|
||||
BatchStatusService.STATUS_FAILED,
|
||||
message
|
||||
);
|
||||
@ -426,7 +426,7 @@ public class MpsFormalBatchMain {
|
||||
// 更新状态为成功
|
||||
batchStatusService.updateBatchStatus(
|
||||
batchMonth,
|
||||
BatchStatusService.BATCH_TYPE_PRE,
|
||||
batchType,
|
||||
BatchStatusService.STATUS_SUCCESS,
|
||||
"预处理成功"
|
||||
);
|
||||
@ -439,7 +439,7 @@ public class MpsFormalBatchMain {
|
||||
String message = "营销表中未查询到[" + batchMonth + "]数据";
|
||||
batchStatusService.updateBatchStatus(
|
||||
batchMonth,
|
||||
BatchStatusService.BATCH_TYPE_PRE,
|
||||
batchType,
|
||||
BatchStatusService.STATUS_FAILED,
|
||||
message
|
||||
);
|
||||
@ -449,7 +449,7 @@ public class MpsFormalBatchMain {
|
||||
logger.error("预处理批量执行异常: {}", batchMonth, e);
|
||||
batchStatusService.updateBatchStatus(
|
||||
batchMonth,
|
||||
BatchStatusService.BATCH_TYPE_PRE,
|
||||
batchType,
|
||||
BatchStatusService.STATUS_FAILED,
|
||||
"预处理异常: " + e.getMessage()
|
||||
);
|
||||
@ -470,7 +470,7 @@ public class MpsFormalBatchMain {
|
||||
String message = "初始化业务程序执行失败";
|
||||
batchStatusService.updateBatchStatus(
|
||||
batchMonth,
|
||||
BatchStatusService.BATCH_TYPE_AFTER,
|
||||
batchType,
|
||||
BatchStatusService.STATUS_FAILED,
|
||||
message
|
||||
);
|
||||
@ -482,7 +482,7 @@ public class MpsFormalBatchMain {
|
||||
String message = "业务指标加工程序执行失败";
|
||||
batchStatusService.updateBatchStatus(
|
||||
batchMonth,
|
||||
BatchStatusService.BATCH_TYPE_AFTER,
|
||||
batchType,
|
||||
BatchStatusService.STATUS_FAILED,
|
||||
message
|
||||
);
|
||||
@ -494,7 +494,7 @@ public class MpsFormalBatchMain {
|
||||
String message = "汇总程序执行失败";
|
||||
batchStatusService.updateBatchStatus(
|
||||
batchMonth,
|
||||
BatchStatusService.BATCH_TYPE_AFTER,
|
||||
batchType,
|
||||
BatchStatusService.STATUS_FAILED,
|
||||
message
|
||||
);
|
||||
@ -504,7 +504,7 @@ public class MpsFormalBatchMain {
|
||||
// 更新状态为成功
|
||||
batchStatusService.updateBatchStatus(
|
||||
batchMonth,
|
||||
BatchStatusService.BATCH_TYPE_AFTER,
|
||||
batchType,
|
||||
BatchStatusService.STATUS_SUCCESS,
|
||||
"正式批量执行完成"
|
||||
);
|
||||
@ -516,7 +516,7 @@ public class MpsFormalBatchMain {
|
||||
logger.error("正式批量执行异常: {}", batchMonth, e);
|
||||
batchStatusService.updateBatchStatus(
|
||||
batchMonth,
|
||||
BatchStatusService.BATCH_TYPE_AFTER,
|
||||
batchType,
|
||||
BatchStatusService.STATUS_FAILED,
|
||||
"正式批量异常: " + e.getMessage()
|
||||
);
|
||||
@ -657,7 +657,7 @@ public class MpsFormalBatchMain {
|
||||
batchLogger.warn("没有找到需要执行的业务");
|
||||
batchStatusService.updateBatchStatus(
|
||||
batchMonth,
|
||||
BatchStatusService.BATCH_TYPE_AFTER,
|
||||
batchType,
|
||||
BatchStatusService.STATUS_SUCCESS,
|
||||
"没有需要执行的业务"
|
||||
);
|
||||
@ -691,7 +691,7 @@ public class MpsFormalBatchMain {
|
||||
String message = businessCode + "处理失败,停止执行后续业务";
|
||||
batchStatusService.updateBatchStatus(
|
||||
batchMonth,
|
||||
BatchStatusService.BATCH_TYPE_AFTER,
|
||||
batchType,
|
||||
BatchStatusService.STATUS_FAILED,
|
||||
message
|
||||
);
|
||||
@ -712,7 +712,7 @@ public class MpsFormalBatchMain {
|
||||
String message = businessCode + "处理失败,停止执行后续业务";
|
||||
batchStatusService.updateBatchStatus(
|
||||
batchMonth,
|
||||
BatchStatusService.BATCH_TYPE_AFTER,
|
||||
batchType,
|
||||
BatchStatusService.STATUS_FAILED,
|
||||
message
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user