Browse Source

更新版本

FoShanPG
Administrator 2 years ago
parent
commit
6907e9f7dd
  1. 4
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json
  2. 5
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs

4
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", //"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;" //"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;", "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;", "SettleAccountService": "Server=192.168.0.67;Database=SettleAccountService;user id=sa;password=Microsoft2008;",
"Wms": "Server=127.0.0.1;Database=CPAT_WMS;user id=sa;password=1;" "Wms": "Server=192.168.0.67;Database=CPAT_WMS;user id=sa;password=Microsoft2008;"
}, },
"Logging": { "Logging": {

5
src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs

@ -54,7 +54,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
/// wms出库 /// wms出库
/// </summary> /// </summary>
[Authorize(SettleAccountPermissions.WMSJIT.Default)] //[Authorize(SettleAccountPermissions.WMSJIT.Default)]
[Route("api/settleaccount/wmsjitoutput")] [Route("api/settleaccount/wmsjitoutput")]
public class WMSJitAppService : public class WMSJitAppService :
@ -557,6 +557,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
/// <returns></returns> /// <returns></returns>
[HttpPost] [HttpPost]
[Route("WmsJitOutPut-Cancel")] [Route("WmsJitOutPut-Cancel")]
[UnitOfWork(false)]
[Authorize(SettleAccountPermissions.WMSJIT.Delete)] [Authorize(SettleAccountPermissions.WMSJIT.Delete)]
public async Task<bool> WmsJitOutPutCancel(WmsJitRequestDto input) public async Task<bool> WmsJitOutPutCancel(WmsJitRequestDto input)
{ {
@ -572,7 +573,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
string str= string.Join(",",_ls.ToArray()); 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" + "EXEC @return_value = [dbo].[p_wms_output_cancel]\n" +
" @Guids ='{0}', \n" + " @Guids ='{0}', \n" +
" @billnum = N'{1}',\n" + " @billnum = N'{1}',\n" +

Loading…
Cancel
Save