This commit is contained in:
佟明轩 2025-05-20 11:20:36 +08:00
parent fc45327163
commit 659d00e4d9
1 changed files with 0 additions and 2 deletions

View File

@ -261,8 +261,6 @@ public class InventoryService extends BaseService {
Integer offset = (pageNum - 1) * pageSize; Integer offset = (pageNum - 1) * pageSize;
Long totalCount = inventoryMapper.countExpiryWarn(); Long totalCount = inventoryMapper.countExpiryWarn();
System.out.println(totalCount);
int totalPage= (int) (totalCount % pageSize == 0 ? totalCount / pageSize : totalCount / pageSize + 1); int totalPage= (int) (totalCount % pageSize == 0 ? totalCount / pageSize : totalCount / pageSize + 1);
List<Map<String, Object>> maps = inventoryMapper.selectExpiryWarn(limit, offset); List<Map<String, Object>> maps = inventoryMapper.selectExpiryWarn(limit, offset);