diff --git a/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json b/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json index 5f69ce88..99aab2e7 100644 --- a/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json +++ b/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json @@ -10,8 +10,8 @@ //"Default": "Server=127.0.0.1;Database=ABP;user id=sa;Password=1", //"SettleAccountService": "Server=127.0.0.1;Database=SettleAccountService;user id=sa;Password=1;" "Default": "Server=127.0.0.1;Database=ABP;User ID=sa;Password=1;", - "SettleAccountService": "Server=127.0.0.1;Database=SettleAccountService;user id=sa;password=1;", - "Wms": "Server=127.0.0.1;Database=CPAT_WMS;user id=sa;password=1;" + "SettleAccountService": "Server=192.168.0.67;Database=SettleAccountService;user id=sa;password=Microsoft2008;", + "Wms": "Server=192.168.0.67;Database=CPAT_WMS;user id=sa;password=Microsoft2008;" }, "Logging": { diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs index fdf8d9eb..e8c553a9 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs @@ -54,7 +54,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts /// wms出库 /// - [Authorize(SettleAccountPermissions.WMSJIT.Default)] + //[Authorize(SettleAccountPermissions.WMSJIT.Default)] [Route("api/settleaccount/wmsjitoutput")] public class WMSJitAppService : @@ -557,6 +557,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts /// [HttpPost] [Route("WmsJitOutPut-Cancel")] + [UnitOfWork(false)] [Authorize(SettleAccountPermissions.WMSJIT.Delete)] public async Task WmsJitOutPutCancel(WmsJitRequestDto input) { @@ -572,7 +573,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts string str= string.Join(",",_ls.ToArray()); - var sql = "DECLARE @return_value int\n" + + var sql = "DECLARE @return_value int\n" + "EXEC @return_value = [dbo].[p_wms_output_cancel]\n" + " @Guids ='{0}', \n" + " @billnum = N'{1}',\n" +