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 gridAttribute(BaseQueryObject baseQueryObject){ return attributeService.gridAttribute(baseQueryObject); } }