|
|
@@ -488,7 +488,7 @@ public class ListeningPlanServiceImpl implements ListeningPlanServiceInterface{
|
|
|
DataListsShare t1 = fm.getT1();
|
|
|
t1.setPosterTemplate(null);
|
|
|
t1.setPoster(null);
|
|
|
- t1.setUserVisits(request.getUserVisits());
|
|
|
+ t1.setUserVisits(request.getUserVisits()+1);
|
|
|
t1.setFxGenerateImagesUrl(fm.getT2());
|
|
|
return Mono.just(t1);
|
|
|
});
|
|
|
@@ -585,8 +585,8 @@ public class ListeningPlanServiceImpl implements ListeningPlanServiceInterface{
|
|
|
}
|
|
|
|
|
|
private Mono<List<ListeningPlanNewBackgroupPoster>> getPlanNewBackgroupPoster(Mono<ListeningPlanNew> code) {
|
|
|
- return code.flatMap(plan -> template.select(Query.query(Criteria.where("poster_template_id")
|
|
|
- .is(plan.posterTemplateId())).sort(Sort.by(Sort.Order.asc("idx"))), ListeningPlanNewBackgroupPoster.class)
|
|
|
+ return code.flatMap(plan -> template.select(Query.query(Criteria.where("listening_plan_new_id")
|
|
|
+ .is(plan.listeningPlanNewId())).sort(Sort.by(Sort.Order.asc("idx"))), ListeningPlanNewBackgroupPoster.class)
|
|
|
.collectList());
|
|
|
}
|
|
|
private Mono<PosterTemplate> getPoster_template_id(Mono<ListeningPlanNew> code) {
|