Commit 09b7f430 authored by hongguangwu's avatar hongguangwu

MVP1.5.3-身份证

parent 849d723d
......@@ -405,11 +405,11 @@ public class TSalaryAccountController {
@Operation(description = "报账跨年查询导出 hasPermission('account_all_year_export')")
@PostMapping("/allYearExport")
@PreAuthorize("@pms.hasPermission('account_all_year_export')")
public List<TSalaryAccount> allYearExport(@RequestBody TSalaryAccountSearchVo tSalaryAccount) {
public R<List<TSalaryAccount>> allYearExport(@RequestBody TSalaryAccountSearchVo tSalaryAccount) {
if (Common.isEmpty(tSalaryAccount.getEmpIdcard())) {
return null;
return R.failed("身份证不可为空!");
}
return tSalaryAccountService.allYearExport(tSalaryAccount);
return R.ok(tSalaryAccountService.allYearExport(tSalaryAccount));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment