改为超过20个仓库提示还要选择仓库才能查询

This commit is contained in:
季圣华
2022-08-25 21:19:09 +08:00
parent f91a19677a
commit 57de1c4d93

View File

@@ -412,7 +412,7 @@ public class DepotItemController {
depotList.add(object.getLong("id")); depotList.add(object.getLong("id"));
} }
//如果有权限的仓库数量太多则提示要选择仓库 //如果有权限的仓库数量太多则提示要选择仓库
if(depotList.size()>10) { if(depotList.size()>20) {
throw new BusinessRunTimeException(ExceptionConstants.REPORT_TWO_MANY_DEPOT_FAILED_CODE, throw new BusinessRunTimeException(ExceptionConstants.REPORT_TWO_MANY_DEPOT_FAILED_CODE,
ExceptionConstants.REPORT_TWO_MANY_DEPOT_FAILED_MSG); ExceptionConstants.REPORT_TWO_MANY_DEPOT_FAILED_MSG);
} }