| | |
| | | |
| | | @GetMapping("/query-page") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "key",value = "属性名模糊",paramType = "query",dataType = "string"), |
| | | @ApiImplicitParam(name = "notIn",value = "属性名排除",paramType = "query",dataType = "string") |
| | | @ApiImplicitParam(name = "key",value = "属性编号模糊",paramType = "query",dataType = "string"), |
| | | @ApiImplicitParam(name = "notIn",value = "属性编号排除",paramType = "query",dataType = "string") |
| | | }) |
| | | @ApiOperationSupport(order = 6) |
| | | @ApiOperation(value = "查询列表",notes = "传入查的值和不查的值") |
| | |
| | | |
| | | /** |
| | | * 删除 |
| | | * @param ids 主键集合 |
| | | * @param oid 主键集合 |
| | | * @return 执行结果 |
| | | */ |
| | | @PostMapping("/remove") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "删除", notes = "主键集合") |
| | | public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { |
| | | public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String oid) { |
| | | CacheUtil.clear(OmdCacheConstant.ATTR_CACHE); |
| | | return R.status(attributeService.removeAttrs(ids)); |
| | | return attributeService.remove(oid); |
| | | } |
| | | |
| | | /** |