示例#1
0
 ExtendModule.InstrumentAndConsumables checkQueryString(string strID)
 {
     ExtendBLL.InstrumentAndConsumables bconsum = new ExtendBLL.InstrumentAndConsumables();
     string strWhere = " Type = 'xiaohaopin' and ID =" + strID;
     List<ExtendModule.InstrumentAndConsumables> listinstrument = bconsum.GetExtendModelList(strWhere);
     if (listinstrument.Count <= 0)
     {
         return null;
     }
     return listinstrument[0];
 }
示例#2
0
 ExtendModule.InstrumentAndConsumables checkQueryString(string strID)
 {
     ExtendBLL.InstrumentAndConsumables bvaluables = new ExtendBLL.InstrumentAndConsumables();
     string strWhere = " Type = 'guizhongyiqi' and ID =" + strID;
     List<ExtendModule.InstrumentAndConsumables> listvaluables = bvaluables.GetExtendModelList(strWhere);
     if (listvaluables.Count <= 0)
     {
         return null;
     }
     return listvaluables[0];
 }