检查未寄卖的逻辑

This commit is contained in:
2026-04-26 09:36:21 +08:00
parent 54a48d7d59
commit 34ae138199
2 changed files with 76 additions and 4 deletions

View File

@@ -414,10 +414,7 @@ public class LbDailyUserTradeServiceImpl extends ServiceImpl<LbDailyUserTradeMap
}
}
if (userId.isEmpty()) {
userId = nickname;
}
if (userId.isEmpty()) {
userId = "AUTO_" + UUID.randomUUID().toString().replace("-", "");
userId = "AUTO_USERID_" + UUID.randomUUID().toString().replace("-", "");
}
LbDailyUserTrade trade = new LbDailyUserTrade();