jiangping
2024-07-09 ddbb93dae803ea73b06bad25fb12eaa322768d18
server/company/src/main/java/com/doumee/api/business/ApplyChangeController.java
@@ -13,6 +13,7 @@
import com.doumee.dao.business.model.ApplyChange;
import com.doumee.dao.business.vo.CountCyclePriceVO;
import com.doumee.service.business.ApplyChangeService;
import com.doumee.service.business.InsuranceApplyService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.shiro.SecurityUtils;
@@ -36,6 +37,9 @@
    @Autowired
    private ApplyChangeService applyChangeService;
    @Autowired
    private InsuranceApplyService insuranceApplyService;
    @PreventRepeat
    @ApiOperation("新建")
@@ -81,6 +85,13 @@
        return ApiResponse.success(applyChangeService.findPageForCompany(pageWrap));
    }
    @ApiOperation("查询月度统计数据")
    @PostMapping("/monthList")
    @RequiresPermissions("business:applychange:query")
    public ApiResponse<List<ApplyChange>> findPage (@RequestBody ApplyChange pageWrap) {
        return ApiResponse.success(applyChangeService.monthTotalList(pageWrap));
    }
    @ApiOperation("导出Excel")
    @PostMapping("/exportExcel")
    @RequiresPermissions("business:applychange:exportExcel")