Commit 0867698e by 吴迪

【修改】添加条件

parent 47f779ab
...@@ -23,6 +23,8 @@ public class PlanBranchServiceImpl extends ServiceImpl<PlanBranchDao, PlanBranch ...@@ -23,6 +23,8 @@ public class PlanBranchServiceImpl extends ServiceImpl<PlanBranchDao, PlanBranch
public PageUtils queryPage(Map<String, Object> params) { public PageUtils queryPage(Map<String, Object> params) {
QueryWrapper<PlanBranchEntity> planBranchEntityQueryWrapper = new QueryWrapper<>(); QueryWrapper<PlanBranchEntity> planBranchEntityQueryWrapper = new QueryWrapper<>();
planBranchEntityQueryWrapper.eq(params.containsKey("classnum"),"classnum",params.get("classnum")); planBranchEntityQueryWrapper.eq(params.containsKey("classnum"),"classnum",params.get("classnum"));
planBranchEntityQueryWrapper.eq(params.containsKey("checkflag"),"checkflag",params.get("checkflag"));
planBranchEntityQueryWrapper.like(params.containsKey("name"),"name",params.get("name"));
planBranchEntityQueryWrapper.orderByAsc("id"); planBranchEntityQueryWrapper.orderByAsc("id");
IPage<PlanBranchEntity> page = this.page( IPage<PlanBranchEntity> page = this.page(
new Query<PlanBranchEntity>().getPage(params), new Query<PlanBranchEntity>().getPage(params),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment