|
|
@@ -111,7 +111,7 @@ public class AlarmRecordServiceImpl extends ServiceImpl<AlarmRecordMapper, Alarm
|
|
|
|
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
- public boolean remoteAdd(InventoryTag tag) {
|
|
|
+ public synchronized boolean remoteAdd(InventoryTag tag) {
|
|
|
String electronicTag = tag.getEpc();
|
|
|
RemoteLabHardware hardware = tag.getRemoteLabHardware();
|
|
|
LambdaQueryWrapper<RfidTag> queryWrapper = Wrappers.lambdaQuery(RfidTag.class);
|