|
@ -229,6 +229,19 @@ public class PatientDeviceService extends BaseService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
re.sort(new Comparator<Map<String, Object>>() {
|
|
|
@Override
|
|
|
public int compare(Map<String, Object> o1, Map<String, Object> o2) {
|
|
|
if(o1.get("czrq").toString().compareTo(o2.get("czrq").toString()) > 0){
|
|
|
return -1;
|
|
|
}
|
|
|
if(o1.get("czrq").toString().compareTo(o2.get("czrq").toString()) < 0){
|
|
|
return 1;
|
|
|
}
|
|
|
|
|
|
return 0;
|
|
|
}
|
|
|
});
|
|
|
|
|
|
return re;
|
|
|
}
|