package com.jeesharp.business.modules.contentsecurity.service;

import com.jeesharp.business.modules.contentsecurity.entity.ContentSecurityTask;
import com.jeesharp.framework.mybatis.core.service.BaseInterface;
import com.jeesharp.framework.pojo.query.PaginationVO;

import java.util.List;

/**
 * 内容安全异步任务领域服务。
 *
 * @author jeesharp
 * @since 2026-06-27
 */
public interface ContentSecurityTaskService extends BaseInterface<ContentSecurityTask, PaginationVO> {

    void createPendingTask(ContentSecurityTask task);

    void bindBizIdByTraceIds(String bizModule, String bizId, List<String> traceIds);

    ContentSecurityTask getByTraceId(String traceId);

    void updateTaskStatus(String traceId, Integer taskStatus, String resultLabel);
}
