public BioItemDetail getNumDetail(string sn, string num) { List <BioItemDetail> list = dal.getNumDetail(sn, num); if (list != null && list.Count > 0) { return(list[0]); } return(null); }