|
|
@@ -563,7 +563,8 @@ public class PlanNewOutController {
|
|
|
if (request.getCode() == null || request.getCode().isEmpty()) {
|
|
|
throw new BaseException("code不能为空");
|
|
|
}
|
|
|
- Mono<PlanNew> code0 = template.selectOne(Query.query(Criteria.where("code").is(request.getCode())), PlanNew.class)
|
|
|
+ Mono<PlanNew> code0 = template.selectOne(Query.query(Criteria.where("code").is(request.getCode()))
|
|
|
+ .columns(COLUMNARRAYPLANNEW), PlanNew.class)
|
|
|
.switchIfEmpty(Mono.error(new BaseException(" code错误")))
|
|
|
.onErrorResume(throwable -> Mono.error(new BaseException(throwable.getMessage())));
|
|
|
// 获取用户访问次数
|