Ticket #269: Fix user create/update/delete, fix permission update, reorganize.

This commit is contained in:
Michael Jumper
2013-02-26 00:05:34 -08:00
parent eb466c7f70
commit 7d8fc88b53
8 changed files with 293 additions and 246 deletions

View File

@@ -186,6 +186,9 @@
password_salt)
values (#{user_id,jdbcType=INTEGER}, #{username,jdbcType=VARCHAR}, #{password_hash,jdbcType=BINARY},
#{password_salt,jdbcType=BINARY})
<selectKey keyProperty="user_id" resultType="int" order="AFTER">
select last_insert_id();
</selectKey>
</insert>
<insert id="insertSelective" parameterType="net.sourceforge.guacamole.net.auth.mysql.model.UserWithBLOBs">
<!--
@@ -329,4 +332,4 @@
set username = #{username,jdbcType=VARCHAR}
where user_id = #{user_id,jdbcType=INTEGER}
</update>
</mapper>
</mapper>