2025-07-28 17:27:00 +08:00
|
|
|
package com.ai.da.service;
|
|
|
|
|
|
|
|
|
|
import com.ai.da.mapper.primary.entity.APIGenerate;
|
|
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
|
|
|
|
2025-07-31 14:57:20 +08:00
|
|
|
import java.util.List;
|
|
|
|
|
|
2025-07-28 17:27:00 +08:00
|
|
|
public interface APIGenerateService extends IService<APIGenerate> {
|
|
|
|
|
|
2025-07-31 14:57:20 +08:00
|
|
|
void addAPIGenerateRecordAsync(Long accountId, String taskId, String function, String modelName, String status);
|
2025-07-28 17:27:00 +08:00
|
|
|
|
|
|
|
|
void updateAPIGenerateStatusAsync(String taskId, String status);
|
2025-07-31 14:57:20 +08:00
|
|
|
|
|
|
|
|
List<APIGenerate> getPendingTaskByStatus(String modelName);
|
2025-07-28 17:27:00 +08:00
|
|
|
}
|