|
|
@@ -1153,7 +1153,7 @@ public class ListeningPlanServiceImpl implements ListeningPlanServiceInterface{
|
|
|
});
|
|
|
}else{
|
|
|
return template.selectOne(Query.query(Criteria.where("listening_plan_new_id").is(saveRequest.getPlanNewId())), ListeningPlanNew.class)
|
|
|
- .flatMap(f9 -> Mono.zip(Mono.just(f9), template.select(Query.query(Criteria.where("group_type_id").is(f9.groupId())
|
|
|
+ .flatMap(f9 -> Mono.zip(Mono.just(f9), template.select(Query.query(Criteria.where("group_type_id").is(saveRequest.getGroupId())
|
|
|
.and("status").is(1)
|
|
|
.and("type").is(1)
|
|
|
.and("deleted_at").isNull()), DomainSelect.class)
|