diff --git a/ds-wms-service/DS.WMS.MainApi/Controllers/PrintController.cs b/ds-wms-service/DS.WMS.MainApi/Controllers/PrintController.cs index b70e1c85..a79d4a95 100644 --- a/ds-wms-service/DS.WMS.MainApi/Controllers/PrintController.cs +++ b/ds-wms-service/DS.WMS.MainApi/Controllers/PrintController.cs @@ -130,12 +130,12 @@ namespace DS.WMS.MainApi.Controllers /// - /// 获取Json打印信息 + /// 获取Json本地打印信息 /// /// /// [HttpPost] - [Route("GetOpenJsonPrintInfo")] + [Route("GetJsonPrintInfoAsync")] public async Task> GetJsonPrintInfoAsync([FromBody] OpenJsonPrintReq req) { diff --git a/ds-wms-service/DS.WMS.MainApi/DS.WMS.MainApi.csproj.user b/ds-wms-service/DS.WMS.MainApi/DS.WMS.MainApi.csproj.user index 166ab595..996c16b7 100644 --- a/ds-wms-service/DS.WMS.MainApi/DS.WMS.MainApi.csproj.user +++ b/ds-wms-service/DS.WMS.MainApi/DS.WMS.MainApi.csproj.user @@ -1,6 +1,6 @@  - E:\MyCode\Dongsheng8\ds-wms-service\DS.WMS.MainApi\Properties\PublishProfiles\FolderProfile.pubxml + D:\Code\DS\ds8-solution-pro\ds-wms-service\DS.WMS.MainApi\Properties\PublishProfiles\FolderProfile.pubxml \ No newline at end of file diff --git a/ds-wms-service/DS.WMS.PrintApi/Service/OpenPrintService.cs b/ds-wms-service/DS.WMS.PrintApi/Service/OpenPrintService.cs index ab446ade..22bf7d34 100644 --- a/ds-wms-service/DS.WMS.PrintApi/Service/OpenPrintService.cs +++ b/ds-wms-service/DS.WMS.PrintApi/Service/OpenPrintService.cs @@ -18,7 +18,7 @@ namespace DS.WMS.PrintApi.Service { using (var db = SqlSugarUtil.GetInstance()) { - var template = db.Queryable().Where(x => x.Id == req.TemplateId).First(); + var template = db.Queryable().Filter(null,true).Where(x => x.Id == req.TemplateId).First(); if (template == null) { return await Task.FromResult(PrintDataResult.Failed("打印模板不存在!"));