🐞 fix(拍卖行): 按照小区保留拍品数量

This commit is contained in:
luying
2023-05-12 15:31:30 +08:00
parent 5a83742592
commit 133d85c303
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ export async function genAuction(guildCode: string, sourceType: number, sourceCo
const guildEnd = await guildAuctionEnd();
const lotsData: LotParam[] = [];
for(let [id, items] of rewards) {
let seq = await CounterLotsModel.getNewCounter(id, begin, items.length);
let seq = await CounterLotsModel.getNewCounter(id * 100000 + serverId, begin, items.length);
for(let i = 0; i < items.length; i++) {
let { goods: {id, count}, maxPrice, basePrice, sort } = items[i];
let code = genCode(LOT_CODE_LEN);