首页>代码>基于ssm框架的微信小程序图书管理系统>/图书管理系统pw/项目三 - 副本/StuBook5/src/com/client/controller/ApiBookTypeController.java
package com.client.controller; import java.util.List; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; import com.client.utils.JsonResult; import com.client.utils.JsonResultBuilder; import com.pan.pojo.BookType; import com.pan.service.BookTypeService; @RestController @RequestMapping("/api/bookType") public class ApiBookTypeController { @Resource BookTypeService bookTypeService; @RequestMapping(value="/listAll",method=RequestMethod.POST) public JsonResult list(String barcode,String bookName,@ModelAttribute("bookTypeObj") BookType bookTypeObj,String publishDate,Integer page,Integer rows, Model model, HttpServletRequest request,HttpServletResponse response) throws Exception{ List<BookType> bookTypeList = bookTypeService.queryAllBookType(); return JsonResultBuilder.ok(bookTypeList); } }

新哥新奇士橙 LV4
1月26日
zolscy LV24
2024年11月27日
binzhuyou LV2
2024年7月4日
hongdongdong LV14
2024年6月23日
Xppasdf LV3
2024年6月16日
努力学习的小朋友 LV3
2024年6月1日
15530067717 LV2
2024年5月25日
amayaT LV5
2024年4月23日
ewan007 LV30
2024年3月4日
Lyj 329511 LV4
2023年10月11日