@ -105,5 +105,11 @@ public class TRecordController extends BaseController
return toAjax(tRecordService.deleteTRecordByIds(ids));
}
@GetMapping("getInfo/{id}")
public AjaxResult getInfoById(@PathVariable("id") Long id){
if(id == null){
return AjaxResult.error("未获取到id");
return AjaxResult.success(tRecordService.selectTById(id));