yxk-20260428-增加/bgpartymatter/bgPartymatter/queryById接口
This commit is contained in:
+9
@@ -79,6 +79,15 @@ public class BgPartymatterController extends JeecgController<BgPartymatter, IBgP
|
||||
return Result.OK(pageList);
|
||||
}
|
||||
|
||||
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<BgPartymatter> queryById(@RequestParam(name="id", required=true) String id) {
|
||||
BgPartymatter bgPartymatter = bgPartymatterService.getById(id);
|
||||
if (bgPartymatter == null) {
|
||||
return Result.error("未找到对应数据");
|
||||
}
|
||||
return Result.OK(bgPartymatter);
|
||||
}
|
||||
/**
|
||||
* 添加
|
||||
* @param bgPartymatter
|
||||
|
||||
Reference in New Issue
Block a user