Error updating database. Cause: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "sixsigma_scar_pkey"
Detail: Key (id)=(1951651165988499458) already exists.
The error may exist in org/springblade/iot/mapper/StationAccessRecordMapper.java (best guess)
The error may involve org.springblade.iot.mapper.StationAccessRecordMapper.insert-Inline
The error occurred while setting parameters
SQL: INSERT INTO sixsigma_station_access_record (id, station_name, channel_no, ph_no, tenant_id, device_name, device_code, device_ip, card_no, card_color, brand, access_type, access_time, pic_url, feature_picture_url, create_time, update_time, status, is_deleted) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Cause: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "sixsigma_scar_pkey"
Detail: Key (id)=(1951651165988499458) already exists. ; ERROR: duplicate key value violates unique constraint "sixsigma_scar_pkey" Detail: Key (id)=(1951651165988499458) already exists.`
Error updating database. Cause: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "sixsigma_scar_pkey"
Detail: Key (id)=(1951651165988499458) already exists.
The error may exist in org/springblade/iot/mapper/StationAccessRecordMapper.java (best guess)
The error may involve org.springblade.iot.mapper.StationAccessRecordMapper.insert-Inline
The error occurred while setting parameters
SQL: INSERT INTO sixsigma_station_access_record (id, station_name, channel_no, ph_no, tenant_id, device_name, device_code, device_ip, card_no, card_color, brand, access_type, access_time, pic_url, feature_picture_url, create_time, update_time, status, is_deleted) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Cause: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "sixsigma_scar_pkey"
Detail: Key (id)=(1951651165988499458) already exists. ; ERROR: duplicate key value violates unique constraint "sixsigma_scar_pkey" Detail: Key (id)=(1951651165988499458) already exists. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:254) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:107) at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:93) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:347) at jdk.proxy2/jdk.proxy2.$Proxy151.insert(Unknown Source) at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:224) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:59) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(Mybati