二维码下载数量限制500

This commit is contained in:
yijiegong 2024-09-10 09:14:37 +08:00
parent e48029a9a4
commit c063c19532
1 changed files with 2 additions and 2 deletions

View File

@ -50,8 +50,8 @@ public class TbDeviceStockController {
throw new RuntimeException("请先添加台桌");
}
if (downloadDto.getCount() > (shopTables.size() * 2)) {
throw new RuntimeException("最多可获取台桌数量的2倍");
if (downloadDto.getCount() > 500) {
throw new RuntimeException("最多可获取500个");
}
TbDeviceStock lastRecord = tbDeviceStockService.findLastRecord();