idea-转账案例2-java-Spring-AOP-service层
接口
package cn.csy.account.service;
import java.math.BigDecimal;
public interface AccountService {
public void transBalance(Long from, Long to, BigDecimal balance);
}
使用注解的方式
实现类
import cn.csy.account.mapper.AccountMapper;
import cn.csy.account.serv
原创
2020-10-13 14:58:49 ·
235 阅读 ·
0 评论