55 lines
2.7 KiB
Java
55 lines
2.7 KiB
Java
|
|
package com.engine.salary.web;
|
||
|
|
|
||
|
|
public class TaxDeclarationController {
|
||
|
|
|
||
|
|
// @PostMapping("/list")
|
||
|
|
// @ApiOperation("个税申报表列表")
|
||
|
|
// @WeaPermission
|
||
|
|
// public WeaResult<WeaTable<TaxDeclarationListDTO>> listTaxDeclaration(@RequestBody TaxDeclarationListQueryParam queryParam) {
|
||
|
|
// WeaTable<TaxDeclarationListDTO> weaTable = taxDeclarationWrapper.listPage(queryParam, TenantContext.getCurrentTenantKey());
|
||
|
|
// return WeaResult.success(weaTable);
|
||
|
|
// }
|
||
|
|
//
|
||
|
|
// @GetMapping("/getForm")
|
||
|
|
// @ApiOperation("个税申报表表单")
|
||
|
|
// @WeaPermission
|
||
|
|
// public WeaResult<WeaForm> getForm(@RequestParam(value = "id", required = false) Long id) {
|
||
|
|
// WeaForm weaForm = taxDeclarationWrapper.getForm(id, TenantContext.getCurrentTenantKey());
|
||
|
|
// return WeaResult.success(weaForm);
|
||
|
|
// }
|
||
|
|
//
|
||
|
|
// @GetMapping("/getTaxDeclarationInfo")
|
||
|
|
// @ApiOperation("个税申报表相关信息")
|
||
|
|
// @WeaPermission
|
||
|
|
// public WeaResult<TaxDeclarationInfoDTO> getTaxDeclarationInfo(@RequestParam(value = "taxDeclarationId") Long taxDeclarationId) {
|
||
|
|
// TaxDeclarationInfoDTO taxDeclarationInfo = taxDeclarationWrapper.getTaxDeclarationInfoById(taxDeclarationId, TenantContext.getCurrentTenantKey());
|
||
|
|
// return WeaResult.success(taxDeclarationInfo);
|
||
|
|
// }
|
||
|
|
//
|
||
|
|
// @PostMapping("/save")
|
||
|
|
// @ApiOperation("个税申报表生成")
|
||
|
|
// @WeaPermission
|
||
|
|
// public WeaResult<Object> saveTaxDeclaration(@RequestBody TaxDeclarationSaveParam saveParam) {
|
||
|
|
// taxDeclarationWrapper.save(saveParam, UserContext.getCurrentEmployeeId(), TenantContext.getCurrentTenantKey());
|
||
|
|
// return WeaResult.success(null);
|
||
|
|
// }
|
||
|
|
//
|
||
|
|
// @PostMapping("/detail/list")
|
||
|
|
// @ApiOperation("个税申报表详情列表")
|
||
|
|
// @WeaPermission
|
||
|
|
// public WeaResult<WeaTable<TaxDeclarationDetailListDTO>> listTaxDeclarationDetail(@RequestBody TaxDeclarationDetailListQueryParam queryParam) {
|
||
|
|
// WeaTable<TaxDeclarationDetailListDTO> weaTable = taxDeclarationDetailWrapper.listPage(queryParam, TenantContext.getCurrentTenantKey());
|
||
|
|
// return WeaResult.success(weaTable);
|
||
|
|
// }
|
||
|
|
//
|
||
|
|
// @PostMapping("/export")
|
||
|
|
// @ApiOperation("个税申报表相关信息")
|
||
|
|
// @WeaPermission
|
||
|
|
// public WeaResult<Map<String, Object>> exportTaxDeclaration(@RequestParam(value = "taxDeclarationId") Long taxDeclarationId) {
|
||
|
|
// Map<String, Object> map = taxDeclarationExcelService.exportTaxDeclaration(taxDeclarationId, TenantContext.getCurrentTenantKey());
|
||
|
|
// return WeaResult.success(map);
|
||
|
|
// }
|
||
|
|
|
||
|
|
|
||
|
|
}
|