1、operation接口支持修改置信度
This commit is contained in:
@@ -71,4 +71,9 @@ public class SpdmTaskOprReq {
|
||||
*/
|
||||
private Integer expStatus;
|
||||
|
||||
/**
|
||||
* 置信度
|
||||
*/
|
||||
private String confidence;
|
||||
|
||||
}
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user