| | |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @program: springcloud_k8s_panzhihuazhihuishequ |
| | | * @description: 服务团队 |
| | |
| | | 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 != ""'>" + |
| | | " and name LIKE concat( #{param}, '%' ) \n" + |
| | | " </if> " + |
| | | "</script>") |
| | | List<ComPbServiceTeamVO> getTotlePerson(@Param("param") String param, @Param("communityId") Long communityId); |
| | | } |