解决多线程导致某些数据表数据重复问题。
This commit is contained in:
@@ -112,7 +112,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
)
|
||||
</insert>
|
||||
<insert id="batchInsert" parameterType="InitialBandwidthTraffic">
|
||||
INSERT INTO ${tableName} (
|
||||
INSERT IGNORE INTO ${tableName} (
|
||||
`name`, `mac`, `status`, `type`, ipV4, `in_dropped`, `out_dropped`,
|
||||
`in_speed`, `out_speed`,create_by, update_by, client_id, create_time
|
||||
) VALUES
|
||||
|
||||
Reference in New Issue
Block a user