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.
146 lines
3.9 KiB
C#
146 lines
3.9 KiB
C#
using DS.Module.Core;
|
|
using DS.WMS.Core.BaseInfo.Dtos;
|
|
using DS.WMS.Core.BaseInfo.Entity;
|
|
using DS.WMS.Core.System.Dtos;
|
|
using DS.WMS.Core.System.Entity;
|
|
|
|
namespace DS.WMS.Core.System.Interface;
|
|
|
|
public interface ICommonService
|
|
{
|
|
/// <summary>
|
|
/// 登录
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
DataResult<string> UserLogin(UserLoginModel model);
|
|
|
|
/// <summary>
|
|
/// 获取用户信息
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
DataResult<CurrentUserViewModel> GetUserInfo();
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// APP升级
|
|
/// </summary>
|
|
/// <param name="appVersion">版本号</param>
|
|
/// <returns></returns>
|
|
DataResult AppUpdate(string appVersion);
|
|
|
|
/// <summary>
|
|
/// 查询用户拥有的菜单权限
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
DataResult<List<RouteItem>> GetUserPermissionByToken();
|
|
|
|
/// <summary>
|
|
/// 获取字典明细
|
|
/// </summary>
|
|
/// <param name="code"></param>
|
|
/// <returns></returns>
|
|
DataResult GetDictTypeDropDown(string code);
|
|
/// <summary>
|
|
/// 批量获取字典值
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
DataResult<List<DictOptions>> GetDictOptions(DropDownDictTypeInput model);
|
|
|
|
/// <summary>
|
|
/// 获取商品分类列表
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
DataResult<List<code_goodsType>> GetGoodsTypeList(PageRequest request);
|
|
|
|
/// <summary>
|
|
/// 获取商品计费大类列表
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
public DataResult<List<OP_WMS_GOODSFEETYPE>> GetGoodsFeeTypeList(PageRequest request);
|
|
/// <summary>
|
|
/// 企业用户注册
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
DataResult CompanyRegister(CompanyRegisterInput model);
|
|
|
|
|
|
/// <summary>
|
|
/// 获取服务器信息
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
DataResult<dynamic> GetServerInfo();
|
|
|
|
|
|
/// <summary>
|
|
/// 获取角色下拉列表
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
DataResult<List<ApiSelectViewModel>> GetRoleList();
|
|
/// <summary>
|
|
/// 获取安全人员类型下拉列表
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
DataResult<List<ApiSelectViewModel>> GetSecurityUserTypeList();
|
|
/// <summary>
|
|
/// 获取商品下拉列表
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
DataResult GetGoodsList(string code);
|
|
/// <summary>
|
|
/// 获取仓库下拉列表
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
DataResult<List<StoreHouseViewModel>> GetStoreHouseList(PageRequest request);
|
|
|
|
|
|
/// <summary>
|
|
/// 获取仓库库位下拉列表
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
DataResult GetStoreHouseAreaList(string code);
|
|
|
|
/// <summary>
|
|
/// 客户选择
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
DataResult<List<InfoClientViewModel>> GetInfoClientList(PageRequest request);
|
|
/// <summary>
|
|
/// 获取费用列表
|
|
/// </summary>
|
|
/// <param name="code"></param>
|
|
/// <returns></returns>
|
|
public DataResult GetFeeList(string code);
|
|
|
|
/// <summary>
|
|
/// 获取仓库选择
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public DataResult<List<ApiSelectViewModel>> GetStoreHouseSelect();
|
|
|
|
/// <summary>
|
|
/// 获取集合提醒统计
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public DataResult<CollectWarningCount> GetCollectWarningCount();
|
|
|
|
/// <summary>
|
|
/// 获取已审批客户列表
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
public DataResult<List<OP_YARD_COMPANY>> GetCompanyList(PageRequest request);
|
|
|
|
/// <summary>
|
|
/// 修改密码
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
public DataResult ChangePassword(ChangePasswordInput model);
|
|
|
|
} |