修复模型
This commit is contained in:
parent
16d3bec0f1
commit
3866266b93
@ -130,11 +130,11 @@ public class AsyncModelServiceService {
|
||||
if (aigcRespVO.isSuccess()){
|
||||
updateObj.setStatus(0);
|
||||
}else {
|
||||
updateObj.setStatus(3);
|
||||
// updateObj.setStatus(3);
|
||||
}
|
||||
modelServiceMapper.updateById(updateObj);
|
||||
}catch(Exception e){
|
||||
updateObj.setStatus(3);
|
||||
// updateObj.setStatus(3);
|
||||
modelServiceMapper.updateById(updateObj);
|
||||
};
|
||||
}
|
||||
|
@ -62,7 +62,7 @@ public class ModelServiceTaskSyncService {
|
||||
|
||||
// 使用 TypeReference 解析 JSON 字符串为 List<String>
|
||||
try {
|
||||
String query = "?filter={\"model_id\":"+modelServiceDO.getJobId()+"}";
|
||||
String query = "?filter={\"deploy_name\":"+modelServiceDO.getBaseModelName()+"}";
|
||||
String res = trainHttpService.modelTableQuery(new HashMap<>(), "model_deploy",query);
|
||||
log.info("获取 aigc model_deploy 表数据 info {}",res);
|
||||
ObjectMapper mapper = new ObjectMapper();
|
||||
|
Loading…
x
Reference in New Issue
Block a user