package com.yeejoin.amos.boot.module.jg.api.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yeejoin.amos.boot.biz.common.bo.ReginParams;
import com.yeejoin.amos.boot.module.jg.api.dto.JgChangeRegistrationTransferDto;
import com.yeejoin.amos.boot.module.jg.api.entity.JgChangeRegistrationTransfer;

import java.util.Map;

/**
 * 移装变更登记登记接口类
 *
 * @author system_generator
 * @date 2023-12-20
 */
public interface IJgChangeRegistrationTransferService extends IService<JgChangeRegistrationTransfer> {

    boolean updateTransfer(String submitType, Map<String, Object> map, ReginParams reginParams);

    boolean createTransfer(String submitType, Map<String, Object> map, ReginParams reginParams);

    boolean deleteBatchBySequenceNbrs(Long[] sequenceNbrs);

    Map<String, Map<String, Object>> getTransferDetail(String sequenceNbr, String equipId);

    Page<Map<String, Object>> queryListForPage(Page<Map<String, Object>> page, JgChangeRegistrationTransferDto params);

    void flowExecute(Long sequenceNbr, String instanceId, String operate, String comment, boolean update);

    void revocation(String instanceId);
}
