提交 7e4cf8cc 作者: gh

定时客服开启

上级 cbe699f6
......@@ -86,7 +86,7 @@ public class SchedulingTask {
/**
* 每10min扫描一次正常客服
*/
//@Scheduled(cron = "0 0/10 * * * *")
@Scheduled(cron = "0 0/10 * * * *")
public void publishCustomerMessage(){
Calendar calendar = Calendar.getInstance();
......
......@@ -221,6 +221,7 @@ public class CustomerGraphicsServiceImpl extends ServiceImpl<CustomerGraphicsMap
List<CustomerGraphics> customerGraphicsList = list(new QueryWrapper<CustomerGraphics>().eq(CustomerGraphics.COL_POST_TIME, requestDate).eq(CustomerGraphics.COL_SEND_STATUS,9));
if(!customerGraphicsList.isEmpty()){
for (CustomerGraphics customerGraphics : customerGraphicsList) {
//人群包id
Long packId = customerGraphics.getPackId();
......@@ -255,6 +256,7 @@ public class CustomerGraphicsServiceImpl extends ServiceImpl<CustomerGraphicsMap
}
updateBatchById(customerGraphicsList);
}
}
private BaseResult checkExtendBook(String storeType, CrowdPackageConditionMatch storeConditionMatch) {
// 判断有没有选书城条件
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论