修改报告排序时候的BUG

This commit is contained in:
jiangs 2025-11-17 15:24:51 +08:00
parent 9881c25b44
commit cf0c59d0ed

View File

@ -111,8 +111,8 @@ public class ZybgcxServcieImpl implements ZybgcxService {
collectA5.sort(new Comparator<Map<String, Object>>() {
@Override
public int compare(Map<String, Object> o1, Map<String, Object> o2) {
Integer brdh1 = Integer.valueOf(o1.get("brdh").toString().trim()) ;
Integer brdh2 = Integer.valueOf(o2.get("brdh").toString().trim()) ;
String brdh1 = o1.get("brdh").toString().trim() ;
String brdh2 = o2.get("brdh").toString().trim() ;
int i = brdh1.compareTo(brdh2);
if(i == 0){
Date confirmdt1 = (Date) o1.get("confirmdt");