mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-06 07:21:24 +08:00
add the function of updateNoticeType
This commit is contained in:
@@ -27,7 +27,9 @@ public class NoticeTypeServiceImpl extends ServiceImpl<NoticeTypeMapper, NoticeT
|
||||
NoticeTypeMapper noticeTypeMapper;
|
||||
@Override
|
||||
public List<NoticeType> selectTypeList() {
|
||||
return noticeTypeMapper.selectList(null);
|
||||
LambdaQueryWrapper<NoticeType> lqw = new LambdaQueryWrapper<>();
|
||||
lqw.orderByDesc(NoticeType::getId);
|
||||
return noticeTypeMapper.selectList(lqw);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user