Example #1
0
        public bool UpdateT_MaterialStatus(UserInfo user, ref T_MaterialInfo t_material, int NewStatus, ref string strError)
        {
            T_Material_Func tfunc = new T_Material_Func();

            return(tfunc.UpdateModelStatus(user, ref t_material, NewStatus, ref strError));
        }
Example #2
0
        public bool GetT_MaterialListByPage(ref List <T_MaterialInfo> modelList, UserInfo user, T_MaterialInfo t_material, ref DividPage page, ref string strError)
        {
            T_Material_Func tfunc = new T_Material_Func();

            return(tfunc.GetModelListByPage(ref modelList, user, t_material, ref page, ref strError));
        }
Example #3
0
        public bool DeleteT_MaterialByModel(UserInfo user, T_MaterialInfo model, ref string strError)
        {
            T_Material_Func tfunc = new T_Material_Func();

            return(tfunc.DeleteModelByModelSql(user, model, ref strError));
        }
Example #4
0
        public bool GetT_MaterialByID(ref T_MaterialInfo model, ref string strError)
        {
            T_Material_Func tfunc = new T_Material_Func();

            return(tfunc.GetModelByID(ref model, ref strError));
        }
Example #5
0
        public bool SaveT_Material(UserInfo user, ref T_MaterialInfo t_material, ref string strError)
        {
            T_Material_Func tfunc = new T_Material_Func();

            return(tfunc.SaveModelBySqlToDB(user, ref t_material, ref strError));
        }