dangsn
2024-06-06 8c8c59c1f2005fa3ca89ac2117ca1a3c0c618913
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
35
36
37
package com.vci.web.controller;
 
import com.vci.starter.web.pagemodel.BaseQueryObject;
import com.vci.starter.web.pagemodel.DataGrid;
import com.vci.web.pageModel.OsAttributeVO;
import com.vci.web.pageModel.OsStatusVO;
import com.vci.web.service.OsAttributeServiceI;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * 属性控制器
 * @author weidy
 * @date 2022-3-26
 */
@RequestMapping("/attributeController")
@RestController
public class OsAttributeController {
 
    /**
     * 属性
     */
    @Autowired
    private OsAttributeServiceI attributeService;
 
    /**
     * 属性列表
     * @param baseQueryObject 查询对象
     * @return 属性的显示对象
     */
    @GetMapping("/gridAttribute")
    public DataGrid<OsAttributeVO> gridAttribute(BaseQueryObject baseQueryObject){
       return attributeService.gridAttribute(baseQueryObject);
    }
}