| | |
| | | public Map<String, Object> queryOrderList(QueryJhyOrderListDto model) { |
| | | PageHelper.startPage(model.getPage(), model.getLimit()); |
| | | String accountPhone = model.getAccount(); |
| | | String name = StrUtil.isEmpty(model.getAccount())?model.getAccount():StringUtils.encode(model.getAccount()); |
| | | // String name = StrUtil.isEmpty(model.getAccount())?model.getAccount():StringUtils.encode(model.getAccount()); |
| | | String name = model.getAccount(); |
| | | model.setAccount(name); |
| | | model.setAccountPhone(accountPhone); |
| | | List<QueryJhyOrderListVo> maps = jhyOrderMapper.queryOrderList(model); |
| | | if(CollUtil.isNotEmpty(maps)){ |
| | | for(QueryJhyOrderListVo queryJhyOrderListVo : maps){ |
| | | String decode = StringUtils.decode(queryJhyOrderListVo.getName()); |
| | | queryJhyOrderListVo.setName(decode); |
| | | } |
| | | } |
| | | // if(CollUtil.isNotEmpty(maps)){ |
| | | // for(QueryJhyOrderListVo queryJhyOrderListVo : maps){ |
| | | // String decode = StringUtils.decode(queryJhyOrderListVo.getName()); |
| | | // queryJhyOrderListVo.setName(decode); |
| | | // } |
| | | // } |
| | | PageInfo pageInfo = new PageInfo(maps); |
| | | int count = Convert.toInt(pageInfo.getTotal()); |
| | | Map<String, Object> map = new HashMap<>(); |