|
@@ -1,6 +1,7 @@
|
|
package com.caimei.modules.order.web;
|
|
package com.caimei.modules.order.web;
|
|
|
|
|
|
import com.caimei.modules.common.utils.ExcelUtil;
|
|
import com.caimei.modules.common.utils.ExcelUtil;
|
|
|
|
+import com.caimei.modules.order.entity.CmPayShop;
|
|
import com.caimei.modules.order.entity.CmRefundShop;
|
|
import com.caimei.modules.order.entity.CmRefundShop;
|
|
import com.caimei.modules.order.service.CmRefundShopService;
|
|
import com.caimei.modules.order.service.CmRefundShopService;
|
|
import com.caimei.modules.user.entity.CmUserOrganize;
|
|
import com.caimei.modules.user.entity.CmUserOrganize;
|
|
@@ -84,8 +85,7 @@ public class CmRefundShopController extends BaseController {
|
|
String templateFileName = template + "/refundShopList.xls";
|
|
String templateFileName = template + "/refundShopList.xls";
|
|
try {
|
|
try {
|
|
Map data = new HashMap<String, Object>();
|
|
Map data = new HashMap<String, Object>();
|
|
- Page<CmRefundShop> page = cmRefundShopService.findPage(new Page<CmRefundShop>(request, response), cmRefundShop);
|
|
|
|
- List<CmRefundShop> list = page.getList();
|
|
|
|
|
|
+ List<CmRefundShop> list = cmRefundShopService.exports(new Page<CmRefundShop>(request, response), cmRefundShop);
|
|
data.put("list", list);
|
|
data.put("list", list);
|
|
new ExcelUtil().createExcel(templateFileName, data, fileName, response);
|
|
new ExcelUtil().createExcel(templateFileName, data, fileName, response);
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|