1、operation接口支持修改置信度

This commit is contained in:
2026-01-27 13:23:10 +08:00
parent 3437d934db
commit 12957ce28e
2 changed files with 8 additions and 0 deletions

View File

@@ -71,4 +71,9 @@ public class SpdmTaskOprReq {
*/
private Integer expStatus;
/**
* 置信度
*/
private String confidence;
}

View File

@@ -72,6 +72,9 @@ public class SimulationTaskServiceImpl extends ServiceImpl<SimulationTaskMapper,
if (req.getDifficult() != null) {
wrapper.set(SimulationTask::getDifficult, req.getDifficult());
}
if (req.getConfidence() != null) {
wrapper.set(SimulationTask::getConfidence, req.getConfidence());
}
if (req.getExpStatus() != null) {
wrapper.set(SimulationTask::getExpStatus, req.getExpStatus());
}