|
|
@@ -162,6 +162,8 @@ public class PlanNewOutController {
|
|
|
.and("group_type_id").is(group_type_id);
|
|
|
if(planNew.pageLine()==1){
|
|
|
criteria =criteria.and("size_type").is(2);
|
|
|
+ }else {
|
|
|
+ criteria =criteria.and("size_type").is(1);
|
|
|
}
|
|
|
Query query = Query.query(criteria);
|
|
|
Mono<List<Image>> image = template.select(query, Image.class).onErrorResume(throwable -> Mono.error(new Exception(throwable.getMessage()+"7")))
|