ソースを参照

1. 永诚修改保单无法下载

ligang134 2 年 前
コミット
a25c2fcce0

+ 1 - 1
src/main/java/com/ydtech/modules/ins/service/impl/InsAlltrustApiServiceImpl.java

@@ -856,7 +856,7 @@ public class InsAlltrustApiServiceImpl implements InsAlltrustApiService {
             String jqFlagUrl = gainExistCarInsPolicy(licensePlate + "-交强险标志.pdf", licensePlate);
             String jqUrl = gainExistCarInsPolicy(licensePlate + "-交强险保单.pdf", licensePlate);
             String syUrl = gainExistCarInsPolicy(licensePlate + "-商业险保单.pdf", licensePlate);
-            if (null != jqFlagUrl || null != jqUrl || null != syUrl) {
+            if (StringUtils.isNotEmpty(jqFlagUrl) || StringUtils.isNotEmpty(jqUrl) || StringUtils.isNotEmpty(syUrl)) {
                 m.put("jqFlagUrl", jqFlagUrl);
                 m.put("jqUrl", jqUrl);
                 m.put("syUrl", syUrl);