“djh”
16 hours ago 2d9bf42ce507096c3b73a782da3ad16f29d2ccdc
multi-system/src/main/java/com/gkhy/exam/system/service/impl/InconsistentServiceImpl.java
@@ -1,5 +1,6 @@
package com.gkhy.exam.system.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gkhy.exam.common.api.CommonPage;
import com.gkhy.exam.common.api.CommonResult;
import com.gkhy.exam.common.utils.PageUtils;
@@ -7,7 +8,6 @@
import com.gkhy.exam.system.domain.Inconsistent;
import com.gkhy.exam.system.mapper.InconsistentMapper;
import com.gkhy.exam.system.service.InconsistentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@@ -28,9 +28,9 @@
    @Autowired
    private InconsistentMapper inconsistentMapper;
    @Override
    public CommonPage selectInconsistentList(Integer companyId) {
    public CommonPage selectInconsistentList(Integer companyId,String year) {
        PageUtils.startPage();
        List<Inconsistent> inconsistents = inconsistentMapper.selectInconsistentList(companyId);
        List<Inconsistent> inconsistents = inconsistentMapper.selectInconsistentList(companyId,year);
        return CommonPage.restPage(inconsistents);
    }