BEGIN BEGIN TRAN; DELETE FROM dict_data WHERE id=1098297176427065344; INSERT INTO dict_data (id,gmt_create,gmt_modified,code,name,is_active,remark,data_value,category) VALUES(1098297176427065344,'2023-04-19 17:20:52.000','2024-01-31 15:30:30.000','w10008','价格参照',1,'','',4); DELETE FROM dict_data_item WHERE p_id=1098297176427065344; INSERT INTO dict_data_item (id,gmt_create,gmt_modified,seq_no,code,name,item_value,is_active,remark,p_id) VALUES(1098297176427065345,'2023-04-19 17:20:52.000','2024-01-31 15:30:30.000',1,'0','零售价','0',0,'',1098297176427065344); INSERT INTO dict_data_item (id,gmt_create,gmt_modified,seq_no,code,name,item_value,is_active,remark,p_id) VALUES(1098297176427065346,'2023-04-19 17:20:52.000','2023-04-19 05:20:52.000',2,'1','指定批发价','1',1,'',1098297176427065344); INSERT INTO dict_data_item (id,gmt_create,gmt_modified,seq_no,code,name,item_value,is_active,remark,p_id) VALUES(1098297176431259648,'2023-04-19 17:20:52.000','2024-01-16 15:47:21.000',3,'2','含税平均进价','2',0,'',1098297176427065344); INSERT INTO dict_data_item (id,gmt_create,gmt_modified,seq_no,code,name,item_value,is_active,remark,p_id) VALUES(1098297176431259649,'2023-04-19 17:20:52.000','2023-04-19 05:20:52.000',4,'3','最新进价','3',1,'',1098297176427065344); INSERT INTO dict_data_item (id,gmt_create,gmt_modified,seq_no,code,name,item_value,is_active,remark,p_id) VALUES(1098297176431259650,'2023-04-19 17:20:52.000','2024-01-31 15:30:30.000',5,'4','配送价','4',0,'',1098297176427065344); INSERT INTO dict_data_item (id,gmt_create,gmt_modified,seq_no,code,name,item_value,is_active,remark,p_id) VALUES(1196843143597649920,'2024-01-16 15:47:22.000','2024-01-16 15:47:21.000',6,'5','最新进价且BC采购进价优先','5',1,'',1098297176427065344); COMMIT; END;