package ${package.Service};
#foreach($field in ${table.fields})
        #if(${field.name.equals("name")})
                #set($hasName=true)
        #end
#end
import ${package.Entity}.${entity};
import ${superServiceClassPackage};
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import org.springframework.web.multipart.MultipartFile;
/**
 * <p>
 * $!{table.comment} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
#if(${kotlin})
interface ${table.serviceName} : ${superServiceClass}<${entity}>
#else
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {

        Page<${table.entityName}> selectPage(Page page,${table.entityName} ${table.entityPath});

        ${table.entityName} detail(Long id);

        Boolean add(${table.entityName} ${table.entityPath});

        Boolean update(${table.entityName} ${table.entityPath});

        Boolean delete(Long id);

}
#end
