| | |
| | | wrapper.eq("order_date",sendDate); |
| | | } |
| | | IPage<OrderTask> data = iOrderTaskService.page(PageUtil.initMpPage(page),wrapper); |
| | | List<OrderTask> records = data.getRecords(); |
| | | for (OrderTask record : records) { |
| | | if(record.getAreaSectionId() != null){ |
| | | AreaSection byId = iAreaSectionService.getById(record.getAreaSectionId()); |
| | | if(byId != null){ |
| | | record.setAreaSectionName(byId.getName()); |
| | | } |
| | | } |
| | | } |
| | | data.setRecords(records); |
| | | return new ResultUtil<IPage<OrderTask>>().setData(data); |
| | | } |
| | | |
| | |
| | | |
| | | |
| | | } |
| | | |
| | | public void updateCustomerRecive(String customerId,String linker,String phone){ |
| | | QueryWrapper<CustomerReceive> wrapper = new QueryWrapper<>(); |
| | | wrapper.eq("customer_id",customerId); |