|
@@ -54,7 +54,7 @@ public class TenantAlbumPurchaseController extends BaseController {
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "id", value = "id", dataType = "long")
|
|
|
})
|
|
|
- @PreAuthorize("@auditsvc.hasPermissions('tenantAlbumPurchase/detail', {'BACKEND'})")
|
|
|
+// @PreAuthorize("@auditsvc.hasPermissions('tenantAlbumPurchase/detail', {'BACKEND'})")
|
|
|
// @GetMapping("/detail/{id}")
|
|
|
public HttpResponseResult<TenantAlbumPurchaseWrapper.TenantAlbumPurchase> detail(@PathVariable("id") Long id) {
|
|
|
|
|
@@ -64,7 +64,7 @@ public class TenantAlbumPurchaseController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "查询分页", notes = "机构专辑采购- 传入 TenantAlbumPurchaseVo.TenantAlbumPurchaseQuery")
|
|
|
- @PreAuthorize("@auditsvc.hasPermissions('tenantAlbumPurchase/page', {'BACKEND'})")
|
|
|
+// @PreAuthorize("@auditsvc.hasPermissions('tenantAlbumPurchase/page', {'BACKEND'})")
|
|
|
@PostMapping("/page")
|
|
|
public HttpResponseResult<PageInfo<TenantAlbumPurchaseWrapper.TenantAlbumPurchase>> page(
|
|
|
@RequestBody TenantAlbumPurchaseWrapper.TenantAlbumPurchaseQuery query) {
|
|
@@ -77,7 +77,7 @@ public class TenantAlbumPurchaseController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "新增", notes = "机构专辑采购- 传入 TenantAlbumPurchaseVo.TenantAlbumPurchase")
|
|
|
- @PreAuthorize("@auditsvc.hasPermissions('tenantAlbumPurchase/save', {'BACKEND'})")
|
|
|
+// @PreAuthorize("@auditsvc.hasPermissions('tenantAlbumPurchase/save', {'BACKEND'})")
|
|
|
// @PostMapping("/save")
|
|
|
public HttpResponseResult<JSONObject> add(
|
|
|
@Validated @RequestBody TenantAlbumPurchaseVo.TenantAlbumPurchase tenantAlbumPurchaseVo) {
|
|
@@ -89,7 +89,7 @@ public class TenantAlbumPurchaseController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "修改", notes = "机构专辑采购- 传入 TenantAlbumPurchaseVo.TenantAlbumPurchase")
|
|
|
- @PreAuthorize("@auditsvc.hasPermissions('tenantAlbumPurchase/update', {'BACKEND'})")
|
|
|
+// @PreAuthorize("@auditsvc.hasPermissions('tenantAlbumPurchase/update', {'BACKEND'})")
|
|
|
// @PostMapping("/update")
|
|
|
public HttpResponseResult<JSONObject> update(@Validated @RequestBody TenantAlbumPurchaseVo.TenantAlbumPurchase tenantAlbumPurchaseVo
|
|
|
) {
|
|
@@ -100,7 +100,7 @@ public class TenantAlbumPurchaseController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "删除", notes = "机构专辑采购- 传入id")
|
|
|
- @PreAuthorize("@auditsvc.hasPermissions('tenantAlbumPurchase/remove', {'BACKEND'})")
|
|
|
+// @PreAuthorize("@auditsvc.hasPermissions('tenantAlbumPurchase/remove', {'BACKEND'})")
|
|
|
// @PostMapping("/remove")
|
|
|
public HttpResponseResult<Boolean> remove(@RequestParam Long id) {
|
|
|
|