소스 검색

健康档案

trick9191 7 년 전
부모
커밋
d6ffcaba35

+ 2 - 2
svr/svr-wlyy-archives/src/main/java/com/yihu/jw/dao/PatientArchivesInfoDao.java

@ -11,6 +11,6 @@ import java.util.List;
 */
public interface PatientArchivesInfoDao extends PagingAndSortingRepository<PatientArchivesInfo, String>,
        JpaSpecificationExecutor<PatientArchivesInfo> {
    List<PatientArchivesInfo> findByCodeOrderByLevel1(String code);
//    int deleteByArchivesCode(String archivesCode);
    List<PatientArchivesInfo> findByArchivesCodeOrderByLevel1(String archivesCode);
    int deleteByArchivesCode(String archivesCode);
}

+ 1 - 1
svr/svr-wlyy-archives/src/main/java/com/yihu/jw/service/PatientArchivesSevice.java

@ -82,7 +82,7 @@ public class PatientArchivesSevice extends BaseJpaService<PatientArchives,Patien
     */
    public Envelop<PatientArchivesInfoVO> queryPatientArchivesInfoPage(String code) throws ParseException {
        List<PatientArchivesInfo> list = patientArchivesInfoDao.findByCodeOrderByLevel1(code);
        List<PatientArchivesInfo> list = patientArchivesInfoDao.findByArchivesCodeOrderByLevel1(code);
        List<PatientArchivesInfoVO> patientArchivesinfoVOs = convertToModelVOs2(list,new ArrayList<>(list.size()));