1
This commit is contained in:
@@ -234,7 +234,7 @@ namespace NX.ERP.U8.AP
|
||||
if (user != null)
|
||||
{
|
||||
// headXml.setAttribute("cCheckMan", user.UserName);
|
||||
headXml.setAttribute("cOperator", user.UserName);
|
||||
headXml.setAttribute("cOperator", user.Name);
|
||||
} else
|
||||
{
|
||||
// headXml.setAttribute("cCheckMan", ApVouch.UserCode);
|
||||
@@ -251,7 +251,7 @@ namespace NX.ERP.U8.AP
|
||||
headXml.setAttribute("cPerson", supplier.VenPPerson);
|
||||
if (per != null)
|
||||
{
|
||||
headXml.setAttribute("cPersonName", per.UserName);
|
||||
headXml.setAttribute("cPersonName", per.Name);
|
||||
}
|
||||
|
||||
// headXml.setAttribute("cLink", "");
|
||||
@@ -269,7 +269,7 @@ namespace NX.ERP.U8.AP
|
||||
bodyXml.setAttribute("cPerson", supplier.VenPPerson);
|
||||
if (per != null)
|
||||
{
|
||||
headXml.setAttribute("cPersonName", per.UserName);
|
||||
headXml.setAttribute("cPersonName", per.Name);
|
||||
}
|
||||
bodyXml.setAttribute("cexch_name", "人民币");
|
||||
bodyXml.setAttribute("iAmount", ApVouch.Amount);
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace NX.ERP.U8.User
|
||||
{
|
||||
using (var conn = U8LoginContext.Instance.Connection)
|
||||
{
|
||||
var sql = @" select cUser_Id as UserCode ,cUser_Name as UserName,cPassword as mdPassword from UFSystem..UA_User ";
|
||||
var sql = @" select cUser_Id as Code ,cUser_Name as Name,cPassword as mdPassword from UFSystem..UA_User ";
|
||||
if (!string.IsNullOrEmpty(strWhere))
|
||||
{
|
||||
sql += $" where {strWhere}";
|
||||
|
||||
@@ -345,7 +345,7 @@ namespace NX.ERP.U8
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!UiLogin.login("DP", this._userId, this._password, this._server, DateTime.Today.ToString("yyyy-MM-dd"), this._accid, Serial))
|
||||
if (!UiLogin.login("DP", this._userId, this._password, this._server, DateTime.Today.AddDays(-20).ToString("yyyy-MM-dd"), this._accid, Serial))
|
||||
{
|
||||
throw new Exception(UiLogin.ErrDescript);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user