return template.query(SAMPLE_QC_TYPE_SELECT, new SampleQcTypeMapper());
}
public QcType getSampleQcTypeById(long qcTypeId) throws IOException {
List eResults = template.query(SAMPLE_QC_TYPE_SELECT_BY_ID, new Object[]{qcTypeId}, new SampleQcTypeMapper());
QcType e = eResults.size() > 0 ? (QcType) eResults.get(0) : null;
return e;
}