Commit a9a7cec5 authored by hongguangwu's avatar hongguangwu

MVP1.5.1-收入证明等

parent e6d74f2e
......@@ -257,9 +257,11 @@ public class TProveRecord extends Model<TProveRecord> {
@Schema(description = "导出的表头的Set")
private Set<String> exportFields;
@TableField(exist = false)
@Schema(description = "查询limit 开始")
private int limitStart;
@TableField(exist = false)
@Schema(description = "查询limit 数据条数")
private int limitEnd;
......
......@@ -215,14 +215,14 @@ public class SalaryProveController {
*/
@Operation(summary = "证明记录展示页面")
@GetMapping(value = "/printing/{id}")
public R printing(@PathVariable String id) {
public R<TProveRecord> printing(@PathVariable String id) {
TProveRecord re = tProveRecordService.getById(id);
if (re != null) {
re.setCapital(NumberToCN.number2CNMontrayUnit(re.getProveSalary()));
} else {
return R.failed("无此记录!");
}
return new R(re);
return R.ok(re);
}
/**
......
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