package com.chinaweal.aiccs.aiccs.market.service;

import com.chinaweal.aiccs.aiccs.market.entity.EntAddressChangeLog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.chinaweal.youfool.framework.springboot.base.query.BaseQuery;

/**
 * <p>
 * 企业主体地址更新审计表 服务类
 * </p>
 *
 * @author chinaweal
 * @since 2022-07-07
 */
public interface IEntAddressChangeLogService extends IService<EntAddressChangeLog> {


    /**
     * 新增企业主体地址更新审计表
     */
    EntAddressChangeLog saveEntAddressChangeLog(EntAddressChangeLog entAddressChangeLog);

    /**
     * 修改企业主体地址更新审计表
     */
    void updateEntAddressChangeLog(EntAddressChangeLog entAddressChangeLog);

    /**
     * 分页查询企业主体地址更新审计表
     */
    IPage<EntAddressChangeLog> listEntAddressChangeLog(BaseQuery<EntAddressChangeLog> query);

    void autoClaimAIForAddressChange(EntAddressChangeLog entAddressChangeLog);

}
