摘要:
配置mapper的type使用package(使用注解来配置mapper): <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "htt 阅读全文
摘要:
图片的数据数据库中存储: else if ("/cake/getImg.do".equals(req.getServletPath())) { String idStr = req.getParameter("id"); Cake cake = cakeService.getCakeImg(Long 阅读全文