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