|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using djy.Model;
|
|
|
|
|
using Common;
|
|
|
|
|
using djy.Model.AmsDto;
|
|
|
|
|
using Common.Utilities;
|
|
|
|
|
using djy.Model.IsfDto;
|
|
|
|
|
using djy.Model.Isf;
|
|
|
|
|
using djy.IService.Djy;
|
|
|
|
|
using Common.DJYModel;
|
|
|
|
|
|
|
|
|
|
namespace djy.IService.Isf
|
|
|
|
|
{
|
|
|
|
|
public interface IIsfService : IsBase
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 查询
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="req"></param>
|
|
|
|
|
/// <param name="userid"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
TableData Load(ISFQuery req, User user, UserAuthorityDto aut);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 删除
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="ids"></param>
|
|
|
|
|
/// <param name="userid"></param>
|
|
|
|
|
void Delete(string ids, User user);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 新增/编辑
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="dto"></param>
|
|
|
|
|
/// <param name="userid"></param>
|
|
|
|
|
string SaveInfo(ISFDto dto, User user);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取模板
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
List<ISF_CompanyTemplate> GetTemplate(User user, string CompanyType, string InFoType,string TemPlateName);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 保存模板
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="dto"></param>
|
|
|
|
|
/// <param name="userid"></param>
|
|
|
|
|
string SaveTemplate(ISF_CompanyTemplate dto, User user);
|
|
|
|
|
|
|
|
|
|
void DeleteTemplate(string ids);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发送接口
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Gid"></param>
|
|
|
|
|
/// <param name="userid"></param>
|
|
|
|
|
/// <param name="docType"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task<Response> SendDE(string Gid, User user, string msgType);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Response SaveReceipt(string msg );
|
|
|
|
|
}
|
|
|
|
|
}
|