예제 #1
0
        public static bool SJYPZEdit(Model.T_BASE_SJYPZModel model)
        {
            Access.FactoryT_BASE_SJYPZAccess af = new Access.FactoryT_BASE_SJYPZAccess();
            int ret = af.Modify(model);

            return(ret > 0);
        }
예제 #2
0
        public static List <Model.T_BASE_SJYPZModel> GetSJYPZFromGroupId(string groupId)
        {
            string where = "T.BL2='" + groupId + "' AND T.SFSC=0";
            string order = "T.BL1,T.PZBM";

            Access.FactoryT_BASE_SJYPZAccess af = new Access.FactoryT_BASE_SJYPZAccess();
            return(af.QueryList(where, order));
        }
예제 #3
0
        public static List <Model.T_BASE_SJYPZModel> GetAllSJYPZ()
        {
            string where = "T.SFSC=0";
            string order = "T.BL1,T.PZBM";

            Access.FactoryT_BASE_SJYPZAccess af = new Access.FactoryT_BASE_SJYPZAccess();
            return(af.QueryList(where, order));
        }
예제 #4
0
 public static Model.T_BASE_SJYPZModel GetSJYPZFromBM(string bm)
 {
     Access.FactoryT_BASE_SJYPZAccess af    = new Access.FactoryT_BASE_SJYPZAccess();
     Model.T_BASE_SJYPZModel          model = af.Query(bm);
     return(model);
 }