| | |
| | | } |
| | | |
| | | |
| | | public List<WxConfigEntity> configList(BaseConditionVO baseConditionVO) { |
| | | public List<WxConfigEntity> configList(BaseConditionVO baseConditionVO,String keyword) { |
| | | LambdaQueryWrapper<WxConfigEntity> wrapper = new LambdaQueryWrapper<>(); |
| | | System.out.println("----------------------------" + clientService.findClientId()); |
| | | PageHelper.startPage(baseConditionVO.getPageNo(), baseConditionVO.getPageSize()); |
| | |
| | | PageHelper.startPage(baseConditionVO.getPageNo(), baseConditionVO.getPageSize()); |
| | | wrapper = Wrappers.lambdaQuery(WxConfigEntity.class); |
| | | } |
| | | if(!keyword.isEmpty()){ |
| | | wrapper= wrapper.like(WxConfigEntity::getConfigId,keyword).or( |
| | | appid->{ |
| | | appid.like(WxConfigEntity::getAppid,keyword); |
| | | } |
| | | ).or( |
| | | appappid->{ |
| | | appappid.like(WxConfigEntity::getAppappid,keyword); |
| | | } |
| | | ).or( |
| | | mchId->{ |
| | | mchId.like(WxConfigEntity::getMchId,keyword); |
| | | } |
| | | ).or( |
| | | privateKey->{ |
| | | privateKey.like(WxConfigEntity::getPrivateKey,keyword); |
| | | } |
| | | ); |
| | | } |
| | | return list(wrapper); |
| | | } |
| | | |