A very low-level mistake today that wasted 20 minutes of my time. Record it here.
Phenomenon
In mybatis, I want to check the minimum value of an id. The return type is Long. The result is that it will not work.
Solution
I found out that I made a mistake, so I resultMap
changed it to resultType
solve the problem!
Summarize
Still too careless! The side effects of copying code frequently.