Pu Zhibing
2025-02-08 0ecd24b3b8101c4717adc2775bbb498261253948
ManagementIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/TIncomeController.java
@@ -97,6 +97,10 @@
        page.setRecords(tIncomeService.getList(page,id));
        return super.packForBT(page);
    }
    @RequestMapping("/getExcel")
    @ResponseBody
    public void getExcel(
@@ -112,7 +116,8 @@
        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) {
@@ -130,8 +135,13 @@
            }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("-");
            }