/// <summary>
        /// 删除
        /// </summary>
        /// <param name="strCompanyCD"></param>
        /// <param name="IDS">id列表</param>
        /// <param name="strMsg"></param>
        /// <param name="strFieldText"></param>
        /// <returns></returns>
        public static bool Delete(string strCompanyCD, string IDS, string BranchID, out string strMsg, out string strFieldText)
        {
            bool isSucc = false;//是否添加成功
            //定义变量
            string remark = string.Empty;

            strFieldText = "";
            strMsg       = "";
            try
            {
                isSucc = TableExtFieldsDBHelper.Delete(strCompanyCD, IDS, BranchID, out strMsg, out strFieldText);
                //设置操作成功标识
                remark = ConstUtil.LOG_PROCESS_SUCCESS;
            }
            catch (Exception ex)
            {
                //输出日志
                SellLogCommon.WriteSystemLog(ex, LogInfo.LogType.SYSTEM, LogInfo.SystemLogKind.SYSTEM_ERROR, "2081306");
                //设置操作成功标识
                remark = ConstUtil.LOG_PROCESS_FAILED;
                strMsg = "删除失败,请联系系统管理员!";
            }
            string[] orderNoS = null;
            orderNoS = IDS.Split(',');

            for (int i = 0; i < orderNoS.Length; i++)
            {
                SellLogCommon.InsertLog(orderNoS[i], "2081306", "officedba.TableExtFields", remark, "删除");
            }


            return(isSucc);
        }
        public static bool Update(TableExtFields tableExtFields, out string strMsg, string CustomValues)
        {
            bool   isSuc  = false;
            string remark = string.Empty;

            strMsg = "";
            try
            {
                isSuc = TableExtFieldsDBHelper.Update(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);
        }