From 2c47237a314a8965f1b33be140f03eaa3e8804df Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期三, 26 六月 2024 16:47:44 +0800
Subject: [PATCH] 花城 修改关联项目筛选无数据2
---
springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/dao/ComPbServiceTeamDAO.java | 14 ++++++++++++--
1 files changed, 12 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 b977cf6..a4ad550 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,9 +23,13 @@
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.propertyId != null and pageComPbServiceTeamDTO.propertyId != ""'>"
+ + " and property_id = #{pageComPbServiceTeamDTO.propertyId} </if> "
+ + "<if test='pageComPbServiceTeamDTO.type != null and pageComPbServiceTeamDTO.type != ""'>"
+ + " and type = #{pageComPbServiceTeamDTO.type} </if> "
+ "<if test='pageComPbServiceTeamDTO.job != null and pageComPbServiceTeamDTO.job.trim() != ""'>"
+ "AND job LIKE concat(\n" + "#{pageComPbServiceTeamDTO.job},\n" + "'%')" + " </if> " + "</script>")
IPage<ComPbServiceTeamVO> PageComPbServiceTeamDTO(Page page,
@@ -35,7 +39,13 @@
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);
+
+ IPage<ComPbServiceTeamVO> pageServiceTeamProperty(Page page, @Param("pageComPbServiceTeamDTO")PageComPbServiceTeamDTO pageComPbServiceTeamDTO);
+
+
+ ComPbServiceTeamVO getComPbServiceTeamData(@Param("communityId") String communityId,
+ @Param("phone") String phone);
}
--
Gitblit v1.7.1