瀏覽代碼

企业查询接口拦截修复

mashengyi 1 年之前
父節點
當前提交
99b899d69f

+ 1 - 1
src/main/java/com/jkcredit/invoice/credit/interserver/CustomerInterLowerServiceImpl.java

@@ -244,7 +244,7 @@ public class CustomerInterLowerServiceImpl implements CustomerInterLowerService
             if (StringUtils.isEmpty(data) || null == jsonObject) {
                 return result;
             }
-            if (StringUtils.isEmpty(companyName) && StringUtils.isEmpty(taxpayerCode)) {
+            if (StringUtils.isEmpty(companyName) || StringUtils.isEmpty(taxpayerCode)) {
 
                 result.setMsg("查询错误");
                 result.setCode(9998);