人脸识别与大模型问答
This commit is contained in:
parent
45ac05fc06
commit
5328298b51
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>com.bonus</groupId>
|
||||
<artifactId>bonus-modules</artifactId>
|
||||
<version>24.9.0-SNAPSHOT</version>
|
||||
<version>24.10.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
|
|
|||
|
|
@ -525,6 +525,12 @@ public class DataSetServiceImpl implements DataSetService {
|
|||
return AjaxResult.error("上传文件失败");
|
||||
}
|
||||
}
|
||||
if(ObjectUtils.isEmpty(entity.getUserGuide()) || "null".equals(entity.getUserGuide())){
|
||||
entity.setUserGuide(null);
|
||||
}
|
||||
if (ObjectUtils.isEmpty(entity.getModelAddress()) || "null".equals(entity.getModelAddress())) {
|
||||
entity.setModelAddress(null);
|
||||
}
|
||||
int i = mapper.updateModel(entity);
|
||||
return i > 0 ? AjaxResult.success("修改成功") : AjaxResult.error("修改失败");
|
||||
} catch (Exception e) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue