|
|
@@ -8,6 +8,7 @@ import com.xjrsoft.module.oa.vo.DeptIdOrClassIdVo;
|
|
|
import com.xjrsoft.module.oa.vo.NewsPageVo;
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
+import org.apache.ibatis.annotations.Update;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
@@ -26,4 +27,8 @@ public interface NewsMapper extends MPJBaseMapper<News> {
|
|
|
IPage<NewsPageVo> receiptBox(IPage<NewsPageDto> page,NewsPageDto dto);
|
|
|
|
|
|
List<DeptIdOrClassIdVo> getDeptIdOrClassId(@Param("personalIdList") List<Long> personalIdList);
|
|
|
+
|
|
|
+
|
|
|
+ @Update("UPDATE xjr_oa_news_relation SET read_mark = 1 WHERE user_id = #{userId}")
|
|
|
+ void allRead(Long userId);
|
|
|
}
|