摘要:
今天做了一个Update的操作,要求用MyBatis-Plus实现如下Sql语句: 1 UPDATE User A SET age= age + newAge where name = '张三' 以上代码age指的是用户的年龄,newAge指的是传入的参数。 改为Mybatis-Plus实现如下: 阅读全文
posted @ 2020-07-01 16:34
gory
阅读(2639)
评论(1)
推荐(0)
摘要:
事例代码: 1 public static void main(String[] args) { 2 Consumer<Integer> consumer = x -> System.out.println(x); 3 Consumer<Integer> consumer2 = x -> { 4 i 阅读全文
posted @ 2020-07-01 10:20
gory
阅读(2000)
评论(0)
推荐(0)

浙公网安备 33010602011771号