package com.community.huiju.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.community.huiju.model.TpTicket;
import com.community.huiju.vo.TpTicketVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 工单表 Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2019-02-14
 */
@Mapper
public interface TpTicketMapper extends BaseMapper<TpTicket> {

    IPage<TpTicket> ticketList(Page page, @Param("ticket")TpTicket ticket ,@Param("userName") String UserNmae,@Param("updateUserNmae") String updateUserNmae,@Param("communityId") Integer communityId);
    TpTicketVO ticketDetails(@Param("id") Integer id);
}
