Commit 79337f2f authored by Vu Duy Anh's avatar Vu Duy Anh

anhvd commit

parent 5e3ed78c
...@@ -173,8 +173,8 @@ public class CampaignRepositoryImpl implements CampaignRepositoryCustom { ...@@ -173,8 +173,8 @@ public class CampaignRepositoryImpl implements CampaignRepositoryCustom {
query.setParameter("p_name", "%" + query.setParameter("p_name", "%" +
requestDto.getCampaignName().trim().toUpperCase() requestDto.getCampaignName().trim().toUpperCase()
.replace("\\", "\\\\") .replace("\\", "\\\\")
.replaceAll("%", "\\\\%") .replaceAll("%", "\\%")
.replaceAll("_", "\\\\_") .replaceAll("_", "\\_")
+ "%"); + "%");
} }
......
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