摘要:
场景:tom欠jerry1000元,通过银行转账,此过程需要两条sql语句实现 1.update account set money = money - 1000 where name = 'tom'; 2.update account set money = money + 1000 where 阅读全文
posted @ 2020-08-28 22:27
硬盘红了
阅读(206)
评论(0)
推荐(0)
摘要:
main线程类: public class DemoThreadLocal { public static void main(String[] args) { ThreadLocal<String> tl = new ThreadLocal<>(); //获取当前main线程对象绑定的值 Stri 阅读全文
posted @ 2020-08-28 21:40
硬盘红了
阅读(161)
评论(0)
推荐(0)

浙公网安备 33010602011771号