| | |
| | | serviceFund.setFlowlevel(100L); |
| | | serviceFund.setRecordstatus(99); |
| | | serviceFundService.updateById(serviceFund); |
| | | |
| | | //保存审批流程表 |
| | | ServiceFundflow serviceFundflow = new ServiceFundflow(); |
| | | SysUser user = loginUser.getUser(); |
| | | serviceFundflow.setFundid(serviceFund.getId()); |
| | | serviceFundflow.setCheckuserno(user.getUserName()); |
| | | serviceFundflow.setCheckusername(user.getNickName()); |
| | | serviceFundflow.setFundtype(2); |
| | | serviceFundflow.setApplytype(serviceFund.getApplytype()); |
| | | serviceFundflow.setFlowconclusion(CheckFlag); |
| | | serviceFundflow.setFlowcontent("通过"); |
| | | Boolean aBoolean = serviceFundflowService.saveData(serviceFundflow); |
| | | return AjaxResult.success(); |
| | | } |
| | | //记录一下,下一级的审批,以便于下一级退回后,发起者提交时,能再提到当前审批层级 |
| | |
| | | |
| | | return toAjax(false); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 删除费用申请主 |
| | |
| | | return AjaxResult.success(serviceFundService.performance(serviceFundVO)); |
| | | } |
| | | |
| | | /** |
| | | * 合计个税 |
| | | */ |
| | | @ApiOperation("合计个税") |
| | | @Log(title = "合计个税", businessType = BusinessType.INSERT) |
| | | @PostMapping("/totaltax") |
| | | @RepeatSubmit |
| | | public AjaxResult totaltax(@RequestBody TotalTaxVO totalTaxVO) { |
| | | Boolean totaltax = serviceFundService.totaltax(totalTaxVO); |
| | | if (totaltax) { |
| | | return AjaxResult.success("合计个税成功,请去E:\\OPO\\WEB\\Upload\\download 中查找文件"); |
| | | } |
| | | |
| | | return AjaxResult.success("合计失败,请稍后重试"); |
| | | } |
| | | |
| | | } |