廖井涛
2024-01-23 b3e67abc5f7bccfc60f5ea63e81f62c3475ff8b8
north-glass-erp/src/main/java/com/example/erp/service/mm/FinishedGoodsInventoryService.java
New file
@@ -0,0 +1,20 @@
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);
    }
}