tangxiaobao
2021-07-31 a4a3f30fa1868c7c8b823a947a5cda423acce57d
springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/dao/ComPbServiceTeamDAO.java
@@ -12,6 +12,8 @@
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.List;
/**
 * @program: springcloud_k8s_panzhihuazhihuishequ
 * @description: 服务团队
@@ -39,4 +41,16 @@
    IPage<ComPbServiceTeamVO> PageComPbServiceTeamDTO(Page page, @Param("pageComPbServiceTeamDTO") PageComPbServiceTeamDTO pageComPbServiceTeamDTO);
    @Select("select * from com_pb_service_team where id=#{id}")
    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 != &quot;&quot;'>" +
            " and name LIKE concat( #{param}, '%' ) \n" +
            " </if> " +
            "</script>")
    List<ComPbServiceTeamVO> getTotlePerson(@Param("param") String param, @Param("communityId") Long communityId);
}