Commit dd766872 authored by fangxinjiang's avatar fangxinjiang

合同续签待办-fxj

parent 83a5cd18
......@@ -115,7 +115,12 @@ public class TEmployeeContractPreNewController {
@Operation(summary = "通过id查询", description = "通过id查询")
@GetMapping("/{id}")
public R<TEmployeeContractPreNew> getById(@PathVariable("id") String id) {
return R.ok(tEmployeeContractPreNewService.getById(id));
TEmployeeContractPreNew preNew = tEmployeeContractPreNewService.getById(id);
//特殊处理兼容处理 合同详情
if (null != preNew){
preNew.setConfirmEmpSelect(preNew.getContractContent());
}
return R.ok(preNew);
}
/**
......
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