This commit is contained in:
parent
fc45327163
commit
659d00e4d9
|
|
@ -261,8 +261,6 @@ public class InventoryService extends BaseService {
|
|||
Integer offset = (pageNum - 1) * pageSize;
|
||||
Long totalCount = inventoryMapper.countExpiryWarn();
|
||||
|
||||
System.out.println(totalCount);
|
||||
|
||||
int totalPage= (int) (totalCount % pageSize == 0 ? totalCount / pageSize : totalCount / pageSize + 1);
|
||||
List<Map<String, Object>> maps = inventoryMapper.selectExpiryWarn(limit, offset);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue