yxh
8 天以前 89bb0237ead5fb632fcc14c2c52276496e19843f
ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceDonorchargeorganServiceImpl.java
@@ -5,6 +5,10 @@
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.project.domain.ServiceDonorchargeorgan;
import com.ruoyi.project.domain.SpStatChange;
import com.ruoyi.project.domain.SpStatChangeDetail;
import com.ruoyi.project.domain.SpStatChangeDetailReq;
import com.ruoyi.project.domain.SpStatChangeReq;
import com.ruoyi.project.mapper.ServiceDonorchargeorganMapper;
import com.ruoyi.project.service.IServiceDonorchargeorganService;
import org.springframework.beans.factory.annotation.Autowired;
@@ -102,9 +106,34 @@
    }
    @Override
    public int removeByIds(Long[] ids) {
        if (ids == null || ids.length == 0) {
            return 0;
        }
        return serviceDonorchargeorganMapper.removeByIds(ids);
    }
    @Override
    public List<ServiceDonorchargeorgan> queryListBypaymentidIsNull(ServiceDonorchargeorgan serviceDonorchargeorgan) {
        List<ServiceDonorchargeorgan> serviceDonorchargeorgans = serviceDonorchargeorganMapper.queryListBypaymentidIsNull(serviceDonorchargeorgan);
        return serviceDonorchargeorgans;
    }
    @Override
    public List<SpStatChange> getListBySpStatChange(SpStatChangeReq spStatChangeReq) {
        return serviceDonorchargeorganMapper.getListBySpStatChange(
                spStatChangeReq.getPabegtime(),
                spStatChangeReq.getPaendtime(),
                spStatChangeReq.getPahospitalname());
    }
    @Override
    public List<SpStatChangeDetail> getSpStatChangeDetail(SpStatChangeDetailReq req) {
        return serviceDonorchargeorganMapper.getSpStatChangeDetail(
                req.getPabegtime(),
                req.getPaendtime(),
                req.getPahospitalname(),
                req.getPachargestate());
    }
}