Merge branch 'gyj' into dev

This commit is contained in:
yijiegong 2024-09-10 09:19:50 +08:00
commit 260bf68c23
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();