select * from t_sys_user select replace(uuid(),'-','') as userId insert t_sys_user ( user_id, login_name, real_name, password, org_id, role_id, status, create_user_id, create_time ) values ( #{userId}, #{loginName}, #{realName}, #{password}, #{orgId}, #{roleId}, '1', #{createUserId}, date_format(now(),'%Y-%m-%d %H:%i:%S') ) update t_sys_user set user_id=user_id , login_name=#{loginName} , real_name=#{realName} , password=#{password} , org_id=#{orgId} , role_id=#{roleId} , status=#{status} where user_id=#{userId}