|
|
@@ -274,7 +274,7 @@ public class ChatGptAccountServiceImpl implements ChatGptAccountService {
|
|
|
/**
|
|
|
* 创建chatgptUser
|
|
|
*/
|
|
|
- private ChatgptUser createChatgptUser(GroupsRelation groupsRelation, GroupsTrips groupsTrips, User user, GoodsDonSku goodsDonSku) {
|
|
|
+ private synchronized ChatgptUser createChatgptUser(GroupsRelation groupsRelation, GroupsTrips groupsTrips, User user, GoodsDonSku goodsDonSku) {
|
|
|
ChatgptUser chatgptUser = new ChatgptUser();
|
|
|
if (!goodsDonSku.getIsCar()) {
|
|
|
ChatgptSession chatgptSession = chatgptSessionMapper.selectOne(Wrappers.lambdaQuery(ChatgptSession.class).eq(ChatgptSession::getAccountId, groupsTrips.getAccountId()));
|