Merge branch 'gyj' into dev
This commit is contained in:
commit
260bf68c23
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue