第三次课程提交 声音系统的管理和提交(ture)
This commit is contained in:
parent
6034ffa8c5
commit
bd01733db6
|
@ -6,10 +6,11 @@ import com.atguigu.tingshu.vo.album.TrackListVo;
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface TrackInfoMapper extends BaseMapper<TrackInfo> {
|
public interface TrackInfoMapper extends BaseMapper<TrackInfo> {
|
||||||
|
|
||||||
|
|
||||||
Page<TrackListVo> findUserTrackPage(Page<TrackListVo> pageInfo, TrackInfoQuery trackInfoQuery);
|
Page<TrackListVo> findUserTrackPage(Page<TrackListVo> pageInfo,@Param("vo")TrackInfoQuery trackInfoQuery);
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
and status = #{vo.status}
|
and status = #{vo.status}
|
||||||
</if>
|
</if>
|
||||||
<if test="vo.trackTitle != null and vo.trackTitle != ''">
|
<if test="vo.trackTitle != null and vo.trackTitle != ''">
|
||||||
and track_title like concat('%',#{vo.trackTitle},'%')
|
and track_title like concat('%', #{vo.trackTitle}, '%')
|
||||||
</if>
|
</if>
|
||||||
and ti.is_deleted = 0
|
and ti.is_deleted = 0
|
||||||
</where>
|
</where>
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue