package ${package.ServiceImpl};

import ${package.Entity}.${entity};
import ${package.Mapper}.${table.mapperName};
import ${package.Service}.${table.serviceName};
import ${package.Xml}.${entity}Dto;
import org.typroject.tyboot.core.rdbms.service.BaseService;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;

/**
 * ${table.comment!}服务实现类
 *
 * @author ${author}
 * @date ${date}
 */
@Service
public class ${table.serviceImplName} extends BaseService<${entity}Dto,${entity},${table.mapperName}> implements ${table.serviceName} {
    /**
     * 分页查询
     */
    public Page<${entity}Dto> queryFor${entity}Page(Page<${entity}Dto> page)   {
        return this.queryForPage(page, null, false);
    }

    /**
     * 列表查询 示例
     */
    public List<${entity}Dto> queryFor${entity}List()   {
        return this.queryForList("" , false);
    }
}