cloudroam
12 小时以前 b0fee54f8475336b05c50ef3154c51f60ebd63aa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.mzl.flower.mapper.film;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mzl.flower.dto.request.film.HomeConfigQueryDTO;
import com.mzl.flower.dto.response.film.HomeConfigVO;
import com.mzl.flower.entity.film.HomeConfig;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
 
/**
 *
 * @author generator@Fang
 * @since 2025-05-29
 */
@Repository
public interface HomeConfigMapper extends BaseMapper<HomeConfig> {
 
    List<HomeConfigVO> queryPage(@Param("dto")HomeConfigQueryDTO homeConfigQueryDTO, Page page);
 
    @Select("select * from home_config where status = #{name} and deleted = '0'")
    List<HomeConfig> queryList(String name);
 
 
    @Select("select * from home_config where status = 'published' and deleted = '0' limit 1")
    HomeConfigVO getHomeConfigInfo();
}