You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
995 B
C#

using DS.Module.Core;
using DS.WMS.Core.Sys.Dtos;
namespace DS.WMS.Core.Sys.Interface;
public interface ISysNoticeService
{
/// <summary>
/// 列表查询
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
DataResult<List<NoticeViewModel>> GetListByPage(PageRequest request);
/// <summary>
/// 编辑
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
DataResult EditNotice(NoticeInput model);
/// <summary>
/// 获取单个公告信息
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult<NoticeViewModel> GetInfo(string id);
/// <summary>
/// 发布公告
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult SendNotice(string id);
/// <summary>
/// 撤销公告
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult CancelNotice(string id);
}