修改运营方案
This commit is contained in:
@@ -28,13 +28,13 @@ public class OpeningOperationPlanRequest {
|
||||
private String surveyResult;
|
||||
|
||||
@ApiModelProperty("调研结果url")
|
||||
private List<String> surveyResultUrl;
|
||||
private String surveyResultUrl;
|
||||
|
||||
@ApiModelProperty("活动主题")
|
||||
private String activityTheme;
|
||||
|
||||
@ApiModelProperty("活动主题url")
|
||||
private List<String> activityThemeUrl;
|
||||
private String activityThemeUrl;
|
||||
|
||||
@ApiModelProperty("筹备人员ids")
|
||||
private List<String> preparationUserIds;
|
||||
@@ -49,12 +49,8 @@ public class OpeningOperationPlanRequest {
|
||||
openingOperationPlanDO.setShopId(this.shopId);
|
||||
openingOperationPlanDO.setPlanSource(this.planSource);
|
||||
openingOperationPlanDO.setSurveyResult(this.surveyResult);
|
||||
if (CollectionUtils.isNotEmpty(this.surveyResultUrl)) {
|
||||
openingOperationPlanDO.setSurveyResultUrl(String.join(",", this.surveyResultUrl));
|
||||
}
|
||||
if (CollectionUtils.isNotEmpty(this.activityThemeUrl)) {
|
||||
openingOperationPlanDO.setActivityThemeUrl(String.join(",", this.activityThemeUrl));
|
||||
}
|
||||
openingOperationPlanDO.setSurveyResultUrl(this.surveyResultUrl);
|
||||
openingOperationPlanDO.setActivityThemeUrl( this.activityThemeUrl);
|
||||
if (CollectionUtils.isNotEmpty(this.preparationUserIds)) {
|
||||
openingOperationPlanDO.setPreparationUserIds(String.join(",", this.preparationUserIds));
|
||||
}
|
||||
|
||||
@@ -26,13 +26,13 @@ public class OpeningOperationPlanVO {
|
||||
private String surveyResult;
|
||||
|
||||
@ApiModelProperty("调研结果url")
|
||||
private List<String> surveyResultUrl;
|
||||
private String surveyResultUrl;
|
||||
|
||||
@ApiModelProperty("活动主题")
|
||||
private String activityTheme;
|
||||
|
||||
@ApiModelProperty("活动主题url")
|
||||
private List<String> activityThemeUrl;
|
||||
private String activityThemeUrl;
|
||||
|
||||
@ApiModelProperty("筹备人员name")
|
||||
private List<UserNameDTO> preparationUsers;
|
||||
@@ -61,12 +61,8 @@ public class OpeningOperationPlanVO {
|
||||
this.submittedUserId = openingOperationPlanDO.getSubmittedUserId();
|
||||
this.submissionTime = openingOperationPlanDO.getSubmissionTime();
|
||||
this.routeCompleted = openingOperationPlanDO.getRouteCompleted();
|
||||
if (StringUtils.isNotBlank(openingOperationPlanDO.getActivityThemeUrl())) {
|
||||
this.activityThemeUrl = Arrays.asList(openingOperationPlanDO.getActivityThemeUrl().split(",")) ;
|
||||
}
|
||||
if (StringUtils.isNotBlank(openingOperationPlanDO.getSurveyResultUrl())) {
|
||||
this.surveyResultUrl = Arrays.asList(openingOperationPlanDO.getSurveyResultUrl().split(",")) ;
|
||||
}
|
||||
this.activityThemeUrl = openingOperationPlanDO.getActivityThemeUrl();
|
||||
this.surveyResultUrl = openingOperationPlanDO.getSurveyResultUrl();
|
||||
this.activityTheme = openingOperationPlanDO.getActivityTheme();
|
||||
this.surveyResult = openingOperationPlanDO.getSurveyResult();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user