Commit 8b077102 authored by liqin's avatar liqin 💬

bug fixed

parent 44ce882f
...@@ -153,7 +153,7 @@ public class VideoContentController extends BaseController { ...@@ -153,7 +153,7 @@ public class VideoContentController extends BaseController {
final List<ExhibitionBoard> exhibitionBoardList = this.exhibitionBoardService.list(Wrappers.<ExhibitionBoard>lambdaQuery().eq(ExhibitionBoard::getVideoContentId, id)); final List<ExhibitionBoard> exhibitionBoardList = this.exhibitionBoardService.list(Wrappers.<ExhibitionBoard>lambdaQuery().eq(ExhibitionBoard::getVideoContentId, id));
if (!exhibitionBoardList.isEmpty()) { if (!exhibitionBoardList.isEmpty()) {
final String collect = exhibitionBoardList.stream().map(ExhibitionBoard::getName).collect(Collectors.joining("、")); final String collect = exhibitionBoardList.stream().map(ExhibitionBoard::getName).collect(Collectors.joining("、"));
return getFailResult(collect); return getResult(collect);
} }
return getSuccessResult(); return getSuccessResult();
} }
......
...@@ -79,7 +79,7 @@ public class BaseController implements Serializable { ...@@ -79,7 +79,7 @@ public class BaseController implements Serializable {
Map<String, Object> map = new LinkedHashMap<>(); Map<String, Object> map = new LinkedHashMap<>();
map.put(RESULT_INFO_ENUM.RESULT_CODE.getKey(), RESPONSE_CODE_ENUM.REQUEST_SUCCESS.getResultCode()); map.put(RESULT_INFO_ENUM.RESULT_CODE.getKey(), RESPONSE_CODE_ENUM.REQUEST_SUCCESS.getResultCode());
map.put(RESULT_INFO_ENUM.RESULT_MSG.getKey(), RESPONSE_CODE_ENUM.REQUEST_SUCCESS.getMessage()); map.put(RESULT_INFO_ENUM.RESULT_MSG.getKey(), RESPONSE_CODE_ENUM.REQUEST_SUCCESS.getMessage());
map.put(RESULT_INFO_ENUM.RESULT_BODY.getKey(),""); map.put(RESULT_INFO_ENUM.RESULT_BODY.getKey(), "");
return map; return map;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment