There are red lines below stuMapper, on behalf of it is problematic
This is a problem Mybatis development tools, the use of Ecplise will not have this problem.
IDEA set about
say, here we remove the hook. Then click ok
wavy lines below, there is no such.
Other ways to improve
insert method
The difference between the insert and insertSelective, if a property is empty, it will not cover our metadata.
Update method
delete
Plus all transaction
Perfect controller layer
Save
update and delete the idempotent. Save does not contain idempotency.
End