Error analysis: parameter not found,
Solution: 1. Pay attention to whether @Param is added to the mapper interface method definition of mybatis, personally I don't like to configure it in xml.
2. Whether the parameter format is correct. The sql statement in the tag in the mapper.xml file cannot have a semicolon
3. Seriously look for it point-to-point. If it doesn't work, just rule it out. If you don't know how to write the rules, you can find a mybatis mapper on Baidu online.
Hard work pays off, personal experience.