From 60daae4c3f216bc9af6b9efa38450d44413de8ff Mon Sep 17 00:00:00 2001 From: 101captain <237651143@qq.com> Date: 星期三, 29 十二月 2021 14:11:03 +0800 Subject: [PATCH] 12/29 河门口大屏特殊修改 --- springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/dao/ComPbServiceTeamDAO.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/dao/ComPbServiceTeamDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/dao/ComPbServiceTeamDAO.java index 9d273ee..b977cf6 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/dao/ComPbServiceTeamDAO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/dao/ComPbServiceTeamDAO.java @@ -23,7 +23,7 @@ public interface ComPbServiceTeamDAO extends BaseMapper<ComPbServiceTeamDO> { @Select("<script> " + "SELECT\n" + "* \n" + "FROM\n" + "com_pb_service_team \n" - + " where community_id=#{pageComPbServiceTeamDTO.communityId}" + + " where community_id = #{pageComPbServiceTeamDTO.communityId}" + "<if test='pageComPbServiceTeamDTO.name != null and pageComPbServiceTeamDTO.name.trim() != ""'>" + " and name LIKE concat( #{pageComPbServiceTeamDTO.name}, '%' ) \n" + " </if> " + "<if test='pageComPbServiceTeamDTO.job != null and pageComPbServiceTeamDTO.job.trim() != ""'>" @@ -35,7 +35,7 @@ ComPbServiceTeamDO selectComPbServiceTeamById(@Param("id") Long id); @Select("<script> " + "SELECT\n" + "* \n" + "FROM\n" + "com_pb_service_team \n" - + " where community_id=#{communityId}" + "<if test='param != null and param != ""'>" + + " where community_id = #{communityId}" + "<if test='param != null and param != ""'>" + " and name LIKE concat( #{param}, '%' ) \n" + " </if> " + "</script>") List<ComPbServiceTeamVO> getTotlePerson(@Param("param") String param, @Param("communityId") Long communityId); } -- Gitblit v1.7.1