| | |
| | | import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo; |
| | | import cn.stylefeng.guns.opcua.entity.OpcuaConf; |
| | | import cn.stylefeng.guns.opcua.model.params.OpcuaConfParam; |
| | | import cn.stylefeng.guns.opcua.model.result.OpcuaConfResult; |
| | | import cn.stylefeng.guns.opcua.service.OpcuaConfService; |
| | | import cn.stylefeng.roses.core.base.controller.BaseController; |
| | | import cn.stylefeng.roses.kernel.model.response.ResponseData; |
| | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | |
| | | public LayuiPageInfo list(OpcuaConfParam opcuaConfParam) { |
| | | return this.opcuaConfService.findPageBySpec(opcuaConfParam); |
| | | } |
| | | @ResponseBody |
| | | @RequestMapping("/mylist") |
| | | @DataSource(name = "self") |
| | | public List<OpcuaConfResult> mylist(OpcuaConfParam opcuaConfParam) { |
| | | return this.opcuaConfService.findListBySpec(opcuaConfParam); |
| | | } |
| | | |
| | | } |
| | | |