PostgreSQL uuid 类型数据使用java String 插入更新问题问题


        


        
                INSERT INTO public.cws_dashboard (dashboardid,operator , plantid) VALUES(#{dashboardid}::uuid,#{operator} ,#{plantid});
        
        
                update cws_dashboard set dashboardid =#{dashboardid}::uuid where operator = #{operator} and plantid = #{plantid};
        

 

你可能感兴趣的:(Java技术)