XklAmpReportDetailRespository.java
544 Bytes
package com.xkl.repository;
import com.xkl.domain.XklAmpReportDetailEntity;
import com.xkl.domain.XklAmpReportHealthScoreEntity;
import org.springframework.data.repository.CrudRepository;
import java.util.List;
/**
* Created by win7 on 2016/11/20.
*/
public interface XklAmpReportDetailRespository extends CrudRepository<XklAmpReportDetailEntity, Long> {
//item_id
public XklAmpReportDetailEntity findByReportIdAndItemId(long report_id, int item_id);
public List<XklAmpReportDetailEntity> findAllByReportId(long report_id);
}