1.
现在报错是因为这个自增主键冲突了: id
你先把之前的delete了,该插入的SQL应该是这样,你看看有没有问题
INSERT INTO "public"."tmall_aggregate_item" ("create_time", "last_update_time", "color_name", "product_id", "tenant_id", "target_item_id") VALUES
('2022-12-19 09:11:30.598+00', '2022-12-19 09:11:30.598+00', '白色鞋子', 325936669, '69000', 694989508551),
('2022-12-19 06:51:20.107+00', '2022-12-19 06:51:20.107+00', 'lv色', 380835922, '69000', 695554114976),
('2022-12-19 06:51:20.107+00', '2022-12-19 06:51:20.107+00', 'color4', 383248706, '69000', 695554114976),
('2022-12-19 07:40:27.924+00', '2022-12-19 07:40:27.924+00', 'color4', 363456506, '69000', 694985016349),
('2022-12-19 08:03:06.826+00', '2022-12-19 08:03:06.826+00', 'lv色', 319806611, '69000', 694986412638),
('2022-12-19 08:03:06.826+00', '2022-12-19 08:03:06.826+00', '粉色', 365920273, '69000', 694986412638),
('2022-12-19 07:18:25.616+00', '2022-12-19 07:18:25.612+00', 'color3', 387324429, '69000', 695555974394);