| New file |
| | |
| | | package com.example.erp.service.mm; |
| | | |
| | | import com.baomidou.dynamic.datasource.annotation.DS; |
| | | import com.example.erp.entity.mm.FinishedGoodsInventory; |
| | | import com.example.erp.mapper.mm.FinishedGoodsInventoryMapper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | @Service |
| | | @DS("mm") |
| | | public class FinishedGoodsInventoryService { |
| | | @Autowired |
| | | FinishedGoodsInventoryMapper finishedGoodsInventoryMapper; |
| | | public List<FinishedGoodsInventory> defaultDateFinishedGoodsInventory(Integer pageNum, Integer pageSize) { |
| | | Integer offset = (pageNum-1)*pageSize; |
| | | return finishedGoodsInventoryMapper.defaultfinishedGoodsInventory(offset,pageSize); |
| | | } |
| | | } |