| | |
| | | if(parameter instanceof Long){ |
| | | if(sql.contains("community_id = ?")&&(long)parameter==10086){ |
| | | sql=sql.replace("community_id = ?","community_id in (?)"); |
| | | parameter="30,31"; |
| | | parameter="30','31"; |
| | | boundSql.setAdditionalParameter("communityId",parameter); |
| | | PluginUtils.mpBoundSql(boundSql).sql(sql); |
| | | } |
| | |
| | | sql=sql.replace("community_id = ?","community_id in (?)"); |
| | | ((Map<?,?>) parameter).replaceAll((k,v)->{ |
| | | if(v.toString().contains("10086")){ |
| | | boundSql.setAdditionalParameter(k.toString(),"30,31"); |
| | | boundSql.setAdditionalParameter(k.toString(),"30','31"); |
| | | } |
| | | return v; |
| | | }); |
| | |
| | | if(parameter instanceof Long){ |
| | | if(sql.contains("community_id = ?")&&(long)parameter==10086){ |
| | | sql=sql.replace("community_id = ?","community_id in (?)"); |
| | | parameter="30,31"; |
| | | parameter="30','31"; |
| | | boundSql.setAdditionalParameter("communityId",parameter); |
| | | PluginUtils.mpBoundSql(boundSql).sql(sql); |
| | | } |
| | |
| | | sql=sql.replace("community_id = ?","community_id in (?)"); |
| | | ((Map<?,?>) parameter).replaceAll((k,v)->{ |
| | | if(v.toString().contains("10086")){ |
| | | boundSql.setAdditionalParameter(k.toString(),"30,31"); |
| | | boundSql.setAdditionalParameter(k.toString(),"30','31"); |
| | | } |
| | | return v; |
| | | }); |
| | |
| | | if(parameter instanceof Long){ |
| | | if(sql.contains("community_id = ?")&&(long)parameter==10086){ |
| | | sql=sql.replace("community_id = ?","community_id in (?)"); |
| | | parameter="30,31"; |
| | | parameter="30','31"; |
| | | boundSql.setAdditionalParameter("communityId",parameter); |
| | | PluginUtils.mpBoundSql(boundSql).sql(sql); |
| | | } |
| | |
| | | sql=sql.replace("community_id = ?","community_id in (?)"); |
| | | ((Map<?,?>) parameter).replaceAll((k,v)->{ |
| | | if(v.toString().contains("10086")){ |
| | | boundSql.setAdditionalParameter(k.toString(),"30,31"); |
| | | boundSql.setAdditionalParameter(k.toString(),"30','31"); |
| | | } |
| | | return v; |
| | | }); |