From a8e77d738952c6e231769a4112fce7299eb4f56c Mon Sep 17 00:00:00 2001
From: CeDo <cedoogle@gmail.com>
Date: 星期四, 20 五月 2021 19:15:01 +0800
Subject: [PATCH] bugfixed
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngPopulationDAO.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngPopulationDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngPopulationDAO.java
index 65c355f..91d0028 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngPopulationDAO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngPopulationDAO.java
@@ -89,6 +89,7 @@
"AND cmp.remark = #{comMngPopulationVO.remark} " +
" </if> " +
" </where>" +
+ " order by cmp.create_at desc " +
"</script>")
List<ComMngPopulationVO> listPopulation(ComMngPopulationDTO populationVO);
@@ -155,7 +156,7 @@
"<if test='comMngPopulationVO.ageStart != null and comMngPopulationVO.ageStart != ""'>" +
"AND cmp.age <![CDATA[ >= ]]> #{comMngPopulationVO.ageStart} " +
" </if> " +
- "<if test='comMngPopulationVO.ageEnd != null and comMngPopulationVO.ageStart != ""'>" +
+ "<if test='comMngPopulationVO.ageEnd != null and comMngPopulationVO.ageEnd != ""'>" +
"AND cmp.age <![CDATA[ <= ]]> #{comMngPopulationVO.ageEnd} " +
" </if> " +
"<if test='comMngPopulationVO.nativePlace != null and comMngPopulationVO.nativePlace != ""'>" +
--
Gitblit v1.7.1