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.
|
|
|
|
using CommonModel;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using ZhongLianModel;
|
|
|
|
|
|
|
|
|
|
namespace ZhongLianInterface
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 工程服务
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IProjectService
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 插入
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="project">工程实体</param>
|
|
|
|
|
/// <returns>工程实体</returns>
|
|
|
|
|
Task<ProjectDO> Insert(ProjectDO project);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更新
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="project">工程实体</param>
|
|
|
|
|
/// <returns>工程实体</returns>
|
|
|
|
|
Task<ProjectDO> Update(ProjectDO project);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 删除
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Ids">Id数组</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
|
|
|
|
|
Task Delete(string[] ids);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 根据编号查询
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="id">编号</param>
|
|
|
|
|
/// <returns>工程</returns>
|
|
|
|
|
Task<ProjectDO> Get(string id);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分页查询
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="page">分页对象</param>
|
|
|
|
|
/// <returns>分页对象</returns>
|
|
|
|
|
Task<PageData<ProjectDO>> List(PageSearch<ProjectDO> page);
|
|
|
|
|
|
|
|
|
|
Task<List<GeoProjectDTO>> GeoCount();
|
|
|
|
|
}
|
|
|
|
|
}
|