fix: 用户行为表查询改用selectByExampleWithBLOBs以包含大字段

main
chenyuan 5 days ago
parent e1effbf35c
commit 0bd56cdeea

@ -187,7 +187,7 @@ public class StuUserProfileDatabaseServiceImpl implements StuUserProfileDatabase
//用户行为表 //用户行为表
StuUserCommentExample userAttributeBehaviorExample = new StuUserCommentExample(); StuUserCommentExample userAttributeBehaviorExample = new StuUserCommentExample();
userAttributeBehaviorExample.setOrderByClause("id asc"); userAttributeBehaviorExample.setOrderByClause("id asc");
List<StuUserComment> userAttributeBehaviorList = stuUserCommentMapper.selectByExample(userAttributeBehaviorExample); List<StuUserComment> userAttributeBehaviorList = stuUserCommentMapper.selectByExampleWithBLOBs(userAttributeBehaviorExample);
if (userAttributeBehaviorList.isEmpty()) { if (userAttributeBehaviorList.isEmpty()) {
throw new ServiceException(HttpStatus.OK, "未查询到用户数据!"); throw new ServiceException(HttpStatus.OK, "未查询到用户数据!");
} }

Loading…
Cancel
Save