src/main/java/com/web/controller/OperationroomController.java

(完整代码) 707B

package com.web.controller;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.web.entity.Operationroom;
import com.web.entity.OperationroomExample;
import com.web.service.OperationroomService;

@Controller
public class OperationroomController {
	
	@Resource
	OperationroomService operationroomService;
	
	@RequestMapping("/queryOperationroom")
	@ResponseBody
	public List<Operationroom> queryAll(){
		
		OperationroomExample oe = new OperationroomExample();
		
		return operationroomService.queryAll(oe);
	}

}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。