1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-06 07:21:24 +08:00

use pinia to modify notice update function and add pagination to noticeManage page

This commit is contained in:
cccccyb
2023-05-14 22:00:59 +08:00
parent 4a00d46983
commit f309bd7bb9
11 changed files with 331 additions and 162 deletions

View File

@@ -1,5 +1,6 @@
package com.cfive.pinnacle.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cfive.pinnacle.entity.Notice;
import com.baomidou.mybatisplus.extension.service.IService;
@@ -18,11 +19,15 @@ public interface INoticeService extends IService<Notice> {
List<Notice> selectAllNotice();
List<Notice> selectByCond(String title,String type,String startTime,String endTime);
List<Notice> selectByCond(String title, String type, String startTime, String endTime);
Boolean deleteById(Long nid);
Boolean updateNotice(Notice notice);
Boolean addNotice(Notice notice);
IPage<Notice> selectPageAllNotice(IPage<?> page);
IPage<Notice> selectPageByCond(IPage<?> page, String title, String type, String startTime, String endTime);
}