Esempio n. 1
0
 private void InsertOperationLog(string taskid, int operStatus, int taskStatus, string remark)
 {
     Entities.OrderCRMStopCustTaskOperationLogInfo model_Log = new Entities.OrderCRMStopCustTaskOperationLogInfo();
     model_Log.TaskID          = taskid;
     model_Log.OperationStatus = operStatus;
     model_Log.TaskStatus      = taskStatus;
     model_Log.Remark          = remark;
     model_Log.CreateTime      = DateTime.Now;
     model_Log.CreateUserID    = BLL.Util.GetLoginUserID();
     BLL.OrderCRMStopCustTaskOperationLog.Instance.Insert(model_Log);
 }
Esempio n. 2
0
        private void InsertOperationLog(int type, int taskStatus, string taskID, string reason)
        {
            //记录任务生成日志
            Entities.OrderCRMStopCustTaskOperationLogInfo model_taskLog = new Entities.OrderCRMStopCustTaskOperationLogInfo();
            model_taskLog.TaskID          = taskID;
            model_taskLog.OperationStatus = (int)Entities.StopCustTaskOperStatus.Finished;
            model_taskLog.TaskStatus      = taskStatus;
            model_taskLog.CreateTime      = DateTime.Now;
            model_taskLog.CreateUserID    = BLL.Util.GetLoginUserID();
            string desc = type == 1 ? "审核意见:" : "驳回理由:";

            model_taskLog.Remark = desc + reason;
            BLL.OrderCRMStopCustTaskOperationLog.Instance.Insert(model_taskLog);
        }