|
|
@@ -259,7 +259,7 @@ public class ProjectDeclareStateMachineBuilder { |
|
|
|
|
|
|
|
@Override |
|
|
|
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); |
|
|
|
return result; |
|
|
|
} |
|
|
|