备份
This commit is contained in:
@@ -90,7 +90,7 @@ public class EmployeeOnboardingController extends BaseController {
|
||||
@Log(title = "入职管理", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PutMapping()
|
||||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody EmployeeOnboardingBo bo) {
|
||||
public R<Void> edit(@RequestBody EmployeeOnboardingBo bo) {
|
||||
return toAjax(iEmployeeOnboardingService.updateByBo(bo));
|
||||
}
|
||||
|
||||
|
||||
@@ -105,4 +105,10 @@ public class OaSalaryController extends BaseController {
|
||||
@PathVariable Long[] salaryIds) {
|
||||
return toAjax(iOaSalaryService.deleteWithValidByIds(Arrays.asList(salaryIds), true));
|
||||
}
|
||||
|
||||
|
||||
@PostMapping("/calc")
|
||||
public void calc(@RequestBody OaSalaryBo bo) {
|
||||
iOaSalaryService.calcSalary(bo);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user