将逗号拼接的字符串转义为SQL中IN的条件

String x = "'" + ***.getxxxName().replaceAll("(,)", "'$1'") + "'";

猜你喜欢

转载自blog.csdn.net/c15162/article/details/109846334