insert into sys_user uuid, username, salt, hash, gender, email, phone, expire_time, type, gmt_create, dep_id, real_name, status, role_id, identify, position_id, #{uuid}, #{username}, #{salt}, #{hash}, #{gender}, #{email}, #{phone}, #{expireTime}, #{type}, #{gmtCreate}, #{depId}, #{realName}, #{status}, #{roleId}, #{identify}, #{positionId}, update sys_user uuid = #{uuid}, real_name = #{realName}, username = #{username}, salt = #{salt}, hash = #{hash}, gender = #{gender}, email = #{email}, phone = #{phone}, expire_time = #{expireTime}, type = #{type}, gmt_modified = #{gmtModified}, dep_id = #{depId}, status = #{status}, role_id = #{roleId}, identify = #{identify}, position_id = #{positionId}, where uid = #{uid} update sys_user set status = #{status} where uid = #{userId} update sys_user set role_id = null where role_id = #{roleId} update sys_user set salt = #{salt}, hash = #{hash} where uid = #{uid}