改为超过20个仓库提示还要选择仓库才能查询
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user