提交
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<DocumentationFile>Appointment.IRepository.xml</DocumentationFile>
|
||||
<NoWarn>1701;1702;1591</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Appointment.Entity\Appointment.Entity.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="Appointment.IRepository.xml">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
342
api_v1/Appointment.IRepository/Appointment.IRepository.xml
Normal file
342
api_v1/Appointment.IRepository/Appointment.IRepository.xml
Normal file
@@ -0,0 +1,342 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Appointment.IRepository</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="M:Appointment.IRepository.IApptAuditorRepo.Add(Appointment.Entity.ApptAuditor)">
|
||||
<summary>
|
||||
预订审核节点 添加
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptAuditorRepo.Delete(System.Int32)">
|
||||
<summary>
|
||||
预订审核节点 删除
|
||||
</summary>
|
||||
<param name="id"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptAuditorRepo.GetModel(System.Int32)">
|
||||
<summary>
|
||||
预订审核节点 根据主键获取实体
|
||||
</summary>
|
||||
<param name="id"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptAuditorRepo.GetList(Appointment.Entity.ApptAuditor)">
|
||||
<summary>
|
||||
预订审核节点 获取列表
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptAuditorRepo.Page(Appointment.Entity.CommPageReq)">
|
||||
<summary>
|
||||
预订审核节点 分页
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptAuditorRepo.AuditorLine(System.Int32)">
|
||||
<summary>
|
||||
获取预订审核线状结构
|
||||
</summary>
|
||||
<param name="apptTypeId"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptLogRepo.SetLog(System.String,System.String,System.String,System.String,System.String,System.Int32)">
|
||||
<summary>
|
||||
日志
|
||||
</summary>
|
||||
<param name="tableName">数据表</param>
|
||||
<param name="keyId">主键</param>
|
||||
<param name="oldData">原始数据</param>
|
||||
<param name="newData">新数据</param>
|
||||
<param name="userId">操作人员</param>
|
||||
<param name="systemUser">用户类型:0-普通用户,1-管理人员</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepo.UsableMeetingList(Appointment.Entity.MeetingReq)">
|
||||
<summary>
|
||||
根据时间段获取可使用的会议厅资源
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepo.UsableMeeting(Appointment.Entity.UsableMeetingReq)">
|
||||
<summary>
|
||||
根据日期与场次获取可使用会议厅资源
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepo.UsableRoom(Appointment.Entity.UsableRoomReq)">
|
||||
<summary>
|
||||
获取房间列表
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepo.UsableRoomMin(Appointment.Entity.UsableRoomReq)">
|
||||
<summary>
|
||||
据时间段获取房类最小可用数
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepo.RemarkList">
|
||||
<summary>
|
||||
获取自定义备注列表项
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepo.Add(Appointment.Entity.ApptSummaryReq)">
|
||||
<summary>
|
||||
添加预订
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepo.DeleteAppt(Appointment.Entity.AuditDeleteReq)">
|
||||
<summary>
|
||||
删除主单或详情
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepo.ApptAudit(Appointment.Entity.ApptAuditReq)">
|
||||
<summary>
|
||||
预订审核
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepo.CancelAudit(Appointment.Entity.ApptAuditReq)">
|
||||
<summary>
|
||||
取消预订
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepo.TransferAudit(Appointment.Entity.TransferAuditReq)">
|
||||
<summary>
|
||||
转审批
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepo.ApptSend(Appointment.Entity.ApptSendReq)">
|
||||
<summary>
|
||||
抄送操作
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepo.GetModel(System.Int32)">
|
||||
<summary>
|
||||
查询实体
|
||||
</summary>
|
||||
<param name="id">主键</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepo.MyApptApplyPageReq(Appointment.Entity.MyApptApplyPageReq)">
|
||||
<summary>
|
||||
获取我申请的预订信息
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepo.MyPartakePage(Appointment.Entity.MyApptAuditPageReq)">
|
||||
<summary>
|
||||
获取我的待审核的
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepo.AuditorLogTree(Appointment.Entity.CommIntReq)">
|
||||
<summary>
|
||||
获取预订审核记录表
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepoJNC.AddApptSummary(Appointment.Entity.AddSummaryJncReq)">
|
||||
<summary>
|
||||
创建新的预订单
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepoJNC.UpdateSummary(Appointment.Entity.UpdateSummaryReq)">
|
||||
<summary>
|
||||
修改暂订单
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepoJNC.ApplyOrder(Appointment.Entity.ApplyOrderReq)">
|
||||
<summary>
|
||||
申请确定单
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepoJNC.Cancel(Appointment.Entity.ApplyOrderReq)">
|
||||
<summary>
|
||||
取消OA单
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepoJNC.AuditorSummary(Appointment.Entity.ApplyOrderReq)">
|
||||
<summary>
|
||||
审批通过确实单
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepoJNC.RejectSummary(Appointment.Entity.ApplyOrderReq)">
|
||||
<summary>
|
||||
被驳回
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepoJNC.ManualCopy(Appointment.Entity.ApptSendReq)">
|
||||
<summary>
|
||||
手动抄送
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepoJNC.AddReply(Appointment.Entity.AddMsgReq)">
|
||||
<summary>
|
||||
信息回复
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepoJNC.GetSummaryModel(Appointment.Entity.SummaryJncModelReq)">
|
||||
<summary>
|
||||
根据订单主键获取实体
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepoJNC.ApptSummaryPager(Appointment.Entity.SummaryJNCPageReq)">
|
||||
<summary>
|
||||
分页预订列表
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepoJNC.AuditorLogTree(Appointment.Entity.SummaryJncModelReq)">
|
||||
<summary>
|
||||
获取审批流程
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepoJNC.Disparity(Appointment.Entity.SummaryJncModelReq)">
|
||||
<summary>
|
||||
订单数据差距
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptRepoJNC.GetReplyPicList(Appointment.Entity.SummaryJncModelReq)">
|
||||
<summary>
|
||||
返回回复中的图片列表
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptTypeRepo.Add(Appointment.Entity.ApptTypeAddReq)">
|
||||
<summary>
|
||||
预订类型添加
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptTypeRepo.Delete(System.Int32)">
|
||||
<summary>
|
||||
预订类型删除
|
||||
</summary>
|
||||
<param name="id"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptTypeRepo.Update(Appointment.Entity.ApptType)">
|
||||
<summary>
|
||||
预订类型更新
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptTypeRepo.GetModel(System.Int32)">
|
||||
<summary>
|
||||
预订类型获取实体
|
||||
</summary>
|
||||
<param name="id"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptTypeRepo.GetList(Appointment.Entity.ApptType)">
|
||||
<summary>
|
||||
预订类型列表
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IApptTypeRepo.Page(Appointment.Entity.CommPageReq)">
|
||||
<summary>
|
||||
预订类型分页
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IManagerGroup.GetAll">
|
||||
<summary>
|
||||
获取全部角色
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IUserRepo.UserNameLogin(System.String,System.String,System.String,System.String)">
|
||||
<summary>
|
||||
工号密码登录
|
||||
</summary>
|
||||
<param name="userName"></param>
|
||||
<param name="userPwd"></param>
|
||||
<param name="code"></param>
|
||||
<param name="hotelid">酒店id</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IUserRepo.WxLogin(System.String,System.String)">
|
||||
<summary>
|
||||
微信登录
|
||||
</summary>
|
||||
<param name="code"></param>
|
||||
<param name="hotelid">酒店id</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IUserRepo.WxServiceSet(Appointment.Entity.WxServiceSetRes)">
|
||||
<summary>
|
||||
绑定微信服务号openid
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IUserRepo.GetSendUserList(Appointment.Entity.BindUserReq)">
|
||||
<summary>
|
||||
获取所有用户
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Appointment.IRepository.IUserRepo.GetTransferAuditUserList(Appointment.Entity.BindUserReq)">
|
||||
<summary>
|
||||
当前用户角色是否具有转审权限
|
||||
</summary>
|
||||
<param name="req"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
52
api_v1/Appointment.IRepository/IApptAuditorRepo.cs
Normal file
52
api_v1/Appointment.IRepository/IApptAuditorRepo.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using Appointment.Entity;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Appointment.IRepository
|
||||
{
|
||||
public interface IApptAuditorRepo
|
||||
{
|
||||
/// <summary>
|
||||
/// 预订审核节点 添加
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult<ApptAuditor> Add(ApptAuditor req);
|
||||
|
||||
/// <summary>
|
||||
/// 预订审核节点 删除
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult Delete(int id);
|
||||
|
||||
/// <summary>
|
||||
/// 预订审核节点 根据主键获取实体
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult<ApptAuditor> GetModel(int id);
|
||||
|
||||
/// <summary>
|
||||
/// 预订审核节点 获取列表
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult<List<ApptAuditor>> GetList(ApptAuditor req);
|
||||
|
||||
/// <summary>
|
||||
/// 预订审核节点 分页
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult<PagerData<ApptAuditor>> Page(CommPageReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 获取预订审核线状结构
|
||||
/// </summary>
|
||||
/// <param name="apptTypeId"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult<ApptAuditor> AuditorLine(int apptTypeId);
|
||||
}
|
||||
}
|
||||
22
api_v1/Appointment.IRepository/IApptLogRepo.cs
Normal file
22
api_v1/Appointment.IRepository/IApptLogRepo.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using Appointment.Entity;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Appointment.IRepository
|
||||
{
|
||||
public interface IApptLogRepo
|
||||
{
|
||||
/// <summary>
|
||||
/// 日志
|
||||
/// </summary>
|
||||
/// <param name="tableName">数据表</param>
|
||||
/// <param name="keyId">主键</param>
|
||||
/// <param name="oldData">原始数据</param>
|
||||
/// <param name="newData">新数据</param>
|
||||
/// <param name="userId">操作人员</param>
|
||||
/// <param name="systemUser">用户类型:0-普通用户,1-管理人员</param>
|
||||
/// <returns></returns>
|
||||
ApiResult<int> SetLog(string tableName, string keyId, string oldData, string newData, string userId, int systemUser = 0);
|
||||
}
|
||||
}
|
||||
116
api_v1/Appointment.IRepository/IApptRepo.cs
Normal file
116
api_v1/Appointment.IRepository/IApptRepo.cs
Normal file
@@ -0,0 +1,116 @@
|
||||
using Appointment.Entity;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
|
||||
namespace Appointment.IRepository
|
||||
{
|
||||
public interface IApptRepo
|
||||
{
|
||||
/// <summary>
|
||||
/// 根据时间段获取可使用的会议厅资源
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult<List<MeetingRes>> UsableMeetingList(MeetingReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 根据日期与场次获取可使用会议厅资源
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult<List<ResCode>> UsableMeeting(UsableMeetingReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 获取房间列表
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
ApiResult<List<UsableRoomRes>> UsableRoom(UsableRoomReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 据时间段获取房类最小可用数
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult<List<UsableRoomRes>> UsableRoomMin(UsableRoomReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 获取自定义备注列表项
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
ApiResult<List<string>> RemarkList();
|
||||
|
||||
/// <summary>
|
||||
/// 添加预订
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult Add(ApptSummaryReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 删除主单或详情
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult DeleteAppt(AuditDeleteReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 预订审核
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult ApptAudit(ApptAuditReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 取消预订
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult CancelAudit(ApptAuditReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 转审批
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult TransferAudit(TransferAuditReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 抄送操作
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult ApptSend(ApptSendReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 查询实体
|
||||
/// </summary>
|
||||
/// <param name="id">主键</param>
|
||||
/// <returns></returns>
|
||||
ApiResult<ApptSummaryReq> GetModel(int id);
|
||||
|
||||
/// <summary>
|
||||
/// 获取我申请的预订信息
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult<PagerData<ApptSummaryReq>> MyApptApplyPageReq(MyApptApplyPageReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 获取我的待审核的
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult<PagerData<ApptSummaryReq>> MyPartakePage(MyApptAuditPageReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 获取预订审核记录表
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult<AuditorLogTreeRes> AuditorLogTree(CommIntReq req);
|
||||
|
||||
public ApiResult Demo(CommPageReq req);
|
||||
}
|
||||
}
|
||||
103
api_v1/Appointment.IRepository/IApptRepoJNC.cs
Normal file
103
api_v1/Appointment.IRepository/IApptRepoJNC.cs
Normal file
@@ -0,0 +1,103 @@
|
||||
using Appointment.Entity;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Appointment.IRepository
|
||||
{
|
||||
public interface IApptRepoJNC
|
||||
{
|
||||
/// <summary>
|
||||
/// 创建新的预订单
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult<int> AddApptSummary(AddSummaryJncReq req);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 修改暂订单
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult<int> UpdateSummary(UpdateSummaryReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 申请确定单
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult ApplyOrder(ApplyOrderReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 取消OA单
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult Cancel(ApplyOrderReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 审批通过确实单
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult AuditorSummary(ApplyOrderReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 被驳回
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult RejectSummary(ApplyOrderReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 手动抄送
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult ManualCopy(ApptSendReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 信息回复
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult AddReply(AddMsgReq req);
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 根据订单主键获取实体
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult<SummaryJncDetailRep> GetSummaryModel(SummaryJncModelReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 分页预订列表
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult<PagerData<SummaryJncDetailRep>> ApptSummaryPager(SummaryJNCPageReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 获取审批流程
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult<AuditorLogReq> AuditorLogTree(SummaryJncModelReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 订单数据差距
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult<List<DisparityReq>> Disparity(SummaryJncModelReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 返回回复中的图片列表
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public ApiResult<List<string>> GetReplyPicList(SummaryJncModelReq req);
|
||||
}
|
||||
}
|
||||
52
api_v1/Appointment.IRepository/IApptTypeRepo.cs
Normal file
52
api_v1/Appointment.IRepository/IApptTypeRepo.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using Appointment.Entity;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Appointment.IRepository
|
||||
{
|
||||
public interface IApptTypeRepo
|
||||
{
|
||||
/// <summary>
|
||||
/// 预订类型添加
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult<ApptType> Add(ApptTypeAddReq req);
|
||||
|
||||
/// <summary>
|
||||
/// 预订类型删除
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult Delete(int id);
|
||||
|
||||
/// <summary>
|
||||
/// 预订类型更新
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult<ApptType> Update(ApptType req);
|
||||
|
||||
/// <summary>
|
||||
/// 预订类型获取实体
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult<ApptType> GetModel(int id);
|
||||
|
||||
/// <summary>
|
||||
/// 预订类型列表
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult<List<ApptType>> GetList(ApptType req);
|
||||
|
||||
/// <summary>
|
||||
/// 预订类型分页
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult<PagerData<ApptType>> Page(CommPageReq req);
|
||||
}
|
||||
}
|
||||
16
api_v1/Appointment.IRepository/IManageGroup.cs
Normal file
16
api_v1/Appointment.IRepository/IManageGroup.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Appointment.Entity;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Appointment.IRepository
|
||||
{
|
||||
public interface IManagerGroup
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取全部角色
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
ApiResult<List<UcGroup>> GetAll();
|
||||
}
|
||||
}
|
||||
49
api_v1/Appointment.IRepository/IUserRepo.cs
Normal file
49
api_v1/Appointment.IRepository/IUserRepo.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
using Appointment.Entity;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Appointment.IRepository
|
||||
{
|
||||
public interface IUserRepo
|
||||
{
|
||||
/// <summary>
|
||||
/// 工号密码登录
|
||||
/// </summary>
|
||||
/// <param name="userName"></param>
|
||||
/// <param name="userPwd"></param>
|
||||
/// <param name="code"></param>
|
||||
/// <param name="hotelid">酒店id</param>
|
||||
/// <returns></returns>
|
||||
public ApiResult<UserInfoRes> UserNameLogin(string userName, string userPwd, string code, string hotelid);
|
||||
|
||||
/// <summary>
|
||||
/// 微信登录
|
||||
/// </summary>
|
||||
/// <param name="code"></param>
|
||||
/// <param name="hotelid">酒店id</param>
|
||||
/// <returns></returns>
|
||||
public ApiResult<UserInfoRes> WxLogin(string code, string hotelid);
|
||||
|
||||
/// <summary>
|
||||
/// 绑定微信服务号openid
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult WxServiceSet(WxServiceSetRes req);
|
||||
|
||||
/// <summary>
|
||||
/// 获取所有用户
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult<List<LoginUserRes>> GetSendUserList(BindUserReq req = null);
|
||||
|
||||
/// <summary>
|
||||
/// 当前用户角色是否具有转审权限
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult<List<LoginUserRes>> GetTransferAuditUserList(BindUserReq req);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user