Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged mybatis-plus

0 votes
945 views
1 answer
    QueryWrapper我用的是这种形式的 eq(R column, Object val) 文档里说null值不会加入sql的生成,但是实际测试还是会 mp有这种形式的 eq(boolean condition, R column, ... 所以有没有什么方法(或者说要配置什么)才能让QueryWrapper中的null值不参与sql的生成...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
863 views
1 answer
    QueryWrapper我用的是这种形式的 eq(R column, Object val) 文档里说null值不会加入sql的生成,但是实际测试还是会 mp有这种形式的 eq(boolean condition, R column, ... 所以有没有什么方法(或者说要配置什么)才能让QueryWrapper中的null值不参与sql的生成...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
4.0k views
1 answer
    QueryWrapper<Menu> queryWrapper = new QueryWrapper<>(); queryWrapper.select("menu_id","parent_id", "menu_name").eq("is_menu", 1); queryWrapper. ... 为null. 有什么办法可以不用返回这些未select的字段吗?...
asked Jan 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...