|
@@ -105,6 +105,14 @@ public class BizFinancialSalaryZeroController extends BaseController {
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|
|
|
+ @Log(title = "工资", businessType = BusinessType.DELETE)
|
|
|
+ @DeleteMapping("/physical/{ids}")
|
|
|
+ public AjaxResult remove(@PathVariable List<Long> ids) {
|
|
|
+ if (ids.isEmpty()){
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+ return toAjax(bizFinancialSalaryService.physicalDeleteIds(ids));
|
|
|
+ }
|
|
|
@Log(title = "工资零申报导入", businessType = BusinessType.IMPORT)
|
|
|
@PreAuthorize("@ss.hasPermi('business:salaryZero:import')")
|
|
|
@PostMapping("/importData")
|
|
@@ -195,7 +203,7 @@ public class BizFinancialSalaryZeroController extends BaseController {
|
|
|
@PreAuthorize("@ss.hasPermi('business:salary:remove')")
|
|
|
@Log(title = "工资", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{ids}")
|
|
|
- public AjaxResult remove(@PathVariable List<Long> ids) {
|
|
|
+ public AjaxResult removeByIds(@PathVariable List<Long> ids) {
|
|
|
return toAjax(bizFinancialSalaryService.removeBatchByIds(ids));
|
|
|
}
|
|
|
|