package com.yunzhupaas.engine.service;

import com.yunzhupaas.base.service.SuperService;
import com.yunzhupaas.engine.entity.FlowRejectDataEntity;

/**
 * 冻结审批
 *
 * @author 云筑产品开发平台组
 * @version V3.1.0
 * @copyright 深圳市乐程软件有限公司
 * @date 2024-09-29 上午9:18
 */
public interface FlowRejectDataService extends SuperService<FlowRejectDataEntity> {

    /**
     * 新增
     *
     * @param rejectEntity
     */
    void createOrUpdate(FlowRejectDataEntity rejectEntity);

    /**
     * 新增
     *
     * @param rejectEntity
     */
    void create(FlowRejectDataEntity rejectEntity);

    /**
     * 更新
     *
     * @param rejectEntity
     */
    void update(String id, FlowRejectDataEntity rejectEntity);

    /**
     * 获取信息
     *
     * @param id
     * @return
     */
    FlowRejectDataEntity getInfo(String id);

}

