feat: 更新控件及相关业务功能
This commit is contained in:
@@ -3665,6 +3665,15 @@ namespace Lskj.PubAccraditation
|
||||
string newfieldValue = fieldValue;
|
||||
if (fieldValue == "****") continue;
|
||||
|
||||
if (SystemInfo.Instance.IsSpecialAuditSave &&
|
||||
this._drBillInfoMsg != null &&
|
||||
this._drBillInfoMsg.Table != null &&
|
||||
this._drBillInfoMsg.Table.Columns.Contains(model.FieldName) &&
|
||||
AuditChangeLog.IsSameValue(this._drBillInfoMsg[model.FieldName] + "", fieldValue))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if ((model.FieldType == ControlType.LabDate ||
|
||||
model.FieldType == ControlType.LabDate ||
|
||||
model.FieldType == ControlType.LabDate ||
|
||||
@@ -3683,7 +3692,12 @@ namespace Lskj.PubAccraditation
|
||||
}
|
||||
}
|
||||
SaveErrorMessage = errorMessage;
|
||||
return string.Format("update {0} set {1} where {2}='{3}'", this.BillModelObj.MasterTable, updateBuilder.ToString().TrimEnd(','), BillModelObj.PrimaryKey, this.SysModel.BillDocumentId);
|
||||
string updateFields = updateBuilder.ToString().TrimEnd(',');
|
||||
if (string.IsNullOrEmpty(updateFields))
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
return string.Format("update {0} set {1} where {2}='{3}'", this.BillModelObj.MasterTable, updateFields, BillModelObj.PrimaryKey, this.SysModel.BillDocumentId);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user