CRUD of MyBatis
1. namespace The package name in the namespace must be consistent with the package name of the Dao/Mapper interface. 2. Select id is the method name in the corresponding namespace. resultType is the return value of Sql statement execution. parameterType…