解决多线程导致某些数据表数据重复问题。
This commit is contained in:
@@ -110,7 +110,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</foreach>
|
||||
</delete>
|
||||
<insert id="batchInsertInitialSwitchInfoTemp" parameterType="java.util.List" useGeneratedKeys="true" keyProperty="id">
|
||||
INSERT INTO initial_switch_info_temp
|
||||
INSERT IGNORE INTO initial_switch_info_temp
|
||||
(
|
||||
client_id, name, in_bytes, out_bytes, status, type, in_speed, out_speed, switch_ip,
|
||||
create_by, update_by, create_time, update_time
|
||||
|
||||
Reference in New Issue
Block a user