Преглед на файлове

修改参数拼接之间用换行符

Administrator преди 2 години
родител
ревизия
362878e831
променени са 1 файла, в които са добавени 5 реда и са изтрити 5 реда
  1. 5 5
      ruoyi-system/src/main/java/com/ruoyi/system/service/impl/UserInfoServiceImpl.java

+ 5 - 5
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/UserInfoServiceImpl.java

@@ -190,7 +190,7 @@ public class UserInfoServiceImpl implements IUserInfoService {
 
             userInfo.setJobStyle(jobStyle);
             userInfo.setFocusCrowdStyle(focusCrowdStyle);
-            userInfo.setDetectionFrequency(detectionNumber + "/" + detectionScope);
+            userInfo.setDetectionFrequency(detectionNumber + "<br>" + detectionScope);
             userInfo.setDetectionNumber(detectionNumber);
             userInfo.setDetectionScope(detectionScope);
             userInfo.setStartTime(startTime);
@@ -206,17 +206,17 @@ public class UserInfoServiceImpl implements IUserInfoService {
                 if (userInfo.getIdCard().equals(odsQssHsjcxx.getSfzhm())) {
 
                     if (StringUtils.isNotEmpty(collectPlace.toString())) {
-                        collectPlace.append("/");
+                        collectPlace.append("<br>");
                     }
                     collectPlace.append(odsQssHsjcxx.getJcdd());
 
                     if (StringUtils.isNotEmpty(nucleicCollectTime.toString())) {
-                        nucleicCollectTime.append("/");
+                        nucleicCollectTime.append("<br>");
                     }
                     nucleicCollectTime.append(odsQssHsjcxx.getCjsj());
 
                     if (StringUtils.isNotEmpty(nucleicResultsTime.toString())) {
-                        nucleicResultsTime.append("/");
+                        nucleicResultsTime.append("<br>");
                     }
                     nucleicResultsTime.append(odsQssHsjcxx.getJgcjss());
 
@@ -230,7 +230,7 @@ public class UserInfoServiceImpl implements IUserInfoService {
             userInfo.setCollectPlace(collectPlace.toString());
             userInfo.setNucleicCollectTime(nucleicCollectTime.toString());
             userInfo.setNucleicResultsTime(nucleicResultsTime.toString());
-            userInfo.setDetectionProgress(index + "/" + detectionNumber);
+            userInfo.setDetectionProgress(index + "<br>" + detectionNumber);
 
 
             if (bl) {