|
@@ -79,7 +79,6 @@ public class CustomFormController {
|
|
|
*/
|
|
|
@SysLog("删除自定义表单表")
|
|
|
@DeleteMapping("/{id}")
|
|
|
- @PreAuthorize("@pms.hasPermission('custom-form-del')")
|
|
|
public R removeById(@PathVariable String id) {
|
|
|
customFormService.deleteByPrimaryKey(id);
|
|
|
return new R<>();
|
|
@@ -93,7 +92,6 @@ public class CustomFormController {
|
|
|
*/
|
|
|
@SysLog("批量删除自定义表单表")
|
|
|
@DeleteMapping("")
|
|
|
- @PreAuthorize("@pms.hasPermission('custom-form-del')")
|
|
|
public R removeIds(@RequestBody List<String> ids) {
|
|
|
customFormService.batchDelete(ids);
|
|
|
return new R<>();
|
|
@@ -131,7 +129,6 @@ public class CustomFormController {
|
|
|
*/
|
|
|
@GetMapping("/export")
|
|
|
@SysLog("自定义表单表导出")
|
|
|
- @PreAuthorize("@pms.hasPermission('custom-form-export')")
|
|
|
public void export(HttpServletResponse response, CustomFormDTO customFormDTO) {
|
|
|
List<CustomForm> list = customFormService.getModelListByDTO(customFormDTO);
|
|
|
ExcelUtil.exportResponseDict(response, ExportCustomFormVO.class, BeanConverterUtil.copyListProperties(list, ExportCustomFormVO.class), "自定义表单表");
|