public EQM_Page_Return getTwoDirectory(CV_EQM_EQUIP_RELATE_SERVICE_QueryParam qp) { DM_Equipment_Maintenance_QueryParam parm = new DM_Equipment_Maintenance_QueryParam { parentDirection = qp.EquipType, type = qp.EquipTypeDes, PageIndex = qp.PageIndex, PageSize = qp.PageSize }; return(EMBO.GetEntitiesByParam(parm)); }
public DataTable getcount(CV_EQM_EQUIP_RELATE_SERVICE_QueryParam qp) { DataTable list = null; string Sql = @" select count(*) from CV_EQM_EQUIP_RELATE_SERVICE where 1=1 and EquipTypeID = N'" + qp.EquipTypeID + "'"; list = BSCBO.GetDataTableBySql(Sql); return(list); //return Request.CreateResponse(HttpStatusCode.OK, Sql); }
public IList <CV_EQM_EQUIP_RELATE_SERVICE> Getpartdata(CV_EQM_EQUIP_RELATE_SERVICE_QueryParam param) { IList <CV_EQM_EQUIP_RELATE_SERVICE> entities = ServiceBO.GetEntities(param); return(entities); }