Commit 1b71fbe3 by 刘宇峰

任务调度程序

1 parent b20ac449
......@@ -21,9 +21,7 @@ public class RestSimpleJob implements SimpleJob {
@Override
public void execute(ShardingContext shardingContext) {
log.info("Thread ID: {}, 作业分片总数: {}, " +
"当前分片项: {}.当前参数: {}," +
"作业名称: {}.作业自定义参数: {}",
log.info("Thread ID: {}, 分片总数: {}, 当前分片项: {}.当前参数: {},名称: {}.自定义参数: {}",
Thread.currentThread().getId(),
shardingContext.getShardingTotalCount(),
shardingContext.getShardingItem(),
......
......@@ -21,7 +21,7 @@ public class ShopmallBaseDataSyncJob implements SimpleJob {
@Override
public void execute(ShardingContext shardingContext) {
log.info("Thread ID: {}, 分片总数: {}, " + "当前分片项: {}.当前参数: {}," + "名称: {}.自定义参数: {}",
log.info("Thread ID: {}, 分片总数: {}, 当前分片项: {}.当前参数: {},名称: {}.自定义参数: {}",
Thread.currentThread().getId(),
shardingContext.getShardingTotalCount(),
shardingContext.getShardingItem(),
......
......@@ -21,7 +21,7 @@ public class ShopmallGoodsDataSyncJob implements SimpleJob {
@Override
public void execute(ShardingContext shardingContext) {
log.info("Thread ID: {}, 分片总数: {}, " + "当前分片项: {}.当前参数: {}," + "名称: {}.自定义参数: {}",
log.info("Thread ID: {}, 分片总数: {}, 当前分片项: {}.当前参数: {},名称: {}.自定义参数: {}",
Thread.currentThread().getId(),
shardingContext.getShardingTotalCount(),
shardingContext.getShardingItem(),
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!