|
@@ -259,7 +259,7 @@ public class ProjectDeclareStateMachineBuilder { |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { |
|
|
public StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> read(Project contextObj) { |
|
|
StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValueByCode(contextObj.getProjectStatusSecond()), |
|
|
|
|
|
|
|
|
StateMachineContext<ProjectStatusEnum, ProjectStatusChangeEvent> result = new DefaultStateMachineContext(ProjectStatusEnum.getValueByCode(contextObj.getStatus()), |
|
|
null, null, null, null, MACHINEID_TO); |
|
|
null, null, null, null, MACHINEID_TO); |
|
|
return result; |
|
|
return result; |
|
|
} |
|
|
} |
|
|