Beispiel #1
0
        protected override void revirw( )
        {
            base.revirw( );

            Reviews("JZ001", model.JZ001, "R_PQJZ", this, "", "R_047", false, false, MulaolaoBll.Drity.GetDt( ) /*,"" ,"" ,"" ,"" ,"" ,"" ,"","R_195"*/);
            result = sp.reviewImple("R_195", model.JZ001);
            if (result == true)
            {
                label45.Visible = true;
            }
            else
            {
                label45.Visible = false;
            }
        }
Beispiel #2
0
        protected override void revirw( )
        {
            Reviews("KH01", _kh.KH01, "R_PQN", this, "", "R_369", false, false, MulaolaoBll.Drity.GetDt( ) /*,"" ,"" ,"" ,"" ,"" ,"" ,"","R_001" */);
            result = false;
            result = sp.reviewImple("R_369", _kh.KH01);
            if (result == true)
            {
                lab.Visible = true;
            }
            else
            {
                lab.Visible = false;
            }

            base.revirw( );
        }
Beispiel #3
0
        protected override void revirw( )
        {
            base.revirw( );

            Reviews("BD001", _model.BD001, "R_PQBD", this, "", "R_365", false, false, MulaolaoBll.Drity.GetDt( ) /*,"" ,"" ,"" ,"" ,"" ,"" ,"","R_196"*/);

            result = sp.reviewImple("R_365", _model.BD001);
            if (result == true)
            {
                label107.Visible = true;
            }
            else
            {
                label107.Visible = false;
            }
        }
Beispiel #4
0
        protected override void revirw( )
        {
            base.revirw( );

            Reviews("LZ001", model.LZ001, "R_PQLZ", this, "", "R_344", false, false, MulaolaoBll.Drity.GetDt( ) /*,"" ,"" ,"" ,"" ,"" ,"" ,"","R_195"*/);
            SpecialPowers sp = new SpecialPowers( );

            result = sp.reviewImple("R_344", model.LZ001);
            if (result == true)
            {
                label45.Visible = true;
            }
            else
            {
                label45.Visible = false;
            }
        }
Beispiel #5
0
        //Reviews
        protected override void revirw( )
        {
            base.revirw( );

            Reviews("PQF01", textBox1.Text, "R_PQF", this, "", "R_001", false, false, MulaolaoBll.Drity.GetDt( ) /*,"" ,"" ,"" ,"" ,"" ,"" ,"","R_001" */);
            result = false;
            result = sp.reviewImple("R_001", model.PQF01);
            if (result == true)
            {
                label22.Visible = true;
                try
                {
                    SqlHelper.ExecuteNonQuery(MulaolaoBll.Drity.DrityOfCopy("R_PQFC", "R_PQF", "PQF01", textBox1.Text));
                    bll.WriteToDaily(model.PQF01);
                }
                catch { }
            }
            else
            {
                label22.Visible = false;
            }
        }
Beispiel #6
0
        protected override void revirw( )
        {
            base.revirw( );

            Reviews("EZ001", model.EZ001, "R_PQEZ", this, "", "R_323", false, false, MulaolaoBll.Drity.GetDt( ) /*,"" ,"" ,"" ,"" ,"" ,"" ,"","R_195"*/);
            result = false;
            result = sp.reviewImple("R_323", model.EZ001);
            if (result == true)
            {
                label45.Visible = true;
                try
                {
                    strWhere = "";
                    for (int i = 0; i < gridView1.RowCount; i++)
                    {
                        if (strWhere == "")
                        {
                            strWhere = gridView1.GetDataRow(i)["idx"].ToString( );
                        }
                        else
                        {
                            strWhere = strWhere + "," + gridView1.GetDataRow(i)["idx"].ToString( );
                        }
                    }
                    if (!string.IsNullOrEmpty(strWhere))
                    {
                        result = bll.UpdateWriteTo(strWhere);
                    }
                }
                catch { }
            }
            else
            {
                label45.Visible = false;
            }
        }