Commit 516e9bd6 authored by nie'hong's avatar nie'hong

修改机顶盒运维信息管理查询总数不对

parent 375f6d53
...@@ -367,7 +367,7 @@ public class AuditServiceImpl extends ServiceImpl<AuditMapper, Audit> implements ...@@ -367,7 +367,7 @@ public class AuditServiceImpl extends ServiceImpl<AuditMapper, Audit> implements
case REMOVE: case REMOVE:
// 6.2改 getExhibitionBoardCatId改为getExhibitionBoardId // 6.2改 getExhibitionBoardCatId改为getExhibitionBoardId
// final LambdaQueryWrapper<LearningContentBoard> learningContentBoardLambdaQueryWrapper = Wrappers.<LearningContentBoard>lambdaQuery().eq(LearningContentBoard::getExhibitionBoardCatId, exhibitionBoardId); // final LambdaQueryWrapper<LearningContentBoard> learningContentBoardLambdaQueryWrapper = Wrappers.<LearningContentBoard>lambdaQuery().eq(LearningContentBoard::getExhibitionBoardCatId, exhibitionBoardId);
final LambdaQueryWrapper<LearningContentBoard> learningContentBoardLambdaQueryWrapper = Wrappers.<LearningContentBoard>lambdaQuery().eq(LearningContentBoard::getExhibitionBoardId, exhibitionBoardId); final LambdaQueryWrapper<LearningContentBoard> learningContentBoardLambdaQueryWrapper = Wrappers.<LearningContentBoard>lambdaQuery().eq(LearningContentBoard::getExhibitionBoardCatId, exhibitionBoardId);
final List<LearningContentBoard> learningContentBoardList = this.learningContentBoardService.list(learningContentBoardLambdaQueryWrapper); final List<LearningContentBoard> learningContentBoardList = this.learningContentBoardService.list(learningContentBoardLambdaQueryWrapper);
if (learningContentBoardList != null && !learningContentBoardList.isEmpty()) { if (learningContentBoardList != null && !learningContentBoardList.isEmpty()) {
final Map<String, List<String>> collect = learningContentBoardList.stream().collect(Collectors.groupingBy(LearningContentBoard::getLearningContentId, Collectors.mapping(LearningContentBoard::getExhibitionBoardId, Collectors.toList()))); final Map<String, List<String>> collect = learningContentBoardList.stream().collect(Collectors.groupingBy(LearningContentBoard::getLearningContentId, Collectors.mapping(LearningContentBoard::getExhibitionBoardId, Collectors.toList())));
......
...@@ -230,6 +230,8 @@ public class LoginController extends BaseController { ...@@ -230,6 +230,8 @@ public class LoginController extends BaseController {
Long i = user.getExiredDate().toEpochDay() - LocalDate.now().toEpochDay(); Long i = user.getExiredDate().toEpochDay() - LocalDate.now().toEpochDay();
resultMap.put("expireNum", i); resultMap.put("expireNum", i);
} }
user.setPassword("");
user.setPhone("");
resultMap.put("user", user); resultMap.put("user", user);
resultMap.put("token", token); resultMap.put("token", token);
resultMap.put("menuList", userMenuPerms); resultMap.put("menuList", userMenuPerms);
......
...@@ -76,9 +76,9 @@ ...@@ -76,9 +76,9 @@
<select id="selectPageList" resultMap="BaseResultMap"> <select id="selectPageList" resultMap="BaseResultMap">
SELECT b.id,b.organ_id,b.mac,b.status,b.area_id,b.create_time,b.update_time,r.name organ_name ,u.user_name SELECT b.id,b.organ_id,b.mac,b.status,b.area_id,b.create_time,b.update_time,r.name organ_name ,u.user_name
FROM t_box_operation b FROM (t_box_operation b
left join t_organ r on r.id = b.organ_id left join t_organ r on r.id = b.organ_id
left join t_user u on u.org_id = b.organ_id and u.type = '2' left join t_user u on u.org_id = b.organ_id and u.type = '2')
where 1=1 where 1=1
<if test="tBoxOperation.organId != null and tBoxOperation.organId != '' "> <if test="tBoxOperation.organId != null and tBoxOperation.organId != '' ">
and b.organ_id =#{tBoxOperation.organId} and b.organ_id =#{tBoxOperation.organId}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment