盤古云 PostgreSQL之?dāng)?shù)據(jù)庫及對(duì)象管理
2023-01-07 15:20 作者:娜娜絡(luò)絡(luò) | 我要投稿
?boolean isChinese = PinyinUtil.isChinese(keyword.charAt(0));
? ? ? ? ? ?if(isChinese){
? ? ? ? ? ? ? ?pageSearchVO.setFieldList(Arrays.asList("school","schoolFullName"));
? ? ? ? ? ?}else{
? ? ? ? ? ? ? ?pageSearchVO.setFieldList(Arrays.asList("school.pinyin","schoolFullName.pinyin"));
? ? ? ? ? ?}
標(biāo)簽: