修复bug

master
whb 7 months ago
parent 87ada6b10c
commit 22bbdad67f

@ -41,16 +41,16 @@ public class RankScheduled {
log.info("定时任务:==================总排名完成结束--end======================,用时:{}",timer.interval());
}
@Scheduled(cron = "0 0 0 * * ?")
public void clearLimit(){
log.info("定时任务:==================开始重置AI使用次数======================");
StuAiLimitExample limitExample = new StuAiLimitExample();
limitExample.createCriteria().getAllCriteria();
stuAiLimitMapper.deleteByExample(limitExample);
log.info("定时任务:==================AI使用次数重置成功======================");
}
// @Scheduled(cron = "0 0 0 * * ?")
// public void clearLimit(){
//
// log.info("定时任务:==================开始重置AI使用次数======================");
//
// StuAiLimitExample limitExample = new StuAiLimitExample();
// limitExample.createCriteria().getAllCriteria();
// stuAiLimitMapper.deleteByExample(limitExample);
// log.info("定时任务:==================AI使用次数重置成功======================");
// }

@ -53,10 +53,9 @@ public class StuUserProfileDatabaseServiceImpl implements StuUserProfileDatabase
public ResultEntity<StuUserProfileDto> getBaseInfo(String userId) {
List<String> list = new ArrayList<>();
list.add("用户属性表");
list.add("用户登录活跃表");
list.add("用户消费能力表");
list.add("用户行为表");
list.add("客户细分数据表");
list.add("销售预测数据表");
list.add("购物车数据表");
list.add("用户评论表");
//用户属性表

Loading…
Cancel
Save