Browse Source

更新版本

FoShanPG
Administrator 2 years ago
parent
commit
e1560946d3
  1. 8
      src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/UnInterfaceDapperRepository.cs
  2. 2
      src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/FisOutputService.cs

8
src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/UnInterfaceDapperRepository.cs

@ -25,17 +25,17 @@ namespace Win.Sfs.SettleAccount
[UnitOfWork(false)]
public virtual bool Execute(string server,string billnum, string date)
public virtual bool Execute(string billnum, string date)
{
string sqlString =
"DECLARE\t@return_value int\n" +
"EXEC\t@return_value = [dbo].[p_wms_output_jit]\n" +
"@billnum = N'{1}',\n" +
"@billnum = N'{0}',\n" +
"@type = 0,\n" +
"@date = N'{2}'\n" +
"@date = N'{1}'\n" +
"SELECT\t'Return Value' = @return_value\n";
string _sql = string.Format(sqlString,server, billnum, date);
string _sql = string.Format(sqlString, billnum, date);
var _query = DbConnection.ExecuteScalar(_sql, null, null, 1200, System.Data.CommandType.Text);
return true;

2
src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/FisOutputService.cs

@ -45,7 +45,7 @@ namespace SettleAccount.Job.Services
var _ls= _dapperRepository.Execute("192.168.0.63",billnum,date);
var _ls= _dapperRepository.Execute(billnum,date);
return id.ToString();
}

Loading…
Cancel
Save