苍穹外卖第二天有这段注解:
@Insert("insert into employee(name, username, password, phone, sex, id_number, create_time, update_time, create_user, update_user,status) " +"values "+"(#{name},#{username},#{password},#{phone},#{sex},#{id_number},#{create_time},#{update_time},#{create_user},#{update_user},#{status})"-  @Insert注解:这是MyBatis中用来声明插入操作的注解。它告诉MyBatis这个方法是用来执行插入操作的。
-  SQL语句:紧跟在 @Insert注解后面的字符串是实际的SQL语句,用于向数据库中的 "employee" 表中插入数据。这个SQL语句包含了表中的字段名,并使用了 MyBatis 的占位符语法,如#{name}、#{username}等,这些会被实际的值替换。
-  values子句:这个子句指定了要插入的具体值,它们对应于表中的每一列。
-  #{name},#{username}, 等等:这些是 MyBatis 的参数占位符,会被实际的值替换。MyBatis 会根据参数的名称,从 Java 对象中获取对应的值,然后将其填充到 SQL 语句中。