package com.doumee.dao.business; import com.baomidou.mybatisplus.core.conditions.Wrapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.toolkit.Constants; import com.doumee.dao.business.model.OrderComment; import com.doumee.dao.web.response.OrderCommentResponse; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; /** * @author 江蹄蹄 * @date 2023/03/21 15:48 */ public interface OrderCommentMapper extends BaseMapper { @Select(" select o.* , m.NAME as memebrName , m.IMGURL as memberImgUrl from order_comment o left join member m on o.MEMBER_ID = m.id " + " ${ew.customSqlSegment} ") IPage queryPage(IPage page, @Param(Constants.WRAPPER) Wrapper wrapper); }