|
|
@@ -196,14 +196,13 @@ public class PlanNewCommonOutController {
|
|
|
*/
|
|
|
@PostMapping("kefuList")
|
|
|
public Mono<RStatus<byte[]>> kefuList(@RequestBody KefuRequest request) {
|
|
|
-<<<<<<< HEAD
|
|
|
+
|
|
|
if (null == request.getCode() || request.getCode().isEmpty()) {
|
|
|
return Mono.error(new BaseException("code为空"));
|
|
|
}
|
|
|
- Mono<PlanNewCommon> code = template.selectOne(Query.query(Criteria.where("code").is(request.getCode())), PlanNewCommon.class)
|
|
|
-=======
|
|
|
+
|
|
|
Mono<PlanNewCommon> code = template.selectOne(Query.query(Criteria.where("code").is(request.getCode())).columns(COLUMNARRAYCOMMON), PlanNewCommon.class)
|
|
|
->>>>>>> e6b35a7 (接口返回的信息中非关键信息隐藏,比如记录创建时间,更新时间,操作人,创建人信息 1)
|
|
|
+
|
|
|
.switchIfEmpty(Mono.error(new BaseException("code查询返回结构为空")))
|
|
|
.onErrorResume(throwable -> Mono.error(new BaseException("code查询返回结构为空")));
|
|
|
Mono<DataListsKefu> dataListsKefuMono = code.flatMap(planNew -> {
|