package com.zy.crm.manager.mapper; import com.baomidou.mybatisplus.mapper.BaseMapper; import com.baomidou.mybatisplus.plugins.Page; import com.zy.crm.manager.entity.Order; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; @Mapper @Repository public interface OrderMapper extends BaseMapper { Order selectByUuid(@Param("hostId") Long hostId, @Param("uuid") String uuid); Order selectOrderByNewestUuid(@Param("hostId") Long hostId); List listByPage(Page page, @Param("hostId")Long hostId, @Param("deptId") String deptId, @Param("userId") Long userId , @Param("condition") String condition); }