diff --git a/src/main/resources/mapper/userMapper.xml b/src/main/resources/mapper/userMapper.xml new file mode 100644 index 0000000..0e41553 --- /dev/null +++ b/src/main/resources/mapper/userMapper.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + insert into t_user(name, password, identity, telNumber, idCard, email) values(#{name}, #{password}, #{identity}, #{telNumber}, #{idCard}, #{email}); + + + + update t_user set name = #{name}, identity = #{identity}, telNumber = #{telNumber}, idCard = #{idCard}, email = #{email} where id = #{id} + + + + update t_user set password = #{password} where id = #{id} + + \ No newline at end of file