package com.jwipc.order.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jwipc.order.entity.ShortageHana;
import com.jwipc.order.mapper.ShortagePlanHanaMapper;
import com.jwipc.order.service.IShortagePlanHanaService;
import org.springframework.stereotype.Service;

import java.util.List;

import static com.jwipc.constant.DbTypeConst.HANASERVER;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 邓京术
 * @since 2025-08-08
 */
@Service
@DS(HANASERVER)
public class ShortagePlanHanaServiceImpl extends ServiceImpl<ShortagePlanHanaMapper, ShortageHana> implements IShortagePlanHanaService {

    @Override
    public Integer findCount(String version) {
        return this.baseMapper.findCount(version);
    }

    @Override
    public List<ShortageHana> findListForPage(Integer offset, Integer rows, String version) {
        return this.baseMapper.findListForPage(offset,rows,version);
    }

    @Override
    public List<ShortageHana> getDiffVersion() {
        return this.baseMapper.getDiffVersion();
    }
}
