| | |
| | | import com.ruoyi.project.domain.ServiceFund; |
| | | import com.ruoyi.project.domain.ServiceFundtax; |
| | | import com.ruoyi.project.domain.vo.FundTaxVO; |
| | | import com.ruoyi.project.domain.vo.SpFinancialExpensesFundOut; |
| | | import com.ruoyi.project.service.IServiceFundService; |
| | | import com.ruoyi.project.service.IServiceFundtaxService; |
| | | import io.swagger.annotations.Api; |
| | |
| | | public TableDataInfo list(ServiceFundtax serviceFundtax) { |
| | | startPage(); |
| | | List<ServiceFundtax> list = serviceFundtaxService.queryList(serviceFundtax); |
| | | Collections.sort(list, (sft1, sft2) -> { |
| | | Long i = sft2.getId() - sft1.getId(); |
| | | return i.intValue(); |
| | | }); |
| | | // list.sort(Comparator.comparing(ServiceFundtax::getCreateTime, Comparator.nullsLast(Comparator.reverseOrder()))); |
| | | return getDataTable(list); |
| | | } |
| | | // |
| | |
| | | |
| | | /** |
| | | * 删除专家费用算税申请主 |
| | | * <p>2026-12-03:删除的同时解绑该批次下的专家费申请单(istax=0、fund_tax_id=null), |
| | | * 否则这批单据下次做个税汇总时选不到。批量删除传参为逗号分隔的 id。 |
| | | */ |
| | | @ApiOperation("删除专家费用算税申请主") |
| | | @Log(title = "专家费用算税申请主", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{id}") |
| | | public AjaxResult remove(@PathVariable Long id) { |
| | | return toAjax(serviceFundtaxService.removeById(id)); |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return AjaxResult.success(serviceFundtaxService.removeFundtax(ids)); |
| | | } |
| | | |
| | | |