瀏覽代碼

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

ligang134 2 年之前
父節點
當前提交
a25c2fcce0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/ydtech/modules/ins/service/impl/InsAlltrustApiServiceImpl.java

+ 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);