package com.cpop.oam.business.service;

import com.cpop.oam.business.bo.SignGoalBo;
import com.cpop.oam.business.vo.SignGoalPageVo;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.cpop.oam.business.entity.SignGoal;

/**
 * 签约目标表 服务层。
 *
 * @author DB
 * @since 2024-02-19
 */
public interface SignGoalService extends IService<SignGoal> {

    /**
     * 签约指标分页
     * @author DB
     * @since 2024/2/19
     * @return R<Page<SignGoalPageVo>>
     */
    Page<SignGoalPageVo> getSignGoalPage();

    /**
     * 新增签约指标
     * @author DB
     * @since 2024/2/19
     * @param bo 请求参数
     */
    void insertSignGoal(SignGoalBo bo);

    /**
     * 修改签约指标
     * @author DB
     * @since 2024/2/19
     * @param bo 请求参数
     */
    void updateSignGoal(SignGoalBo bo);
}
