浏览代码

20211205后端日志更新代码_4

mashengyi 3 年之前
父节点
当前提交
5f62582c47
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/jkcredit/invoice/credit/custInterface/NoCarInterServiceImpl.java

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