public static bool Add(TableExtFields tableExtFields, out string strMsg) { bool isSuc = false; string remark = string.Empty; strMsg = ""; try { isSuc = TableExtFieldsDBHelper.Add(tableExtFields, out strMsg); //设置操作成功标识 remark = "成功"; } catch (Exception ex) { //输出日志 WriteSystemLog(ex, LogInfo.LogType.SYSTEM, LogInfo.SystemLogKind.SYSTEM_ERROR, ConstUtil.MODULEID_CUSTINFO_ExtAttribute); //设置操作成功标识 remark = ConstUtil.LOG_PROCESS_FAILED; strMsg = "保存失败,请联系系统管理员!"; } InsertLog(tableExtFields.EFDesc, ConstUtil.MODULEID_CUSTINFO_ExtAttribute, "officedba.TableExtFields", remark, "添加"); return(isSuc); }
public static bool Add(TableExtFields tableExtFields, out string strMsg, string CustomValues) { bool isSuc = false; string remark = string.Empty; strMsg = ""; try { isSuc = TableExtFieldsDBHelper.Add(tableExtFields, out strMsg, CustomValues); //设置操作成功标识 remark = "成功"; } catch (Exception ex) { //输出日志 SellLogCommon.WriteSystemLog(ex, LogInfo.LogType.SYSTEM, LogInfo.SystemLogKind.SYSTEM_ERROR, "2081306"); //设置操作成功标识 remark = ConstUtil.LOG_PROCESS_FAILED; strMsg = "保存失败,请联系系统管理员!"; } //SellLogCommon.InsertLog(tableExtFields.EFDesc, "2081306", "officedba.TableExtFields", remark, "添加"); return(isSuc); }