Ver Fonte

20211205后端日志更新代码_4

mashengyi há 3 anos atrás
pai
commit
5f62582c47

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

@@ -198,12 +198,12 @@ public class NoCarInterServiceImpl implements NoCarInterService {
                 result.setCode(200);
                 result.setMsg(rs.getData().toString());
                 JSONObject jb = JSONObject.parseObject(rs.getData().toString());
+                result.setData(1);
+                result.setMsg("车辆已备案");
                 if(null == jb.getJSONArray("result") || jb.getJSONArray("result").size() == 0){
                     result.setData(2);
                     result.setMsg("车辆未备案");
                 }
-                result.setData(1);
-                result.setMsg("车辆已备案");
                 return result;
             } else {
                 result.setData(3);