protected void btnSave_Click(object sender, EventArgs e)
        {
            if (stiforcrew != null)
            {
                CY.CSTS.Core.Business.Check check = new Check();

                check.ApplicationID = stiforcrew.Id;
                check.AuditDes = tbDes.Value;
                check.AuditTime = System.DateTime.Now;
                // check.AuditPerson = u.Id;
                if (stiforcrew.State == 5)
                {
                    check.AuditType = 2;
                    stiforcrew.State = 7;
                }
                if (stiforcrew.State == 4 || stiforcrew.State == 6)
                {
                    stiforcrew.State = 17;
                    check.AuditType = 2;
                }
                check.Save();
                stiforcrew.Save();
                BindPage();
            }
        }
 protected void btnSave_Click(object sender, EventArgs e)
 {
     CY.CSTS.Core.Business.Check check = new Check();
     check.ApplicationID = appforcenter.Id;
     check.AuditDes = tbDes.Value;
     check.AuditTime = System.DateTime.Now;
     check.AuditType = 1;
     //check.AuditPerson = U.Id;评审人
     check.Save();
     appforcenter.State = 6;
     appforcenter.Save();
     bindCtr();
 }
Example #3
0
        protected void btnSave_Click(object sender, EventArgs e)
        {
            CY.CSTS.Core.Business.Check check = new Check();
            check.ApplicationID = stiforcrew.Id;
            check.AuditDes = tbDes.Value;
            check.AuditTime = System.DateTime.Now;
            // check.AuditPerson = u.Id;
            if (stiforcrew.State == 9)
            {
                check.AuditType = 3;
                stiforcrew.State = 11;
                check.Save();

                stiforcrew.Save();
            }
            else if (stiforcrew.State == 8 || stiforcrew.State == 10)
            {
                stiforcrew.State = 17;
                check.AuditType = 3;
                check.Save();

                stiforcrew.Save();
            }

            if (stiforcrew.State == 15)
            {
                check.AuditType = 4;
                stiforcrew.State = 16;
                check.Save();

                stiforcrew.Save();
            }
            bindCtr();
        }
Example #4
0
        /// <summary>
        /// 保存备注评语
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void btnSave_Click(object sender, EventArgs e)
        {
            CY.CSTS.Core.Business.Check check = new Check();
            check.ApplicationID = stiforsub_coop.Id;
            check.AuditDes = tbDes.Value;
            check.AuditTime = System.DateTime.Now;
            // check.AuditPerson = u.Id;
            if (stiforsub_coop.State == 5)
            {
                check.AuditType = 2;
                stiforsub_coop.State = 7;
                check.Save();

                stiforsub_coop.Save();
            }
            if (stiforsub_coop.State == 6 || stiforsub_coop.State == 4)
            {
                check.AuditType = 2;
                stiforsub_coop.State = 13;
                check.Save();

                stiforsub_coop.Save();
            }

            if (stiforsub_coop.State == 11)
            {
                check.AuditType = 4;
                stiforsub_coop.State = 14;
                check.Save();

                stiforsub_coop.Save();
            }

            bindCtr();
            BindPage();
        }