From 2e64c232ab6b51b2cecf1ee96e1e9b709234f326 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期六, 21 八月 2021 16:35:14 +0800
Subject: [PATCH] 随手拍改版接口开发

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngCarDAO.java |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngCarDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngCarDAO.java
index 314149b..153e696 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngCarDAO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngCarDAO.java
@@ -75,6 +75,7 @@
             " SELECT  " +
             "  t.area_name AS areaName,  " +
             "  t.user_name AS userName,  " +
+            "  t.card_no AS cardNo,  " +
             "  t.brand,  " +
             "  t.plate_num AS plateNum,  " +
             "  t.color,  " +
@@ -85,11 +86,11 @@
             "<if test='exportComMngCarExcelDTO.areaName != null and exportComMngCarExcelDTO.areaName.trim() != &quot;&quot;'>" +
             " and t.area_name LIKE concat( #{exportComMngCarExcelDTO.areaName}, '%' )  " +
             " </if> " +
-            "<if test='exportComMngCarExcelDTO.communityId != null and exportComMngCarExcelDTO.communityId != 0'>" +
+            "<if test='exportComMngCarExcelDTO.communityId != null and exportComMngCarExcelDTO.communityId != &quot;&quot;'>" +
             " and t.community_id = #{exportComMngCarExcelDTO.communityId} " +
             " </if> " +
-            "<if test='exportComMngCarExcelDTO.villageId != null and exportComMngCarExcelDTO.villageId != 0'>" +
-            " and t.village_id = #{exportComMngCarExcelDTO.villageId} " +
+            "<if test='exportComMngCarExcelDTO.villageId != null and exportComMngCarExcelDTO.villageId != &quot;&quot;'>" +
+            " and t.area_id = #{exportComMngCarExcelDTO.villageId} " +
             " </if> " +
             "<if test='exportComMngCarExcelDTO.userName != null and exportComMngCarExcelDTO.userName.trim() != &quot;&quot;'>" +
             " and t.user_name LIKE concat( #{exportComMngCarExcelDTO.userName}, '%' )  " +

--
Gitblit v1.7.1