package com.sqx.modules.intention.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sqx.common.utils.Result;
import com.sqx.modules.intention.entity.Intention;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author www.javacoder.top
 * @since 2023-01-13
 */
public interface IntentionService extends IService<Intention> {

    Result saveUpdate(Intention Intention);

    IPage<Intention> getIntentionList(Integer page, Integer limit, Intention intention);

    List<Intention> getIntention(Long userId);
}
