From fa5a0d6eca31dfe7dde16a403c192df4494273eb Mon Sep 17 00:00:00 2001 From: Null <281575458@qq.com> Date: 星期五, 19 三月 2021 18:01:03 +0800 Subject: [PATCH] 实有资产管理 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngCarDAO.java | 4 ++-- 1 files changed, 2 insertions(+), 2 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 1a23b65..7f8acf1 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 @@ -46,8 +46,8 @@ "<if test='pageComMngCarDTO.communityId != null and pageComMngCarDTO.communityId != 0'>" + " and t.community_id = #{pageComMngCarDTO.communityId} " + " </if> " + - "<if test='pageComMngCarDTO.areaId != null and pageComMngCarDTO.areaId != 0'>" + - " and t.area_id = #{pageComMngCarDTO.areaId} " + + "<if test='pageComMngCarDTO.areaName != null and pageComMngCarDTO.areaName != 0'>" + + " and t2.area_name LIKE concat( #{pageComMngCarDTO.areaName}, '%' ) " + " </if> " + " order by t.create_at desc"+ "</script>") -- Gitblit v1.7.1