|
|
@@ -129,7 +129,7 @@ public class ProblemSurveyController {
|
|
|
intent.setUserId(userId);
|
|
|
intent.setIntentType(domain != null ? "C" : "B");
|
|
|
intent.setProblemDomainCode(problemDomainCode != null ? problemDomainCode : "");
|
|
|
- intent.setJourneyStage(3);
|
|
|
+ intent.setJourneyStage(2);
|
|
|
intent.setStageUpdatedAt(now);
|
|
|
intent.setSurveyTemplateId(template.getId());
|
|
|
intent.setSurveySubmittedAt(now);
|
|
|
@@ -141,9 +141,9 @@ public class ProblemSurveyController {
|
|
|
intent.setSurveyTemplateId(template.getId());
|
|
|
intent.setSurveySubmittedAt(now);
|
|
|
intent.setSurveyResultJson(toJson(snapshot));
|
|
|
- // 调研完成推进到阶段3
|
|
|
- if (intent.getJourneyStage() == null || intent.getJourneyStage() < 3) {
|
|
|
- intent.setJourneyStage(3);
|
|
|
+ // 调研完成推进到阶段2(文档状态机:2=调研已提交)
|
|
|
+ if (intent.getJourneyStage() == null || intent.getJourneyStage() < 2) {
|
|
|
+ intent.setJourneyStage(2);
|
|
|
intent.setStageUpdatedAt(now);
|
|
|
}
|
|
|
intent.setUpdatedAt(now);
|