|
@ -22,7 +22,7 @@ public interface PrescriptionDao extends PagingAndSortingRepository<Prescription
|
|
|
@Query("select p from Prescription p where p.jwCode=?1 and p.status=?2 ")
|
|
|
List<Prescription> fingdByJwCodeAndStatus(String jwcode,Integer status);
|
|
|
|
|
|
@Query(value = "select p.prescription_code from wlyy_prescription_pay p LEFT JOIN wlyy_prescription a on a.code = p.prescription_code where p.trade_status = 1 and a.jw_pay_status = 0",nativeQuery = true)
|
|
|
@Query(value = "select p.prescription_code from wlyy_prescription_pay p LEFT JOIN wlyy_prescription a on a.code = p.prescription_code where p.trade_status = 1 and a.jw_pay_status = 0 and a.status=50",nativeQuery = true)
|
|
|
List<String> findCodesByPayStautsAndExecuteSickStatus();
|
|
|
|
|
|
@Modifying
|