java110
2022-07-14 2e998bbd82f580d852292cace5811d46b3c2438c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package com.java110.boot.components.basePrivilege;
 
import com.java110.boot.smo.basePrivilege.IDeleteBasePrivilegeSMO;
import com.java110.core.context.IPageData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
 
/**
 * 添加权限组件
 */
@Component("deleteBasePrivilege")
public class DeleteBasePrivilegeComponent {
 
@Autowired
private IDeleteBasePrivilegeSMO deleteBasePrivilegeSMOImpl;
 
/**
 * 添加权限数据
 * @param pd 页面数据封装
 * @return ResponseEntity 对象
 */
public ResponseEntity<String> delete(IPageData pd){
        return deleteBasePrivilegeSMOImpl.deleteBasePrivilege(pd);
    }
 
public IDeleteBasePrivilegeSMO getDeleteBasePrivilegeSMOImpl() {
        return deleteBasePrivilegeSMOImpl;
    }
 
public void setDeleteBasePrivilegeSMOImpl(IDeleteBasePrivilegeSMO deleteBasePrivilegeSMOImpl) {
        this.deleteBasePrivilegeSMOImpl = deleteBasePrivilegeSMOImpl;
    }
            }