package com.chinaweal.aiccs.aiccs.fraudreg.service;

import com.chinaweal.aiccs.aiccs.fraudreg.entity.TFraudCheck;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.chinaweal.youfool.framework.springboot.base.query.BaseQuery;
import com.chinaweal.youfool.framework.springboot.mybatis.plus.BaseService;

import java.util.List;

/**
 * <p>
 * 撤销登记案件转现场核查表 服务类
 * </p>
 *
 * @author chinaweal
 * @since 2022-01-13
 */
public interface ITFraudCheckService extends BaseService<TFraudCheck> {


    /**
     * 新增撤销登记案件转现场核查表
     */
    TFraudCheck saveTFraudCheck(TFraudCheck tFraudCheck);

    /**
     * 修改撤销登记案件转现场核查表
     */
    void updateTFraudCheck(TFraudCheck tFraudCheck);

    /**
     * 分页查询撤销登记案件转现场核查表
     */
    IPage<TFraudCheck> listTFraudCheck(BaseQuery<TFraudCheck> query);


    /**
     * 处理动态监管检查结果
     */
    void pushCheckStatus(String inspectId);

    void batchUpdateTFraudCheck(List<TFraudCheck> tFraudCheckList);

}
