ADD file via upload

main
pjhmizn49 1 year ago
parent fa3df0d28a
commit c1179e781f

@ -0,0 +1,19 @@
package com.example.flower.mapper;
import com.example.flower.entity.Notice;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.List;
@Mapper
@Repository
public interface NoticeMapper {
List<Notice> noticeList(); //获取所有公告信息
List<Notice> noticeListByQuery(String notice_content);//查询公告信息列表
void noticeAdd(Notice notice); //添加新公告
int noticeDeletePer(int notice_id); //删除单个公告
int noticeDeleteMul(int[] notice_ids); //批量删除公告
Notice noticeInfo(int notice_id); //获取公告信息
int noticeModify(Notice notice); //修改公告信息
}
Loading…
Cancel
Save