You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.3 KiB
59 lines
1.3 KiB
9 months ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace RoadFlow.Data.Interface
|
||
|
{
|
||
|
public interface IUsersApp
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 新增
|
||
|
/// </summary>
|
||
|
int Add(RoadFlow.Data.Model.UsersApp model);
|
||
|
|
||
|
/// <summary>
|
||
|
/// 更新
|
||
|
/// </summary>
|
||
|
int Update(RoadFlow.Data.Model.UsersApp model);
|
||
|
|
||
|
/// <summary>
|
||
|
/// 查询所有记录
|
||
|
/// </summary>
|
||
|
List<RoadFlow.Data.Model.UsersApp> GetAll();
|
||
|
|
||
|
/// <summary>
|
||
|
/// 查询单条记录
|
||
|
/// </summary>
|
||
|
Model.UsersApp Get(Guid id);
|
||
|
|
||
|
/// <summary>
|
||
|
/// 删除
|
||
|
/// </summary>
|
||
|
int Delete(string id);
|
||
|
|
||
|
/// <summary>
|
||
|
/// 查询记录条数
|
||
|
/// </summary>
|
||
|
long GetCount();
|
||
|
|
||
|
/// <summary>
|
||
|
/// 查询所有记录
|
||
|
/// </summary>
|
||
|
System.Data.DataTable GetAllDataTable();
|
||
|
|
||
|
/// <summary>
|
||
|
/// 更新排序
|
||
|
/// </summary>
|
||
|
int UpdateSort(Guid id, int sort);
|
||
|
|
||
|
/// <summary>
|
||
|
/// 查询下级记录
|
||
|
/// </summary>
|
||
|
List<RoadFlow.Data.Model.UsersApp> GetChild(string id);
|
||
|
|
||
|
/// <summary>
|
||
|
/// 删除一个用户记录
|
||
|
/// </summary>
|
||
|
int DeleteByUserID(Guid userID);
|
||
|
}
|
||
|
}
|