fix(用例管理): 三方查询问题

--bug=1036153 --user=王旭 【用例查看】需求-关联需求界面,列表不支持特殊符号搜索 https://www.tapd.cn/55049933/s/1492572
This commit is contained in:
WangXu10 2024-04-10 15:04:53 +08:00 committed by 刘瑞斌
parent 024495f85f
commit 60355f031f
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ public class FunctionalCaseDemandService {
public PluginPager<PlatformDemandDTO> pageDemand(FunctionalThirdDemandPageRequest request) { public PluginPager<PlatformDemandDTO> pageDemand(FunctionalThirdDemandPageRequest request) {
DemandPageRequest demandPageRequest = new DemandPageRequest(); DemandPageRequest demandPageRequest = new DemandPageRequest();
demandPageRequest.setQuery(request.getKeyword()); demandPageRequest.setQuery(StringUtils.replace(request.getKeyword(),"\\",""));
demandPageRequest.setFilter(request.getFilter()); demandPageRequest.setFilter(request.getFilter());
demandPageRequest.setStartPage(request.getCurrent()); demandPageRequest.setStartPage(request.getCurrent());
demandPageRequest.setPageSize(request.getPageSize()); demandPageRequest.setPageSize(request.getPageSize());