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.

42 lines
1.1 KiB
C#

using DS.WMS.PrintApi.Model;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace DS.WMS.PrintApi.Service
{
public interface IOpenPrintService
{
/// <summary>
/// 获取Json打印信息
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public Task<PrintDataResult> GetOpenJsonPrintInfo(OpenJsonPrintReq req);
/// <summary>
/// 根据打印模板代码获取Json打印信息
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public Task<PrintDataResult> GetOpenJsonPrintInfoByTemplateCode(OpenJsonPrintByCodeReq req);
/// <summary>
/// sql 打印
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public Task<PrintDataResult> GetOpenSqlPrintInfo(OpenSqlPrintReq req);
/// <summary>
/// 下载sql打印frx文件
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public Task<FileDownLoadRes> DownloadSqlPrintFile(OpenSqlPrintReq req);
}
}