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.
45 lines
1.0 KiB
C#
45 lines
1.0 KiB
C#
using DS.Module.Core;
|
|
using DS.Module.Core.Data;
|
|
using DS.WMS.Core.Sys.Dtos;
|
|
|
|
namespace DS.WMS.Core.Sys.Interface;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public interface ISysOrgService
|
|
{
|
|
/// <summary>
|
|
/// 列表查询
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
DataResult<List<SysOrgRes>> GetListByPage(PageRequest request);
|
|
|
|
/// <summary>
|
|
/// 添加编辑
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
DataResult EditOrg(SysOrgReq model);
|
|
|
|
/// <summary>
|
|
/// 获取详情
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
DataResult<SysOrgRes> GetOrgInfo(string id);
|
|
|
|
/// <summary>
|
|
/// 获取树型机构
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public DataResult<List<OrgTree>> GetOrgTree();
|
|
|
|
/// <summary>
|
|
/// 批量删除
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
public DataResult BatchDelOrg(IdModel req);
|
|
} |