// // Source code recreated from a .class file by IntelliJ IDEA // (powered by FernFlower decompiler) // package com.flow.service.impl; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.flow.mapper.InvoicesjiluMapper; import com.flow.pojo.Invoicesjilu; import com.flow.service.InvoicesjiluService; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import java.util.List; import org.springframework.stereotype.Service; @Service public class InvoicesjiluServiceImpl extends ServiceImpl implements InvoicesjiluService { public InvoicesjiluServiceImpl() { } public int addinjilu(Invoicesjilu invoicesjilu) { return ((InvoicesjiluMapper)this.baseMapper).insert(invoicesjilu); } public PageInfo findinvoicesjilu(Integer page, Integer limit) { QueryWrapper queryWrapper = new QueryWrapper(); PageHelper.startPage(page, limit); List cardList = ((InvoicesjiluMapper)this.baseMapper).selectList(queryWrapper); PageInfo info = new PageInfo(cardList); return info; } public PageInfo findinvoicesjiluZi(Integer page, Integer limit, Invoicesjilu invoicesjilu) { QueryWrapper queryWrapper = new QueryWrapper(); queryWrapper.eq("company", invoicesjilu.getCompany()); PageHelper.startPage(page, limit); List cardList = ((InvoicesjiluMapper)this.baseMapper).selectList(queryWrapper); PageInfo info = new PageInfo(cardList); return info; } }