mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-06 07:21:24 +08:00
add the function of addNoticeType
This commit is contained in:
@@ -47,4 +47,9 @@ public class NoticeTypeServiceImpl extends ServiceImpl<NoticeTypeMapper, NoticeT
|
||||
luw.eq(null!=typeId,NoticeType::getId, typeId).set(null!=enable,NoticeType::getEnable,enable);
|
||||
return noticeTypeMapper.update(null, luw)>0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean addNoticeType(NoticeType noticeType) {
|
||||
return noticeTypeMapper.insert(noticeType)>0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user