|
@ -42,10 +42,7 @@ import com.epmet.commons.tools.scan.param.TextTaskDTO; |
|
|
import com.epmet.commons.tools.scan.result.SyncScanResult; |
|
|
import com.epmet.commons.tools.scan.result.SyncScanResult; |
|
|
import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
import com.epmet.commons.tools.security.user.LoginUserUtil; |
|
|
import com.epmet.commons.tools.security.user.LoginUserUtil; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
import com.epmet.commons.tools.utils.*; |
|
|
import com.epmet.commons.tools.utils.DateUtils; |
|
|
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
|
|
|
import com.epmet.commons.tools.utils.ScanContentUtils; |
|
|
|
|
|
import com.epmet.commons.tools.validator.ValidatorUtils; |
|
|
import com.epmet.commons.tools.validator.ValidatorUtils; |
|
|
import com.epmet.constant.*; |
|
|
import com.epmet.constant.*; |
|
|
import com.epmet.dao.*; |
|
|
import com.epmet.dao.*; |
|
@ -2007,5 +2004,30 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 烟台钉钉居民端:需求来源:烟台钉钉应用:实时动态周边疫情 就业服务 警民互动 物业通知 党务公开 居务公开 财务公开 以上标签在实时动态里写死吧 |
|
|
|
|
|
* |
|
|
|
|
|
* @param pageNo |
|
|
|
|
|
* @param pageSize |
|
|
|
|
|
* @param gridId |
|
|
|
|
|
* @param tagName |
|
|
|
|
|
* @return |
|
|
|
|
|
*/ |
|
|
|
|
|
@Override |
|
|
|
|
|
public PageData<ArticleLatestResultDTO> pageArticleListByTagName(Integer pageNo, Integer pageSize, String gridId, String tagName) { |
|
|
|
|
|
// 1.获取工作人员缓存信息
|
|
|
|
|
|
CustomerStaffInfoCacheResult staffInfo = CustomerStaffRedis.getStaffInfo(EpmetRequestHolder.getLoginUserCustomerId(), |
|
|
|
|
|
EpmetRequestHolder.getLoginUserId()); |
|
|
|
|
|
if (null == staffInfo) { |
|
|
|
|
|
throw new EpmetException("获取工作人员信息失败"); |
|
|
|
|
|
} |
|
|
|
|
|
PageHelper.startPage(pageNo, pageSize); |
|
|
|
|
|
List<ArticleLatestResultDTO> list = baseDao.pageArticleListByTagName( |
|
|
|
|
|
gridId, |
|
|
|
|
|
tagName, |
|
|
|
|
|
EpmetRequestHolder.getLoginUserCustomerId(), |
|
|
|
|
|
staffInfo.getAgencyId()); |
|
|
|
|
|
PageInfo<ArticleLatestResultDTO> pageInfo = new PageInfo<>(list); |
|
|
|
|
|
return new PageData<>(list, pageInfo.getTotal()); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|