// 默认获取时间是东八区时间,于北京时间相差8小时
Long ts = (ctx.timerService().currentProcessingTime() / (24 * 60 * 60 * 1000) + 1) * (24 * 60 * 60 * 1000);
// 获取北京时间
Long ts = (ctx.timerService().currentProcessingTime() / (24 * 60 * 60 * 1000) + 1) * (24 * 60 * 60 * 1000) - 8 * 60 * 60 * 1000;
ctx.timerService().currentProcessingTime()获取当前处理的时间
除(1000 * 60 * 60 * 24)是变成当前的日期10号(单位是天)
加1变成11日
乘(1000 * 60 * 60 * 24)又变成变成13位的时间戳-11日
向上取整 0点