| | |
| | | import com.sandu.ximon.admin.utils.SpringContextUtil; |
| | | import com.sandu.ximon.dao.domain.AliConfigEntity; |
| | | import com.sandu.ximon.dao.domain.Pole; |
| | | import com.sandu.ximon.dao.domain.WxConfigEntity; |
| | | import com.sandu.ximon.dao.mapper.UsrAlipayConfigMapper; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | |
| | | |
| | | |
| | | public List<AliConfigEntity> configList(BaseConditionVO baseConditionVO){ |
| | | public List<AliConfigEntity> configList(BaseConditionVO baseConditionVO,String keyword){ |
| | | LambdaQueryWrapper<AliConfigEntity> wrapper =new LambdaQueryWrapper<>(); |
| | | System.out.println("----------------------------"+clientService.findClientId()); |
| | | PageHelper.startPage(baseConditionVO.getPageNo(), baseConditionVO.getPageSize()); |
| | |
| | | PageHelper.startPage(baseConditionVO.getPageNo(), baseConditionVO.getPageSize()); |
| | | wrapper= Wrappers.lambdaQuery(AliConfigEntity.class); |
| | | } |
| | | |
| | | if(!keyword.isEmpty()){ |
| | | wrapper= wrapper.like(AliConfigEntity::getConfigId,keyword).or( |
| | | getAppId->{ |
| | | getAppId.like(AliConfigEntity::getAppId,keyword); |
| | | } |
| | | ).or( |
| | | getPid->{ |
| | | getPid.like(AliConfigEntity::getPid,keyword); |
| | | } |
| | | ).or( |
| | | getPublicKey->{ |
| | | getPublicKey.like(AliConfigEntity::getPublicKey,keyword); |
| | | } |
| | | ).or( |
| | | getPrivateKey->{ |
| | | getPrivateKey.like(AliConfigEntity::getPrivateKey,keyword); |
| | | } |
| | | ); |
| | | } |
| | | return list(wrapper); |
| | | } |
| | | |