1、operation接口支持编辑描述
This commit is contained in:
@@ -87,4 +87,9 @@ public class SpdmTaskOprReq {
|
||||
private String tag9;
|
||||
private String tag10;
|
||||
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
private String description;
|
||||
|
||||
}
|
||||
|
||||
@@ -118,6 +118,7 @@ public class SimulationTaskServiceImpl extends ServiceImpl<SimulationTaskMapper,
|
||||
if (req.getExpStatus() != null) {
|
||||
wrapper.set(SimulationTask::getExpStatus, req.getExpStatus());
|
||||
}
|
||||
wrapper.set(SimulationTask::getDescription, req.getDescription());
|
||||
wrapper.set(SimulationTask::getCreator, ThreadLocalContext.getUserId());
|
||||
wrapper.set(SimulationTask::getUpdateTime, DateUtil.now());
|
||||
return this.update(wrapper);
|
||||
|
||||
Reference in New Issue
Block a user