fix:同步待办需求类型和仿真类型调换

This commit is contained in:
2026-02-04 19:12:02 +08:00
parent 0cb0e25c2f
commit fb1fb108c5
2 changed files with 4 additions and 4 deletions

View File

@@ -424,8 +424,8 @@ public class LyricInternalServiceImpl implements ILyricInternalService {
req.setUuid(demandUuid);
req.setDemandName(todo.getSubject());
req.setDemandCode(ObjectUtils.isNotEmpty(todo.getTodoId()) ? String.valueOf(todo.getTodoId()) : null);
req.setDemandType(todo.getEmulationType());
req.setSimType(todo.getRelevanceTask());
req.setDemandType(todo.getRelevanceTask());
req.setSimType(todo.getEmulationType());
req.setDemandStatus("0");
req.setAchieveStatus("0");
req.setProgress(0);

View File

@@ -3238,8 +3238,8 @@ public class NodeServiceImpl extends ServiceImpl<SimulationNodeMapper, Simulatio
demandAddReq.setUuid(demandUuid);
demandAddReq.setDemandName(todoItem.getSubject());
demandAddReq.setDemandCode(ObjectUtils.isNotEmpty(todoItem.getTodoId()) ? String.valueOf(todoItem.getTodoId()) : null);
demandAddReq.setDemandType(todoItem.getEmulationType());
demandAddReq.setSimType(todoItem.getRelevanceTask());
demandAddReq.setDemandType(todoItem.getRelevanceTask());
demandAddReq.setSimType(todoItem.getEmulationType());
demandAddReq.setDemandStatus("0");
demandAddReq.setAchieveStatus("0");
demandAddReq.setProgress(0);