|
@@ -137,4 +137,13 @@ public class YearPigBaseController {
|
|
|
|
|
|
return R.ok().put("data",resultMap);
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 查谱系问题,请求头中需要有ID
|
|
|
+ */
|
|
|
+ @RequestMapping("/queryByRelationship")
|
|
|
+ public R queryPageByRelationship(@RequestParam Map<String, Object> params){
|
|
|
+ Map<String, Object> stringObjectMap = yearPigBaseService.queryPageByRelationship(params);
|
|
|
+ return R.ok().put("Result", stringObjectMap);
|
|
|
+ }
|
|
|
}
|