Commit 55e9dd4f by wnb0128

车家智能数据服务 用户数据插入上加锁--think.wang

1 parent 9e9f18b4
...@@ -7,7 +7,6 @@ import com.glsx.smart.exception.ResultEnum; ...@@ -7,7 +7,6 @@ import com.glsx.smart.exception.ResultEnum;
import com.glsx.smart.service.SmartUserRelationService; import com.glsx.smart.service.SmartUserRelationService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
...@@ -46,8 +45,7 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService { ...@@ -46,8 +45,7 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService {
} }
@Override @Override
@Transactional public synchronized Long insertSelective(SmartUserRelation record) {
public Long insertSelective(SmartUserRelation record) {
SmartUserRelation request = new SmartUserRelation(); SmartUserRelation request = new SmartUserRelation();
request.setPhone(record.getPhone()); request.setPhone(record.getPhone());
request.setChannel(record.getChannel()); //涂鸦 request.setChannel(record.getChannel()); //涂鸦
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!