| | |
| | | page.setRecords(tIncomeService.getList(page,id)); |
| | | return super.packForBT(page); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | @RequestMapping("/getExcel") |
| | | @ResponseBody |
| | | public void getExcel( |
| | |
| | | List<String> shellList = new ArrayList<String>(); |
| | | shellList.add("日期"); |
| | | shellList.add("活动收入"); |
| | | shellList.add("业务收入"); |
| | | shellList.add("在线支付收入"); |
| | | shellList.add("现金支付收入"); |
| | | |
| | | dataList.add(shellList); |
| | | for (Map<String, Object> map : list) { |
| | |
| | | }else{ |
| | | shellList.add("-"); |
| | | } |
| | | if(SinataUtil.isNotEmpty(map.get("orderMoney"))){ |
| | | shellList.add(map.get("orderMoney").toString()); |
| | | if(SinataUtil.isNotEmpty(map.get("onlineMoney"))){ |
| | | shellList.add(map.get("onlineMoney").toString()); |
| | | }else{ |
| | | shellList.add("-"); |
| | | } |
| | | if(SinataUtil.isNotEmpty(map.get("cashMoney"))){ |
| | | shellList.add(map.get("cashMoney").toString()); |
| | | }else{ |
| | | shellList.add("-"); |
| | | } |