| | |
| | | import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.annotation.NotRepeatCommit; |
| | | import com.ruoyi.common.annotation.RepeatSubmit; |
| | | import com.ruoyi.common.config.RuoYiConfig; |
| | | import com.ruoyi.common.constant.HttpStatus; |
| | |
| | | * 审核费用 |
| | | */ |
| | | @ApiOperation("审核费用") |
| | | @RepeatSubmit |
| | | // @Log(title = "审核费用", businessType = BusinessType.OTHER) |
| | | @PostMapping("/checkfund") |
| | | public AjaxResult checkFund(@RequestBody CheckFundVO checkFundVO) { |
| | |
| | | /** |
| | | * 费用类型计数 |
| | | */ |
| | | // @NotRepeatCommit(key = "param:arg[1]", value = 30000) |
| | | @ApiOperation("费用类型计数") |
| | | @GetMapping(value = "/countItem/{infoid}/{itemid}") |
| | | public AjaxResult countItem(@PathVariable Long infoid, @PathVariable Long itemid) { |
| | |
| | | /** |
| | | * 合计个税 |
| | | */ |
| | | @NotRepeatCommit(key = "param:arg[1]", value = 30000) |
| | | @ApiOperation("合计个税") |
| | | @Log(title = "合计个税", businessType = BusinessType.INSERT) |
| | | @PostMapping("/totaltax") |
| | | @RepeatSubmit |
| | | public AjaxResult totaltax(@RequestBody TotalTaxVO totalTaxVO) { |
| | | Map<String, List<ServiceFunddetailExcel>> totaltax = serviceFundService.totaltax(totalTaxVO); |
| | | if (ObjectUtils.isEmpty(totaltax)) { |
| | |
| | | key2 = key; |
| | | } |
| | | ExcelUtil<ServiceFunddetailExcel> util = new ExcelUtil<ServiceFunddetailExcel>(ServiceFunddetailExcel.class); |
| | | return AjaxResult.success(util.exportExcel(totaltax.get(key2), key2)); |
| | | AjaxResult ajaxResult = util.exportExcel(totaltax.get(key2), key2); |
| | | String msg = (String) ajaxResult.get("msg"); |
| | | |
| | | Map dataMap = new HashMap(); |
| | | dataMap.put("downloadUrl", "/profile/download/" + msg); |
| | | |
| | | return AjaxResult.success(dataMap); |
| | | |
| | | |
| | | } |