Esempio n. 1
0
        /// <summary>
        /// 修改回款计划
        /// </summary>
        /// <param name="sellGatheringModel"></param>
        /// <returns></returns>
        public static bool UpdateSellGathering(Hashtable ht, SellGatheringModel sellGatheringModel, out string strMsg)
        {
            bool   isSuc  = false;
            string remark = string.Empty;

            strMsg = "";
            try
            {
                isSuc = SellGatheringDBHelper.UpdateSellGathering(ht, sellGatheringModel, out strMsg);
                //设置操作成功标识
                remark = ConstUtil.LOG_PROCESS_SUCCESS;
            }
            catch (Exception ex)
            {
                //输出日志
                SellLogCommon.WriteSystemLog(ex, LogInfo.LogType.SYSTEM, LogInfo.SystemLogKind.SYSTEM_ERROR, ConstUtil.MODULE_ID_GATHERING_ADD);
                //设置操作成功标识
                remark = ConstUtil.LOG_PROCESS_FAILED;
            }
            SellLogCommon.InsertLog(sellGatheringModel.GatheringNo, ConstUtil.MODULE_ID_GATHERING_ADD, ConstUtil.CODING_RULE_TABLE_GATHERING, remark, ConstUtil.LOG_PROCESS_UPDATE);

            return(isSuc);
        }