@ -18,7 +18,7 @@ public interface PrescriptionInfoDao extends PagingAndSortingRepository<Prescrip
@Modifying
@Query("update PrescriptionInfo p set p.code=?2 where p.cost=?1")
@Query("update PrescriptionInfo p set p.cost=?2 where p.code=?1")
void updateStatus(String code,Integer cost);
}
@ -418,7 +418,7 @@ public class PrescriptionInfoService extends BaseService {
return 0;
return 1;
public JSONArray getDoctorPrescription(Integer teamCode, String state, String diseases, String startDate, String endDate, String nameKeyword, String patient, Integer page, Integer size) {
@ -700,6 +700,7 @@ public class PrescriptionInfoService extends BaseService {
" LEFT(pr.create_time,19) AS createTime, " +
" pr.doctor, " +
" pr.dispensary_type AS dispensaryType " +
" e.expressage_name AS expressageName" +
" FROM " +
" wlyy_prescription pr " +
" LEFT JOIN wlyy_patient p ON pr.patient = p.`code` " +