瀏覽代碼

无车优化,自有车接口返回

Administrator 3 年之前
父節點
當前提交
5b4cddd65b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/jkcredit/invoice/credit/custInterface/SelfCarInterServiceImpl.java

+ 2 - 2
src/main/java/com/jkcredit/invoice/credit/custInterface/SelfCarInterServiceImpl.java

@@ -476,7 +476,7 @@ public class SelfCarInterServiceImpl implements SelfCarInterService {
                 return result;
             } else {
                 result.setData(3);
-                if("未查得".equals(result.getMsg())){
+                if("未查得".equals(rs.getMsg())){
                     result.setData(2);
                 }
                 result.setCode(200);
@@ -650,7 +650,7 @@ public class SelfCarInterServiceImpl implements SelfCarInterService {
             } else {
                 result.setData(3);
                 if("未查得".equals(rs.getMsg())){
-                    result.setData(3);
+                    result.setData(2);
                 }
                 result.setCode(200);
                 result.setMsg(rs.getMsg());