| | |
| | | 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() != ""'>" |
| | |
| | | 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); |
| | | } |