|
|
@@ -81,8 +81,8 @@ public abstract class AbstractJob extends BaseJob2 {
|
|
|
logger.error("添加数据异常,异常信息 {}", e.getMessage());
|
|
|
}
|
|
|
}
|
|
|
- String msg = "添加数据正常数:" + success + ",添加数据异常数:" + error;
|
|
|
- logger.info(msg);
|
|
|
+ String msg = "添加表<"+tableName+">数据正常数:" + success + ",添加数据异常数:" + error;
|
|
|
+ logger.warn(msg);
|
|
|
if (error > 0) {
|
|
|
throw new Exception(msg);
|
|
|
}
|