Commit c27f1db2 by wangxin

首页滚动提示 附件上传问题

parent 37c25954
......@@ -19,6 +19,8 @@ import com.yizhi.site.application.vo.domain.SystemMailboxVo;
import com.yizhi.site.application.vo.domain.SystemMailboxConditionVo;
import com.yizhi.system.application.system.remote.AccountClient;
import com.yizhi.system.application.vo.AccountVO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
......@@ -45,6 +47,8 @@ public class SystemMailboxServiceImpl extends ServiceImpl<SystemMailboxMapper,Sy
@Autowired
private AccountClient accountClient;
private static final Logger LOGGER = LoggerFactory.getLogger(SystemMailboxServiceImpl.class);
@Override
public Page<SystemMailbox> selectPage(SystemMailboxConditionVo conditionVo){
......@@ -210,8 +214,10 @@ public class SystemMailboxServiceImpl extends ServiceImpl<SystemMailboxMapper,Sy
if(!ContextHolder.get().isAdmin()&&!roleIds.contains(1877604582759526400L)&&!roleIds.contains(1877605828904022016L)){
accountId = ContextHolder.get().getAccountId();
}
}else{
accountId = ContextHolder.get().getAccountId();
}
LOGGER.info("查询信箱:{},{}",accountId,roleType);
// 调用Mapper中的新方法获取4天内创建且未查看的数据
return this.baseMapper.selectMailboxManagementForScroll(accountId, roleType);
}
......
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