//1 根据条件查询
public List<Message> findAllMessageBy(String name,String email,String content){
String sql = " select * from message where 1 = 1 ";
String subSql = createSubSql(name,email,content);
sql = sql + subSql;
System.out.println
JDBC根据条件查询代码
最新推荐文章于 2023-10-03 23:05:11 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)