|
@@ -120,7 +120,7 @@ public class CommonServiceImpl implements ICommonService {
|
|
|
//循环前端传过来的参数 跳过 sqlkey
|
|
|
AtomicReference<String> replaceSql= new AtomicReference<>(tableSql.getTableCondition());
|
|
|
queryMap.forEach((k,v)->{
|
|
|
- if(!k.equals("sqlkey")){ //查询第一个表的数据是不会进行任何替换的
|
|
|
+ if(!k.equals("sqlkey")&&!k.equals("queryCriteriaValue")){ //查询第一个表的数据是不会进行任何替换的
|
|
|
int isExistIndex = tableSql.getTableCondition().indexOf(k);
|
|
|
replaceSql.set(tableSql.getTableCondition().replace(k, v.toString()));
|
|
|
if(isExistIndex<0){
|