package com.zt.plat.module.base.service.businessdepartmentindicator;

import java.util.*;
import jakarta.validation.*;
import com.zt.plat.module.base.controller.admin.businessdepartmentindicator.vo.*;
import com.zt.plat.module.base.dal.dataobject.businessdepartmentindicator.BusinessDepartmentIndicatorDO;
import com.zt.plat.framework.common.pojo.PageResult;

/**
 * 部门持有指标 Service 接口
 *
 * @author YangXiaofeng
 */
public interface BusinessDepartmentIndicatorService {

    /**
     * 创建部门持有指标
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    BusinessDepartmentIndicatorRespVO createBusinessDepartmentIndicator(@Valid BusinessDepartmentIndicatorSaveReqVO createReqVO);

    /**
     * 更新部门持有指标
     *
     * @param updateReqVO 更新信息
     */
    void updateBusinessDepartmentIndicator(@Valid BusinessDepartmentIndicatorSaveReqVO updateReqVO);

    /**
     * 删除部门持有指标
     *
     * @param id 编号
     */
    void deleteBusinessDepartmentIndicator(Long id);

    /**
    * 批量删除部门持有指标
    *
    * @param ids 编号
    */
    void deleteBusinessDepartmentIndicatorListByIds(List<Long> ids);

    /**
     * 获得部门持有指标
     *
     * @param id 编号
     * @return 部门持有指标
     */
    BusinessDepartmentIndicatorDO getBusinessDepartmentIndicator(Long id);

    /**
     * 获得部门持有指标分页
     *
     * @param pageReqVO 分页查询
     * @return 部门持有指标分页
     */
    PageResult<BusinessDepartmentIndicatorDO> getBusinessDepartmentIndicatorPage(BusinessDepartmentIndicatorPageReqVO pageReqVO);

}