|
|
|
@ -20,6 +20,7 @@ import lombok.RequiredArgsConstructor;
|
|
|
|
|
import org.apache.commons.collections4.map.LinkedMap;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
import java.text.Collator;
|
|
|
|
|
import java.text.SimpleDateFormat;
|
|
|
|
|
import java.util.*;
|
|
|
|
|
import java.util.regex.Matcher;
|
|
|
|
@ -627,7 +628,12 @@ public class BigScreenController extends BaseController {
|
|
|
|
|
));
|
|
|
|
|
|
|
|
|
|
LinkedMap<String, List<Map<String, String>>> linkedMap = new LinkedMap<>();
|
|
|
|
|
resultMap.entrySet().stream().sorted(Map.Entry.comparingByKey()).forEachOrdered(entry->{linkedMap.put(entry.getKey(), entry.getValue());});
|
|
|
|
|
resultMap.entrySet().stream()
|
|
|
|
|
.sorted((entry1, entry2) -> {
|
|
|
|
|
Collator collator = Collator.getInstance(java.util.Locale.CHINA);
|
|
|
|
|
return collator.compare(entry1.getKey(), entry2.getKey());
|
|
|
|
|
})
|
|
|
|
|
.forEachOrdered(entry -> linkedMap.put(entry.getKey(), entry.getValue()));
|
|
|
|
|
return AjaxResult.success(linkedMap);
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
logger.info(StringKit.toString(e));
|
|
|
|
@ -672,6 +678,7 @@ public class BigScreenController extends BaseController {
|
|
|
|
|
|
|
|
|
|
QueryWrapper<MetaActualUserInfo> actualQueryWrapper = new QueryWrapper<>();
|
|
|
|
|
actualQueryWrapper.eq("habitation_address", estateInfo == null ? null : estateInfo.getRealEstateAddress());
|
|
|
|
|
actualQueryWrapper.groupBy("id_card");
|
|
|
|
|
List<MetaActualUserInfo> actualUserInfos = actualUserInfoService.list(actualQueryWrapper);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|