SVN r431
SVN-Revision: r431
This commit is contained in:
@@ -275,10 +275,21 @@ namespace Lskj.Control
|
||||
model.FieldType == ControlType.LabAutoCompleteValueParam ||
|
||||
model.FieldType == ControlType.LabMultiSelectValue ||
|
||||
model.FieldType == ControlType.LabMultiSelectValueParam ||
|
||||
model.FieldType == ControlType.LabAutoGridValue
|
||||
model.FieldType == ControlType.LabAutoGridValue||
|
||||
model.FieldType == ControlType.LabSelectReturnId
|
||||
)
|
||||
{
|
||||
string sqlValue = model.SqlSource;
|
||||
if (model.FieldType == ControlType.LabSelectReturnId)
|
||||
{
|
||||
if (model.IsRadio && !string.IsNullOrWhiteSpace(model.addModuleld))
|
||||
{
|
||||
//单选模式数据源为模块sql
|
||||
DataRow modelRow = Business.Impl.MainImpl.GetSystemdllTab(model.addModuleld);
|
||||
sqlValue = modelRow["SQL"] + "";
|
||||
}
|
||||
}
|
||||
|
||||
if (sqlValue.Contains(" #"))
|
||||
{
|
||||
//sqlValue = sqlValue.Replace("#", "");
|
||||
@@ -457,7 +468,9 @@ namespace Lskj.Control
|
||||
model.FieldType == ControlType.LabAutoCompleteValueParam ||
|
||||
model.FieldType == ControlType.LabMultiSelectValue ||
|
||||
model.FieldType == ControlType.LabMultiSelectValueParam ||
|
||||
model.FieldType == ControlType.LabAutoGridValue))
|
||||
model.FieldType == ControlType.LabAutoGridValue||
|
||||
model.FieldType == ControlType.LabSelectReturnId
|
||||
))
|
||||
{
|
||||
string fieldValue = GetValueByImportText(dr, gc.FieldName, dr[gc.FieldName] + "");
|
||||
if (!string.IsNullOrEmpty(fieldValue))
|
||||
|
||||
Reference in New Issue
Block a user