|
|
@ -129,14 +129,12 @@ public class TRecordController extends BaseController
|
|
|
|
if(id == null){
|
|
|
|
if(id == null){
|
|
|
|
return AjaxResult.error("未获取到id");
|
|
|
|
return AjaxResult.error("未获取到id");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Map<String,List<Object>> data = new HashMap<>();
|
|
|
|
Map<String,Object> data = new HashMap<>();
|
|
|
|
List<TRecordResp> list = new ArrayList<>();
|
|
|
|
data.put("result", tRecordService.selectById(id));
|
|
|
|
list.add(tRecordService.selectById(id));
|
|
|
|
|
|
|
|
data.put("result", Collections.singletonList(list));
|
|
|
|
|
|
|
|
TImage tImage = new TImage();
|
|
|
|
TImage tImage = new TImage();
|
|
|
|
tImage.setThirdId(id);
|
|
|
|
tImage.setThirdId(id);
|
|
|
|
List<TImage> images = imageService.selectTImageList(tImage);
|
|
|
|
List<TImage> images = imageService.selectTImageList(tImage);
|
|
|
|
data.put("image", Collections.singletonList(images));
|
|
|
|
data.put("image", images);
|
|
|
|
return AjaxResult.success(data);
|
|
|
|
return AjaxResult.success(data);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|