|
@ -7094,7 +7094,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
}
|
|
|
sql += " order by p.create_time desc";
|
|
|
List<Map<String, Object>> mapList = hibenateUtils.createSQLQuery(sql, params, page, pagesize);
|
|
|
String sqlTotal = "select COUNT(1) AS \"total\" from wlyy_prescription p where 1=1 and p.check_status not in (3,4) ";
|
|
|
String sqlTotal = "select COUNT(1) AS \"total\" from wlyy_prescription p where 1=1 and p.check_status not in (3,4) ";
|
|
|
Map<String, Object> params1 = new HashedMap();
|
|
|
if (StringUtils.isNoneBlank(hospital)) {
|
|
|
sqlTotal += " and p.hospital =:hospital";
|