SVN-Revision: r271
This commit is contained in:
cyf
2025-02-14 09:58:20 +00:00
parent 2a3c098028
commit 78f22bbade
+5 -27
View File
@@ -867,6 +867,10 @@ namespace Lskj.Business.Impl
{
field += ",LookUpFieldsWidth";
}
if (HasExistsColumn("p_systembillsourcecond", "ScanAfterEmpty"))
{
field += ",ScanAfterEmpty";
}
string sqlValue = string.Format(@"select id,controlLeft,controlTop,controlWidth,controlHeight,controlType as fieldTypeId,controlName as fieldName,controlLabel as userName,'' DataFormat,
defaultValue,sourceSql as lookupSql,keyField as lookupKeyField,resultField as lookupResult,edited,checkCond,InputHintText{0}
from p_systembillsourcecond
@@ -1217,30 +1221,4 @@ namespace Lskj.Business.Impl
/// <param name="operatorId">用户Id</param>
/// <param name="comfirmAdvice">确认意见.</param>
/// <returns>System.Int32.</returns>
public static bool isParamComplete(string storedName, string[] Param)
{
string whereConfig = string.Empty;
for (int i = 0; i < Param.Length; i++)
{
whereConfig += string.Format(" LOWER(PARAMETER_NAME)=LOWER('{0}') or", Param[i]);
}
string sql = string.Format("SELECT PARAMETER_NAME AS [参数名称] FROM INFORMATION_SCHEMA.PARAMETERS WHERE SPECIFIC_NAME='{1}' and ({0})", whereConfig.Substring(0, whereConfig.Length - 2), storedName);
return SqlHelper.ExecuteDataTable(sql).Rows.Count == Param.Length;
}
/// <summary>
/// 创建只读列
/// </summary>
/// <param name="key"></param>
/// <returns></returns>
public static DataTable getDetail_Details(string key)
{
string sql = string.Format("select * from p_systembillsourcedetail where sourceid=0 and sourcekey='{0}' and mxflag=1 and isnull(isVisible,0)=0", key);
return GetDataTableResult(sql);
}
}
}
public static bool isParamComplete(string storedName, st