|
|
|
@ -8,6 +8,7 @@ import com.example.demo.Util.ExcelUploadUtil; |
|
|
|
import com.example.demo.Util.JWTUtil; |
|
|
|
import com.example.demo.controller.bean.BeanConsumeController; |
|
|
|
import com.example.demo.controller.bean.BeanRechargeController; |
|
|
|
import com.example.demo.controller.cash.CashCollectionController; |
|
|
|
import com.example.demo.controller.cash.CashRefundController; |
|
|
|
import com.example.demo.controller.coin.ConsumeController; |
|
|
|
import com.example.demo.controller.coin.GoldDetailController; |
|
|
|
@ -85,6 +86,8 @@ public class ExportExcelServiceImpl implements ExportExcelService { |
|
|
|
private AuthenticationManager authenticationManager; |
|
|
|
@Autowired |
|
|
|
private CashRefundController cashRefundController; |
|
|
|
@Autowired |
|
|
|
private CashCollectionController cashCollectionController; |
|
|
|
// 每页查询的数据量 |
|
|
|
private static final int PAGE_SIZE = 5000; |
|
|
|
@Autowired |
|
|
|
@ -294,7 +297,7 @@ public class ExportExcelServiceImpl implements ExportExcelService { |
|
|
|
JsonNode beanRechargeNode = requestDataNode.path("cashCollection"); |
|
|
|
CashCollection cashCollection = objectMapper.treeToValue(beanRechargeNode, CashCollection.class); |
|
|
|
page.setCashCollection(cashCollection); |
|
|
|
return cashRefundController.export(page); |
|
|
|
return cashCollectionController.export(page); |
|
|
|
} catch (Exception e) { |
|
|
|
throw new RuntimeException(e); |
|
|
|
} |
|
|
|
|