SVN r271
SVN-Revision: r271
This commit is contained in:
@@ -867,6 +867,10 @@ namespace Lskj.Business.Impl
|
|||||||
{
|
{
|
||||||
field += ",LookUpFieldsWidth";
|
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,
|
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}
|
defaultValue,sourceSql as lookupSql,keyField as lookupKeyField,resultField as lookupResult,edited,checkCond,InputHintText{0}
|
||||||
from p_systembillsourcecond
|
from p_systembillsourcecond
|
||||||
@@ -1217,30 +1221,4 @@ namespace Lskj.Business.Impl
|
|||||||
/// <param name="operatorId">用户Id</param>
|
/// <param name="operatorId">用户Id</param>
|
||||||
/// <param name="comfirmAdvice">确认意见.</param>
|
/// <param name="comfirmAdvice">确认意见.</param>
|
||||||
/// <returns>System.Int32.</returns>
|
/// <returns>System.Int32.</returns>
|
||||||
public static bool isParamComplete(string storedName, string[] Param)
|
public static bool isParamComplete(string storedName, st
|
||||||
{
|
|
||||||
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);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user