5 次代码提交 2c7cb32ac6 ... a36f105041

作者 SHA1 备注 提交日期
  shuhao a36f105041 Merge branch 'master' of http://www.sysuimars.com:3000/kelei12399/foster 6 月之前
  shuhao 6e812480df shuhao 6 月之前
  shuhao adc80303d1 Merge branch 'master' of http://www.sysuimars.com:3000/kelei12399/foster 6 月之前
  shuhao 1870788cd6 Merge branch 'master' of http://www.sysuimars.com:3000/kelei12399/foster 6 月之前
  shuhao 3a8b443ce8 shuhao 6 月之前
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      admin/src/main/java/com/flyer/foster/controller/app/AppTreeController.java

+ 4 - 1
admin/src/main/java/com/flyer/foster/controller/app/AppTreeController.java

@@ -2,6 +2,7 @@ package com.flyer.foster.controller.app;
 
 import com.flyer.foster.dto.TreeAddDTO;
 import com.flyer.foster.dto.TreeUpdateDTO;
+import com.flyer.foster.entity.FosterRecord;
 import com.flyer.foster.entity.Tree;
 import com.flyer.foster.service.ITreeService;
 import com.flyer.util.R;
@@ -39,6 +40,8 @@ public class AppTreeController {
      */
     @GetMapping("/getRandomTree/{areaId}")
     public R getRandomTree(@PathVariable Integer areaId){
-        return R.ok().result(iTreeService.lambdaQuery().eq(Tree::getAreaId, areaId).list());
+        List<Tree> list = iTreeService.lambdaQuery().eq(Tree::getAreaId, areaId).list();
+
+        return R.ok().result(null);
     }
 }