lighter 1 ano atrás
pai
commit
df47fb7ff0

+ 2 - 2
src/main/java/thyyxxk/webserver/service/medicalinsurance/SiMzService.java

@@ -377,7 +377,7 @@ public class SiMzService {
                 if (result.getIntValue(RESULT_CODE) == 0) {
                     output = result.getJSONObject(OUTPUT);
                     JSONArray details = output.getJSONArray("feedetail");
-                    if (null == details || details.size() == 0) {
+                    if (null == details || details.isEmpty()) {
                         continue;
                     }
                     for (int j = 0; j < details.size(); j++) {
@@ -387,7 +387,7 @@ public class SiMzService {
                             list.add(spcChrDiseAcct);
                         }
                     }
-                    if (list.size() > 0) {
+                    if (!list.isEmpty()) {
                         return ResultVoUtil.success(list);
                     }
                 }