Exemple #1
0
        protected override void OnLoadData()
        {
            if (model != null)
            {
                return;
            }
            string str = string.Format("AND  t2.sd_su_cons='2' and t3.fg_sign='Y' and t3.fg_canc='N'");

            model = new ConsGridViewModel(str);
        }
Exemple #2
0
        protected override void OnLoadData()
        {
            if (model != null)
            {
                return;
            }
            string str = string.Format("AND  t1.fg_response='{0}' AND  t2.sd_su_cons in ({1}) AND  t1.id_dep = '{2}'", "N", "'4','5'", UserManager.getInstance().CurrentDept.Id_dep);

            model = new ConsGridViewModel(str);
        }
        protected override void OnLoadData()
        {
            if (model != null)
            {
                return;
            }
            string str = string.Format("AND  t2.sd_su_cons{0} and t3.fg_sign='Y' and t3.fg_canc='N'AND  t3.id_dep_or = '{1}'", "='0'", UserManager.getInstance().CurrentDept.Id_dep);

            model = new ConsGridViewModel(str);
        }