wangzhinan 1 місяць тому
батько
коміт
1ea4e42df2

+ 1 - 1
business/base-service/src/main/java/com/yihu/jw/hospital/prescription/dao/PrescriptionDao.java

@ -52,7 +52,7 @@ public interface PrescriptionDao extends PagingAndSortingRepository<WlyyPrescrip
    WlyyPrescriptionDO findByRealOrder(String realOrder);
    @Query("select a from WlyyPrescriptionDO a where  a.realOrder =?1 ")
    @Query("select a from WlyyPrescriptionDO a where  a.realOrder =?1 and a.status<>-4 ")
    List<WlyyPrescriptionDO> findByRealOrderList(String realOrder);
    
    WlyyPrescriptionDO findByAdmNoAndRealOrder(String admno,String realOrder);