SVN-Revision: r999
This commit is contained in:
cyf
2025-09-28 06:46:58 +00:00
parent 3c3354811b
commit d6739afcd1
4 changed files with 417 additions and 22 deletions
+7 -20
View File
@@ -163,6 +163,7 @@ namespace Lskj.Business.Impl
return msg.Value + "";
}
/// <summary>
/// 说明:返回审批结果(Return 值用于逻辑判断;@msg 用于提示展示)
/// 创建人:龚宇超
@@ -294,6 +295,11 @@ namespace Lskj.Business.Impl
? "0"
: Convert.ToInt32(pReturn.Value).ToString();
if (retCode.Equals("-1")&& ERPInfo.Instance.UserName.Equals("管理员"))
{
SqlStoredProcedurepPrompt.GenerateAuditExecutionScript(sysModel, stepCode, billDocumentId, storedName, accractFlag, remindSelect, remarkText, remindOpers, confirmOpers, ret, returnd, selectConfirmFlag, IsStepOver);
}
return retCode;
}
@@ -1132,23 +1138,4 @@ namespace Lskj.Business.Impl
/// <para>创建人:</para>
/// <para>创建日期:2023-05-12</para>
/// <para>修改人:</para>
/// <para>修改日期:</para>
/// <para>修改备注:</para>
/// <para>版本:1.0</para>
/// </summary>
/// <param name="typeCode">模块编号.</param>
/// <returns>DataRow.</returns>
public static DataRow GetAgencyAuthority(string typeCode)
{
DataTable dtTable = new DataTable();
if (SqlHelper.ExecuteDataTable("select object_id('p_systemPrivilegeAgentTab')").Rows.Count > 0 && int.Parse(SqlHelper.ExecuteScalar("select count(*) from sysobjects where id = object_id('p_systemPrivilegeAgentTab')") + "") > 0)
{
string sqlValue = string.Format("select sourceuser from p_systemPrivilegeAgentTab where modid='{0}' and targetuser='{1}' and starttime<=getdate() and endtime>=getdate() and ban=1", typeCode, ERPInfo.Instance.UserName);
dtTable = SqlHelper.ExecuteDataTable(sqlValue);
}
return dtTable.Rows.Count > 0 ? dtTable.Rows[0] : null;
}
}
}
/// <para