Merge branch 'gyj' into test

This commit is contained in:
yijiegong 2024-09-10 09:21:35 +08:00
commit 6c480acd20
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();