上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 33 下一页
摘要: 以前写的代码 mapper层 public interface PersonMapper { void selectPersonList(); } public class PersonMapperImpl implements PersonMapper { @Override public voi 阅读全文
posted @ 2022-02-24 10:33 我也有梦想呀 阅读(65) 评论(0) 推荐(0)
摘要: 导入maven坐标 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.2.2.RELEASE</version> <r 阅读全文
posted @ 2022-02-23 18:31 我也有梦想呀 阅读(149) 评论(0) 推荐(0)
摘要: 1.导入相关依赖 <!-- redis 依赖 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependen 阅读全文
posted @ 2022-02-22 18:21 我也有梦想呀 阅读(54) 评论(0) 推荐(0)
摘要: <insert id="saveOne" parameterType="com.buwei.entity.User" > INSERT into user(name, password) value(#{name},#{password}) <selectKey keyProperty="id" o 阅读全文
posted @ 2022-02-18 10:32 我也有梦想呀 阅读(327) 评论(0) 推荐(0)
摘要: 1.基本操作 // 修改订单的状态为已发货和已支付 Order order = new Order(); order.setSend(1); // 已发货 order.setPay(1); // 已支付 userMapper.updateById(order); 2.使用条件构造器 // 把名字为l 阅读全文
posted @ 2022-02-14 21:26 我也有梦想呀 阅读(2043) 评论(0) 推荐(0)
摘要: Springboot整合MybatisPlus 1.创建一个SpringBoot项目 2.导入相关依赖 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xs 阅读全文
posted @ 2022-02-10 11:04 我也有梦想呀 阅读(79) 评论(0) 推荐(0)
摘要: 写项目时前端用了vue+模板引擎用了thymeleaf,然后有一个输入框取值问题让我很纠结,问题如下: <input class="count-num" type="text" th:value="${entry.value.count}" @change="updateCartItemCount( 阅读全文
posted @ 2022-02-10 10:05 我也有梦想呀 阅读(699) 评论(0) 推荐(0)
摘要: Constant 描述 默认值 kaptcha.border 图片边框,合法值:yes , no yes kaptcha.border.color 边框颜色,合法值: r,g,b (and optional alpha) 或者 white,black,blue. black kaptcha.bord 阅读全文
posted @ 2022-02-09 14:01 我也有梦想呀 阅读(424) 评论(0) 推荐(0)
摘要: searchObj: { subjectId: ''// 解决查询表单无法选中二级类别,必须要现在模型中给一个空的初始值 }, 阅读全文
posted @ 2022-02-02 17:01 我也有梦想呀 阅读(137) 评论(0) 推荐(0)
摘要: The field file exceeds its maximum permitted size of 1048576 bytes spring: # 设置文件上传文件大小 servlet: multipart: max-file-size: 3MB max-request-size: 10MB 阅读全文
posted @ 2022-02-01 20:45 我也有梦想呀 阅读(71) 评论(0) 推荐(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 33 下一页