|
|
|
@ -61,7 +61,7 @@ public class NotifyServiceImpl implements NotifyService {
|
|
|
|
|
.eq(StrUtil.isNotBlank(reqDTO.getTenantId()), NotifyInfo::getTenantId, reqDTO.getTenantId())
|
|
|
|
|
.eq(StrUtil.isNotBlank(reqDTO.getItemId()), NotifyInfo::getItemId, reqDTO.getItemId())
|
|
|
|
|
.eq(StrUtil.isNotBlank(reqDTO.getTpId()), NotifyInfo::getTpId, reqDTO.getTpId())
|
|
|
|
|
.orderByDesc(NotifyInfo::getGmtModified);
|
|
|
|
|
.orderByDesc(NotifyInfo::getGmtCreate);
|
|
|
|
|
|
|
|
|
|
IPage<NotifyInfo> resultPage = notifyInfoMapper.selectPage(reqDTO, queryWrapper);
|
|
|
|
|
return resultPage.convert(each -> BeanUtil.convert(each, NotifyRespDTO.class));
|
|
|
|
|