This commit is contained in:
zhuoda
2020-09-22 09:33:56 +08:00
parent 8f32765f44
commit 70173ebd22
4 changed files with 5 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ public interface NoticeDao extends BaseMapper<NoticeEntity> {
* @param employeeId
* @return
*/
@DataScope(joinSql = "n.create_user_department_id in (#departmentIds)", whereInType = DataScopeWhereInTypeEnum.DEPARTMENT)
@DataScope(joinSql = "e.department_id in (#departmentIds)", whereInType = DataScopeWhereInTypeEnum.DEPARTMENT)
List<NoticeVO> queryUnreadByPage(Page page, @Param("employeeId") Long employeeId, @Param("sendStatus") Integer sendStatus);