| | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.dsh.other.entity.Site; |
| | | import com.dsh.other.model.QueryMySiteVo; |
| | | import com.dsh.other.model.QuerySiteList; |
| | | import com.dsh.other.model.QuerySiteListVo; |
| | | import com.dsh.other.model.dto.siteDto.TSiteDTO; |
| | | import com.dsh.other.model.vo.siteVo.ExpireSiteSearchVO; |
| | | import com.dsh.other.model.vo.siteVo.SiteSearchVO; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | | * @date 2023/7/13 16:10 |
| | | */ |
| | | public interface SiteMapper extends BaseMapper<Site> { |
| | | |
| | | |
| | | /** |
| | | * 获取场地列表 |
| | | * |
| | | * @param querySiteList |
| | | * @return |
| | | */ |
| | | List<QuerySiteListVo> querySiteList(@Param("item") QuerySiteList querySiteList); |
| | | |
| | | |
| | | /** |
| | | * 获取我的预约场地列表 |
| | | * |
| | | * @param uid |
| | | * @param status |
| | | * @param pageNo |
| | | * @param pageSize |
| | | * @return |
| | | */ |
| | | List<QueryMySiteVo> queryMySite(@Param("uid") Integer uid, @Param("status") Integer status, |
| | | @Param("pageNo") Integer pageNo, @Param("pageSize") Integer pageSize); |
| | | |
| | | List<TSiteDTO> listAll(@Param("query") SiteSearchVO vo); |
| | | |
| | | |
| | | Object changeState(@Param("siteIds") List<Integer> siteIds, @Param("type") Integer type); |
| | | |
| | | List<TSiteDTO> listExipre(@Param("query") ExpireSiteSearchVO vo); |
| | | |
| | | String getSMIDByOperatorId(@Param("id")Integer id); |
| | | |
| | | } |