|
@@ -31,6 +31,7 @@ import java.text.ParseException;
|
|
|
import java.text.SimpleDateFormat;
|
|
|
import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
|
+import java.util.stream.Stream;
|
|
|
|
|
|
|
|
|
* 导入人员信息Service业务层处理
|
|
@@ -174,7 +175,8 @@ public class UserInfoServiceImpl implements IUserInfoService {
|
|
|
|
|
|
List<OdsQssHsjcxx> OdsQssHsjcxxList = qdsQssHsjcxxService.thirdNucleicAcid(startTime, endTime, idCardList);
|
|
|
|
|
|
-
|
|
|
+
|
|
|
+ List<OdsQssHsjcxx> OdsQssHsjcxxListSorted = OdsQssHsjcxxList.stream().sorted(Comparator.comparing(OdsQssHsjcxx::getCjsj).reversed()).collect(Collectors.toList());
|
|
|
List<UserNucleicTime> UserNucleicTimeList = new ArrayList<>();
|
|
|
|
|
|
int index = 0;
|
|
@@ -190,7 +192,7 @@ public class UserInfoServiceImpl implements IUserInfoService {
|
|
|
|
|
|
userInfo.setJobStyle(jobStyle);
|
|
|
userInfo.setFocusCrowdStyle(focusCrowdStyle);
|
|
|
- userInfo.setDetectionFrequency(detectionNumber + "<br>" + detectionScope);
|
|
|
+ userInfo.setDetectionFrequency(detectionNumber + "/" + detectionScope);
|
|
|
userInfo.setDetectionNumber(detectionNumber);
|
|
|
userInfo.setDetectionScope(detectionScope);
|
|
|
userInfo.setStartTime(startTime);
|
|
@@ -201,7 +203,7 @@ public class UserInfoServiceImpl implements IUserInfoService {
|
|
|
Boolean bl = true;
|
|
|
|
|
|
index = 0;
|
|
|
- for (OdsQssHsjcxx odsQssHsjcxx : OdsQssHsjcxxList) {
|
|
|
+ for (OdsQssHsjcxx odsQssHsjcxx : OdsQssHsjcxxListSorted) {
|
|
|
|
|
|
if (userInfo.getIdCard().equals(odsQssHsjcxx.getSfzhm())) {
|
|
|
|
|
@@ -230,7 +232,7 @@ public class UserInfoServiceImpl implements IUserInfoService {
|
|
|
userInfo.setCollectPlace(collectPlace.toString());
|
|
|
userInfo.setNucleicCollectTime(nucleicCollectTime.toString());
|
|
|
userInfo.setNucleicResultsTime(nucleicResultsTime.toString());
|
|
|
- userInfo.setDetectionProgress(index + "<br>" + detectionNumber);
|
|
|
+ userInfo.setDetectionProgress(index + "/" + detectionNumber);
|
|
|
|
|
|
|
|
|
if (bl) {
|