void _VM_Get_VMRecordCompleted(object sender, Get_VMRecordCompletedEventArgs e)
        {
            if (e.Result != null)
            {
                conserVation = e.Result;

                Utility.SetComboboxSelectByText(cmbRepairName, conserVation.CONTENT, -1);
                Utility.SetComboboxSelectByText(cmbRepairName, conserVation.MAINTENANCETYPE, -1);
                txtContent.Text = conserVation.CONTENT;
                txtReMark.Text = conserVation.REMARK == null ? "" : conserVation.REMARK;

                txtMAINTENANCEAPPID.Text = conserVation.T_OA_MAINTENANCEAPP.MAINTENANCEAPPID;
                txtVehicleVIN.Text = conserVation.T_OA_MAINTENANCEAPP.T_OA_VEHICLE.VIN;
                dateREPAIRDATE.Text = Convert.ToDateTime(conserVation.REPAIRDATE).ToShortDateString();
                dateRETRIEVEDATE.Text = Convert.ToDateTime(conserVation.RETRIEVEDATE).ToShortDateString();
                txtREPAIRCOMPANY.Text = conserVation.REPAIRCOMPANY;
                txtTel.Text = conserVation.TEL;
                txtContent.Text = conserVation.CONTENT;

                ckbHasFee.IsChecked = conserVation.ISCHARGE == "1" ? true : false;
                txtFee.Text = conserVation.CHARGEMONEY.ToString();

                if (actions == FormTypes.Resubmit)//重新提交
                {
                    conserVation.CHECKSTATE = (Convert.ToInt32(CheckStates.UnSubmit)).ToString();
                }
                RefreshUI(RefreshedTypes.AuditInfo);
                RefreshUI(RefreshedTypes.All);

                InitFBControl();
            }
        }
Exemple #2
0
        //删除
        private void btnDelete_Click(object sender, RoutedEventArgs e)
        {
            ObservableCollection <T_OA_MAINTENANCERECORD> selectInfoList = GetSelectList();

            if (selectInfoList != null && selectInfoList.Count > 0)
            {
                for (int i = 0; i < dg.SelectedItems.Count; i++)
                {
                    maintenancerecord = selectInfoList[i];
                    if (maintenancerecord.CHECKSTATE == ((int)CheckStates.UnSubmit).ToString())
                    {
                        string        Result = "";
                        ComfirmWindow com    = new ComfirmWindow();
                        com.OnSelectionBoxClosed += (obj, result) =>
                        {
                            try { maWS.Del_VMRecordAsync(selectInfoList); }
                            catch { }
                        };
                        com.SelectionBox(Utility.GetResourceStr("DELETECONFIRM"), Utility.GetResourceStr("DELETEALTER"), ComfirmWindow.titlename, Result);
                    }
                    else
                    {
                        Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("NOTONLYDIDNOSUBMITANDREVIEWTHEDATACANBEDELETEDBY"));
                        return;
                    }
                }
            }
            else
            {
                ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("CONFIRMINFO"), Utility.GetResourceStr("SELECTERROR", "DELETE"), Utility.GetResourceStr("CONFIRMBUTTON"));
            }
        }
Exemple #3
0
        //修改
        private void btnEdit_Click(object sender, RoutedEventArgs e)
        {
            if (dg.SelectedItems == null)
            {
                Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("SELECTDATAALERT"));
                return;
            }

            if (dg.SelectedItems.Count == 0)
            {
                Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("SELECTDATAALERT"));
                return;
            }

            T_OA_MAINTENANCERECORD ent = dg.SelectedItems[0] as T_OA_MAINTENANCERECORD;

            if (ent.CHECKSTATE == ((int)CheckStates.UnSubmit).ToString() || ent.CHECKSTATE == ((int)CheckStates.UnApproved).ToString())
            {
                MaintenanceRecordForm_upd form    = new MaintenanceRecordForm_upd(FormTypes.Edit, ent.MAINTENANCERECORDID);
                EntityBrowser             browser = new EntityBrowser(form);
                browser.FormType         = FormTypes.Edit;
                browser.MinWidth         = 750;
                browser.MinHeight        = 550;
                browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
                browser.Show <string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
            }
            else
            {
                Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("NOTONLYCANMODIFYTHEDATASUBMITTED"));
                return;
            }
        }
        void Get_VMRecordCompleted(object sender, Get_VMRecordCompletedEventArgs e)
        {
            if (e.Result != null)
            {
                conserVation = e.Result;

                Utility.SetComboboxSelectByText(cmbRepairName, conserVation.CONTENT, -1);
                SetForms();
                Utility.SetComboboxSelectByText(cmbRepairName, conserVation.MAINTENANCETYPE, -1);

                txtContent.Text          = conserVation.CONTENT;
                txtReMark.Text           = conserVation.REMARK == null ? "" : conserVation.REMARK;
                txtMAINTENANCEAPPID.Text = conserVation.T_OA_MAINTENANCEAPP.MAINTENANCEAPPID;
                txtVehicleVIN.Text       = conserVation.T_OA_MAINTENANCEAPP.T_OA_VEHICLE.VIN;
                dateREPAIRDATE.Text      = Convert.ToDateTime(conserVation.REPAIRDATE).ToShortDateString();
                dateRETRIEVEDATE.Text    = Convert.ToDateTime(conserVation.RETRIEVEDATE).ToShortDateString();
                txtREPAIRCOMPANY.Text    = conserVation.REPAIRCOMPANY;
                txtTel.Text     = conserVation.TEL;
                txtContent.Text = conserVation.CONTENT;

                ckbHasFee.IsChecked = conserVation.ISCHARGE == "1" ? true : false;
                txtFee.Text         = conserVation.CHARGEMONEY.ToString();

                RefreshUI(RefreshedTypes.AuditInfo);
                RefreshUI(RefreshedTypes.All);
                InitFBControl();
                //viewApproval.XmlObject = DataObjectToXml<T_OA_MAINTENANCERECORD>.ObjListToXml(conserVation, "OA");
            }
        }
Exemple #5
0
        //审核
        void btnAudit_Click(object sender, RoutedEventArgs e)
        {
            if (dg.SelectedItems == null)
            {
                ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("CONFIRMINFO"), Utility.GetResourceStr("SELECTERROR", "AUDIT"), Utility.GetResourceStr("CONFIRMBUTTON"));
                return;
            }

            if (dg.SelectedItems.Count == 0)
            {
                ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("CONFIRMINFO"), Utility.GetResourceStr("SELECTERROR", "AUDIT"), Utility.GetResourceStr("CONFIRMBUTTON"));
                return;
            }

            T_OA_MAINTENANCERECORD ent = dg.SelectedItems[0] as T_OA_MAINTENANCERECORD;

            if (ent.CHECKSTATE == ((int)CheckStates.Approving).ToString() ||
                ent.CHECKSTATE == ((int)CheckStates.WaittingApproval).ToString() ||
                ent.CHECKSTATE == ((int)CheckStates.UnSubmit).ToString())
            {
                MaintenanceRecordForm_aud form    = new MaintenanceRecordForm_aud(FormTypes.Audit, ent.MAINTENANCERECORDID);
                EntityBrowser             browser = new EntityBrowser(form);
                browser.FormType         = FormTypes.Audit;
                browser.MinWidth         = 750;
                browser.MinHeight        = 550;
                browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
                browser.Show <string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { }, true);
            }
            else
            {
                Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("SELECTRECORDNOTOPERATEPLEASEAGAIN"));
                return;
            }
        }
Exemple #6
0
        void _VM_Get_VMRecordCompleted(object sender, Get_VMRecordCompletedEventArgs e)
        {
            if (e.Result != null)
            {
                conserVation = e.Result;

                Utility.SetComboboxSelectByText(cmbRepairName, conserVation.CONTENT, -1);
                Utility.SetComboboxSelectByText(cmbRepairName, conserVation.MAINTENANCETYPE, -1);
                txtContent.Text = conserVation.CONTENT;
                txtReMark.Text  = conserVation.REMARK == null ? "" : conserVation.REMARK;

                txtMAINTENANCEAPPID.Text = conserVation.T_OA_MAINTENANCEAPP.MAINTENANCEAPPID;
                txtVehicleVIN.Text       = conserVation.T_OA_MAINTENANCEAPP.T_OA_VEHICLE.VIN;
                dateREPAIRDATE.Text      = Convert.ToDateTime(conserVation.REPAIRDATE).ToShortDateString();
                dateRETRIEVEDATE.Text    = Convert.ToDateTime(conserVation.RETRIEVEDATE).ToShortDateString();
                txtREPAIRCOMPANY.Text    = conserVation.REPAIRCOMPANY;
                txtTel.Text     = conserVation.TEL;
                txtContent.Text = conserVation.CONTENT;

                ckbHasFee.IsChecked = conserVation.ISCHARGE == "1" ? true : false;
                txtFee.Text         = conserVation.CHARGEMONEY.ToString();

                if (actions == FormTypes.Resubmit)//重新提交
                {
                    conserVation.CHECKSTATE = (Convert.ToInt32(CheckStates.UnSubmit)).ToString();
                }
                RefreshUI(RefreshedTypes.AuditInfo);
                RefreshUI(RefreshedTypes.All);

                InitFBControl();
            }
        }
 public MaintenanceRecordForm_add(FormTypes action)
 {
     InitializeComponent();
     this.actions = action;
     _VM.Add_VMRecordCompleted += new EventHandler<Add_VMRecordCompletedEventArgs>(Add_VMRecordCompleted);
     _VM.Upd_VMRecordCompleted += new EventHandler<Upd_VMRecordCompletedEventArgs>(Upd_VMRecordCompleted);
     fbCtr.SaveCompleted += new EventHandler<SMT.SaaS.FrameworkUI.FBControls.ChargeApplyControl.SaveCompletedArgs>(fbCtr_SaveCompleted);
     this.Loaded += new RoutedEventHandler(MaintenanceRecordForm_add_Loaded);
     if (actions == FormTypes.New)
     {
         conserVation = new T_OA_MAINTENANCERECORD();
         conserVation.CHECKSTATE = ((int)CheckStates.UnSubmit).ToString();
         conserVation.MAINTENANCERECORDID = System.Guid.NewGuid().ToString();
     }
 }
 public MaintenanceRecordForm_add(FormTypes action)
 {
     InitializeComponent();
     this.actions = action;
     _VM.Add_VMRecordCompleted += new EventHandler <Add_VMRecordCompletedEventArgs>(Add_VMRecordCompleted);
     _VM.Upd_VMRecordCompleted += new EventHandler <Upd_VMRecordCompletedEventArgs>(Upd_VMRecordCompleted);
     fbCtr.SaveCompleted       += new EventHandler <SMT.SaaS.FrameworkUI.FBControls.ChargeApplyControl.SaveCompletedArgs>(fbCtr_SaveCompleted);
     this.Loaded += new RoutedEventHandler(MaintenanceRecordForm_add_Loaded);
     if (actions == FormTypes.New)
     {
         conserVation                     = new T_OA_MAINTENANCERECORD();
         conserVation.CHECKSTATE          = ((int)CheckStates.UnSubmit).ToString();
         conserVation.MAINTENANCERECORDID = System.Guid.NewGuid().ToString();
     }
 }
Exemple #9
0
        public int Add_VMRecord(T_OA_MAINTENANCERECORD info)
        {
            int n = 0;

            try
            {
                info.T_OA_MAINTENANCEAPP = base.GetObjectByEntityKey(info.T_OA_MAINTENANCEAPP.EntityKey) as T_OA_MAINTENANCEAPP;
                base.AddToContext(info);
                n = SaveContextChanges();
            }
            catch (Exception ex)
            {
                throw (ex);
            }
            return(n);
        }
Exemple #10
0
        public int Upd_VMRecord(T_OA_MAINTENANCERECORD maintenanceAppInfo)
        {
            int n = 0;

            try
            {
                T_OA_MAINTENANCERECORD tmpobj = base.GetObjectByEntityKey(maintenanceAppInfo.EntityKey) as T_OA_MAINTENANCERECORD;
                tmpobj.T_OA_MAINTENANCEAPP = base.GetObjectByEntityKey(maintenanceAppInfo.T_OA_MAINTENANCEAPP.EntityKey) as T_OA_MAINTENANCEAPP;
                base.UpdateFromContext(maintenanceAppInfo);
                n = SaveContextChanges();
            }
            catch (Exception ex)
            {
                throw (ex);
            }
            return(n);
        }
Exemple #11
0
        void btnReSubmit_Click(object sender, RoutedEventArgs e)
        {
            ObservableCollection<T_OA_MAINTENANCERECORD> selectInfoList = GetSelectList();
            if (selectInfoList != null && selectInfoList.Count > 0)
            {
                maintenancerecord = selectInfoList.FirstOrDefault();
                MaintenanceRecordForm_upd form = new MaintenanceRecordForm_upd(FormTypes.Resubmit, maintenancerecord.MAINTENANCERECORDID);
                form.ConserVation = selectInfoList[0];
                EntityBrowser browser = new EntityBrowser(form);
                browser.FormType = FormTypes.Resubmit;
                browser.MinWidth = 750;
                browser.MinHeight = 550;

                browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
                browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
            }
            else
                ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("CONFIRMINFO"), Utility.GetResourceStr("SELECTERROR", "ReSubmit"), Utility.GetResourceStr("CONFIRMBUTTON"));
        }
Exemple #12
0
        void BtnView_Click(object sender, RoutedEventArgs e)
        {
            ObservableCollection <T_OA_MAINTENANCERECORD> selectInfoList = GetSelectList();

            if (selectInfoList != null && selectInfoList.Count > 0)
            {
                maintenancerecord = selectInfoList.FirstOrDefault();
                MaintenanceRecordForm_aud form    = new MaintenanceRecordForm_aud(FormTypes.Browse, maintenancerecord.MAINTENANCERECORDID);
                EntityBrowser             browser = new EntityBrowser(form);
                browser.FormType  = FormTypes.Browse;
                browser.MinWidth  = 750;
                browser.MinHeight = 550;

                browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
                browser.Show <string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { }, true);
            }
            else
            {
                ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("CONFIRMINFO"), Utility.GetResourceStr("SELECTERROR", "VIEW"), Utility.GetResourceStr("CONFIRMBUTTON"));
            }
        }
Exemple #13
0
        private void UpdateInfo(T_OA_MAINTENANCERECORD info)
        {
            T_SYS_DICTIONARY StrDepCity = cmbRepairName.SelectedItem as T_SYS_DICTIONARY;

            info.T_OA_MAINTENANCEAPP = info.T_OA_MAINTENANCEAPP;
            info.MAINTENANCETYPE     = StrDepCity.DICTIONARYNAME.ToString();
            info.TEL     = txtTel.Text;
            info.CONTENT = txtContent.Text;
            info.REMARK  = txtReMark.Text;

            info.ISCHARGE    = ckbHasFee.IsChecked == true ? "1" : "0";
            info.CHARGEMONEY = ckbHasFee.IsChecked == true?Convert.ToDecimal(txtFee.Text) : 0;

            info.REPAIRDATE    = DateTime.Parse(dateREPAIRDATE.Text);
            info.RETRIEVEDATE  = DateTime.Parse(dateRETRIEVEDATE.Text);
            info.REPAIRCOMPANY = txtREPAIRCOMPANY.Text;
            info.TEL           = txtTel.Text;

            info.UPDATEDATE   = System.DateTime.Now;
            info.UPDATEUSERID = Common.CurrentLoginUserInfo.EmployeeID;

            _VM.Upd_VMRecordAsync(info);
        }
Exemple #14
0
 //删除
 private void btnDelete_Click(object sender, RoutedEventArgs e)
 {
     ObservableCollection<T_OA_MAINTENANCERECORD> selectInfoList = GetSelectList();
     if (selectInfoList != null && selectInfoList.Count > 0)
     {
         for (int i = 0; i < dg.SelectedItems.Count; i++)
         {
             maintenancerecord = selectInfoList[i];
             if (maintenancerecord.CHECKSTATE == ((int)CheckStates.UnSubmit).ToString())
             {
                 string Result = "";
                 ComfirmWindow com = new ComfirmWindow();
                 com.OnSelectionBoxClosed += (obj, result) =>
                 {
                     try { maWS.Del_VMRecordAsync(selectInfoList); }
                     catch { }
                 };
                 com.SelectionBox(Utility.GetResourceStr("DELETECONFIRM"), Utility.GetResourceStr("DELETEALTER"), ComfirmWindow.titlename, Result);
             }
             else
             {
                 Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("NOTONLYDIDNOSUBMITANDREVIEWTHEDATACANBEDELETEDBY"));
                 return;
             }
         }
     }
     else
         ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("CONFIRMINFO"), Utility.GetResourceStr("SELECTERROR", "DELETE"), Utility.GetResourceStr("CONFIRMBUTTON"));
 }
        void Get_VMRecordCompleted(object sender, Get_VMRecordCompletedEventArgs e)
        {
            if (e.Result != null)
            {
                conserVation = e.Result;

                Utility.SetComboboxSelectByText(cmbRepairName, conserVation.CONTENT, -1);
                SetForms();
                Utility.SetComboboxSelectByText(cmbRepairName, conserVation.MAINTENANCETYPE, -1);

                txtContent.Text = conserVation.CONTENT;
                txtReMark.Text = conserVation.REMARK == null ? "" : conserVation.REMARK;
                txtMAINTENANCEAPPID.Text = conserVation.T_OA_MAINTENANCEAPP.MAINTENANCEAPPID;
                txtVehicleVIN.Text = conserVation.T_OA_MAINTENANCEAPP.T_OA_VEHICLE.VIN;
                dateREPAIRDATE.Text = Convert.ToDateTime(conserVation.REPAIRDATE).ToShortDateString();
                dateRETRIEVEDATE.Text = Convert.ToDateTime(conserVation.RETRIEVEDATE).ToShortDateString();
                txtREPAIRCOMPANY.Text = conserVation.REPAIRCOMPANY;
                txtTel.Text = conserVation.TEL;
                txtContent.Text = conserVation.CONTENT;

                ckbHasFee.IsChecked = conserVation.ISCHARGE == "1" ? true : false;
                txtFee.Text = conserVation.CHARGEMONEY.ToString();

                RefreshUI(RefreshedTypes.AuditInfo);
                RefreshUI(RefreshedTypes.All);
                InitFBControl();
                //viewApproval.XmlObject = DataObjectToXml<T_OA_MAINTENANCERECORD>.ObjListToXml(conserVation, "OA");
            }
        }
        private void UpdateInfo(T_OA_MAINTENANCERECORD info)
        {
            T_SYS_DICTIONARY StrDepCity = cmbRepairName.SelectedItem as T_SYS_DICTIONARY;
            info.T_OA_MAINTENANCEAPP = info.T_OA_MAINTENANCEAPP;
            info.MAINTENANCETYPE = StrDepCity.DICTIONARYNAME.ToString();
            info.TEL = txtTel.Text;
            info.CONTENT = txtContent.Text;
            info.REMARK = txtReMark.Text;

            info.ISCHARGE = ckbHasFee.IsChecked == true ? "1" : "0";
            info.CHARGEMONEY = ckbHasFee.IsChecked == true ? Convert.ToDecimal(txtFee.Text) : 0;

            info.REPAIRDATE = DateTime.Parse(dateREPAIRDATE.Text);
            info.RETRIEVEDATE = DateTime.Parse(dateRETRIEVEDATE.Text);
            info.REPAIRCOMPANY = txtREPAIRCOMPANY.Text;
            info.TEL = txtTel.Text;

            info.UPDATEDATE = System.DateTime.Now;
            info.UPDATEUSERID = Common.CurrentLoginUserInfo.EmployeeID;

            _VM.Upd_VMRecordAsync(info);

        }
Exemple #17
0
 public int Upd_VMRecord(T_OA_MAINTENANCERECORD info)
 {
     MaintenanceAPPBll maBll = new MaintenanceAPPBll();
     return maBll.Upd_VMRecord(info);
 }
Exemple #18
0
        public int Upd_VMRecord(T_OA_MAINTENANCERECORD info)
        {
            MaintenanceAPPBll maBll = new MaintenanceAPPBll();

            return(maBll.Upd_VMRecord(info));
        }
Exemple #19
0
        /// <summary>
        /// 根据传回的XML,添加维修记录
        /// </summary>
        /// <param name="xele"></param>
        private static string MaintenanceapprecordAdd(IEnumerable<XElement> eGFunc)
        {
            try
            {
                if (eGFunc.Count() == 0)
                {
                    return "";
                }
                string strEmployeeID = string.Empty;
                string strOwnerID = string.Empty;
                string strOwnerPostID = string.Empty;
                string strOwnerDepartmentID = string.Empty;
                string strOwnerCompanyID = string.Empty;

                foreach (var q in eGFunc)
                {
                    string strName = q.Attribute("Name").Value;
                    switch (strName)
                    {
                        case "CREATEUSERID":
                            strEmployeeID = q.Attribute("Value").Value;
                            break;
                        case "OWNERID":
                            strOwnerID = q.Attribute("Value").Value;
                            break;
                        case "OWNERPOSTID":
                            strOwnerPostID = q.Attribute("Value").Value;
                            break;
                        case "OWNERDEPARTMENTID":
                            strOwnerDepartmentID = q.Attribute("Value").Value;
                            break;
                        case "OWNERCOMPANYID":
                            strOwnerCompanyID = q.Attribute("Value").Value;
                            break;
                    }
                }

                string employeeid = strEmployeeID.Replace("{", "").Replace("}", "");

                T_OA_MAINTENANCERECORD entity = new T_OA_MAINTENANCERECORD();
                entity.MAINTENANCERECORDID = Guid.NewGuid().ToString();

                int pageCount = 1;
                MaintenanceAPPBll maBll = new MaintenanceAPPBll();
                List<T_OA_MAINTENANCEAPP> maintenanceappList = maBll.GetInfoList(1, 1, "UPDATEDATE", string.Empty, null, ref  pageCount, strEmployeeID, new List<string>(), "2").ToList();

                entity.T_OA_MAINTENANCEAPP = maintenanceappList[0];
                entity.CREATEDATE = DateTime.Now;
                entity.OWNERID = strOwnerID;
                entity.OWNERPOSTID = strOwnerPostID;
                entity.OWNERDEPARTMENTID = strOwnerDepartmentID;
                entity.OWNERCOMPANYID = strOwnerCompanyID;
                entity.CREATEUSERID = strOwnerID;
                entity.CREATEPOSTID = strOwnerPostID;
                entity.CREATEDEPARTMENTID = strOwnerDepartmentID;
                entity.CREATECOMPANYID = strOwnerCompanyID;

                int i = maBll.Add_VMRecord(entity);
                if (i > 0)
                {
                    return entity.MAINTENANCERECORDID;
                }
                else
                {
                    string err = "Error";
                    return err;
                }
            }
            catch (Exception e)
            {
                string abc = "<OA>Message=[" + e.Message + "]" + "<OA>Source=[" + e.Source + "]<OA>StackTrace=[" + e.StackTrace + "]<OA>TargetSite=[" + e.TargetSite + "]";
                Tracer.Debug(abc);
                return abc;
            }
        }
Exemple #20
0
        //添加维修记录
        public int Add_VMRecord(T_OA_MAINTENANCERECORD ApprovalInfo)
        {
            MaintenanceAPPDal maDal = new MaintenanceAPPDal();

            return(maDal.Add_VMRecord(ApprovalInfo));
        }