| 1 | |
package org.kuali.student.r2.core.class1.process.dao; |
| 2 | |
|
| 3 | |
import org.kuali.student.enrollment.dao.GenericEntityDao; |
| 4 | |
import org.kuali.student.r2.core.class1.process.model.CheckEntity; |
| 5 | |
|
| 6 | |
import java.util.List; |
| 7 | |
|
| 8 | 0 | public class CheckDao extends GenericEntityDao<CheckEntity> { |
| 9 | |
|
| 10 | |
public List<CheckEntity> getByCheckTypeId(String checkTypeId) { |
| 11 | 0 | return em.createQuery("from CheckEntity a where a.checkType.id=:checkTypeId").setParameter("checkTypeId", checkTypeId).getResultList(); |
| 12 | |
} |
| 13 | |
} |