package com.panzhihua.service_community.dao;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.panzhihua.service_community.model.dos.ComOpsAdvDO;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Select;
|
|
import java.util.List;
|
|
/**
|
* @program: springcloud_k8s_panzhihuazhihuishequ
|
* @description: 广告
|
* @author: huang.hongfa weixin hhf9596 qq 959656820
|
* @create: 2020-12-28 15:40
|
**/
|
@Mapper
|
public interface ComOpsAdvDAO extends BaseMapper<ComOpsAdvDO> {
|
// @Select("<script> " +
|
// " <where>" +
|
// "<if test='nameCn != null and nameCn.trim() != ""'>" +
|
// " </if> " +
|
// "<if test='nameCn != null and nameCn.trim() != ""'>" +
|
// " </if> " +
|
// "<if test='nameCn != null and nameCn.trim() != ""'>" +
|
// " </if> " +
|
// " </where>" +
|
// "</script>")
|
@Select("SELECT\n" +
|
"jump_id \n" +
|
"FROM\n" +
|
"com_ops_adv \n" +
|
"WHERE\n" +
|
"jump_id IS NOT NULL \n" +
|
"AND jump_id !=0")
|
List<Long> selectAllBeUsedContent();
|
}
|