在mapper.xml中namespace等于mapper接口地址。mapper.java 接口中的方法名和mapper.xml中statement的id一致。mapper.java 接口中的方法输入类型和mapper.xml中statement的parameterType指定的类型一致。mapper.java 接口中的方法返回值类型和mapper.xml中statement的resultType指定的类型一致。