|
@ -10272,9 +10272,10 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
sql += "\tp.status as \"status\",\n" +
|
|
|
"\tp.check_status as \"checkStatus\",\n" +
|
|
|
"\tp.check_reason as \"checkReason\",\n" +
|
|
|
"\tp.pay_type as \"payType\"\n" +
|
|
|
"\to.medical_state as \"payType\"\n" +
|
|
|
"FROM\n" +
|
|
|
"\twlyy_prescription p\n" +
|
|
|
" left join wlyy_outpatient o on p.outpatient_id=o.id "+
|
|
|
"WHERE\n" +
|
|
|
"\t1 = 1 and p.check_status not in (3,4) ";
|
|
|
Map<String, Object> params = new HashedMap();
|