Exemplo n.º 1
0
        static internal void Del(t_Operation mOperation, string OperatorID)
        {
            if (mOperation == null)
                return;

            mOperation.LastUpdate = DateTime.Now;
            mOperation.IsEnable = false;
            bOperation.Update(mOperation);

            string sName = Func.tSystemUser.GetName(OperatorID);
            Func.tLog.AddLog(string.Format("『0』删除了一笔订单", sName, mOperation.KeyID), eLogType.信息);
        }
Exemplo n.º 2
0
        internal static void Add(t_Operation mOperation, string OperatorID)
        {
            if (mOperation==null)
                return;

            mOperation.CreateUser = OperatorID;
            mOperation.LastUpdate = DateTime.Now;
            mOperation.IsEnable = true;
            mOperation.KeyID = "OP:" + DateTime.Now.Ticks.ToString();

            bOperation.Add(mOperation);
            string sName = Func.tSystemUser.GetName(OperatorID);
            Func.tLog.AddLog(string.Format("『0』创建了一笔订单『1』", sName, mOperation.KeyID), eLogType.信息);

        }
 public void DelOperation(t_Operation mOperation, string OperatorID)
 {
     Func.tOperation.Del(mOperation, OperatorID);
 }
 public void SetOperation(t_Operation mOperation, string OperatorID)
 {
     Func.tOperation.Edit(mOperation, OperatorID);
 }
 public void AddOperation(t_Operation mOperation, string OperatorID)
 {
     Func.tOperation.Add(mOperation, OperatorID);
 }