fix 开业营运方案筹备人为null

This commit is contained in:
shuo.wang
2024-12-20 18:38:23 +08:00
parent 8436e0c847
commit 5361cfc1d4

View File

@@ -50,13 +50,9 @@ public class OpeningOperationPlanRequest {
openingOperationPlanDO.setSurveyResult(this.surveyResult);
openingOperationPlanDO.setSurveyResultUrl(this.surveyResultUrl);
openingOperationPlanDO.setActivityThemeUrl(this.activityThemeUrl);
if (this.preparationUserIds != null) {
if (CollectionUtils.isNotEmpty(this.preparationUserIds)) {
openingOperationPlanDO.setPreparationUserIds(String.join(",", this.preparationUserIds));
} else if (this.preparationUserIds.isEmpty()) {
openingOperationPlanDO.setPreparationUserIds("");
}
}else{
if (CollectionUtils.isNotEmpty(this.preparationUserIds)) {
openingOperationPlanDO.setPreparationUserIds(String.join(",", this.preparationUserIds));
} else {
openingOperationPlanDO.setPreparationUserIds("");
}
openingOperationPlanDO.setActivityTheme(this.activityTheme);