ssm新增表使用逆向工程注意事项(1)

1、mapper跟mapper.xml存放路径一直,且名字前缀一致。
2、在serviceimpl类前最好加上
@Service

@Transactional
@BaseService

猜你喜欢

转载自blog.51cto.com/13588844/2140554