Browse Source

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

Administrator 3 năm trước cách đây
mục cha
commit
5b4cddd65b

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