店铺扩展信息 通过类型查询

This commit is contained in:
2024-09-18 10:07:43 +08:00
parent 5215a440c9
commit 9fa99a28e3
4 changed files with 51 additions and 0 deletions

View File

@@ -36,6 +36,12 @@ public class TbShopExtendController {
return new ResponseEntity<>(tbShopExtendService.queryAll(criteria), HttpStatus.OK);
}
@PostMapping("byType")
@ApiOperation("通过类型查询详情")
public TbShopExtend selectOneByType(@RequestBody TbShopExtend tbShopExtend) {
return tbShopExtendService.selectOneByType(tbShopExtend);
}
@GetMapping("{id}")
@ApiOperation("通过Id查询详情")
public TbShopExtend selectOne(@PathVariable Serializable id) {