|
@ -132,7 +132,7 @@ public class MedicinedevicePrintMessageService extends BaseJpaService<Medicinede
|
|
|
if (StringUtils.isNoneBlank(condition)){
|
|
|
sql += " and (d.equ_name LIKE '%"+condition+"%' OR d.equ_num LIKE '%"+condition+"%')";
|
|
|
}
|
|
|
sql+=" order by pm.create_time desc ";
|
|
|
System.out.print("sql==="+sql);
|
|
|
List<Map<String,Object>> mapList = hibenateUtils.createSQLQuery(sql,page,size);
|
|
|
return mapList;
|
|
|
}
|