lxp
2025-03-15 5c92f5ec07c74272c7bfd658ef9c9f5ceb02cfb1
inspect-server/src/main/java/com/ruoyi/inspect/controller/InsOrderController.java
@@ -151,8 +151,7 @@
    @ApiOperation(value = "费用统计获取总价")
    @GetMapping("/costStatistics2")
    public Result<?> costStatistics2(@RequestBody Map<String, Object> data) throws Exception {
        CostStatisticsDto costStatisticsDto = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), CostStatisticsDto.class);
    public Result<?> costStatistics2( CostStatisticsDto costStatisticsDto) throws Exception {
        return Result.success(insOrderService.costStatistics2(costStatisticsDto));
    }
@@ -307,9 +306,7 @@
    @ApiOperation(value = "查看费用统计列表")
    @GetMapping("/costStatistics")
    public Result<?> costStatistics(@RequestBody Map<String, Object> data) throws Exception {
        Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class);
        CostStatisticsDto costStatisticsDto = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), CostStatisticsDto.class);
    public Result<?> costStatistics(Page page,CostStatisticsDto costStatisticsDto) throws Exception {
        return Result.success(insOrderService.costStatistics(page, costStatisticsDto));
    }
@@ -326,4 +323,4 @@
    public Result permute(Integer num, Boolean isValue) {
        return Result.success(insOrderService.permute(num,isValue));
    }
}
}