service1{
serviceHello1(){
dao1.daoHello1();
dao2.daoHello2();
}
}
service2{
serviceHello2(){
dao3.daoHello3();
dao4.daoHello4();
}
}
service3{
serviceHello3(){//事务C
service1.serviceHello1();//事务A
service2.serviceHello2();//事务B
}
}
service3{
serviceHello3(){//事务C
service1.serviceHello1();//事务A
service2.serviceHello2();//事务B
}
}
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) | 黑马程序员IT技术论坛 X3.2 |