package cn.hnthyy.thmz.service.impl.his;

import cn.hnthyy.thmz.entity.his.YpBase;
import cn.hnthyy.thmz.mapper.his.YpBaseMapper;
import cn.hnthyy.thmz.service.his.YpBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @author: WANGJIALIANG
 * @time: 2021/7/28 17:09
 */
@Service
public class YpBaseServiceImpl implements YpBaseService {

    @Autowired
    YpBaseMapper ypBaseMapper;

    @Override
    public Double queryStockAmount(String chargeCode, String serial, String groupNo) {
        return ypBaseMapper.selectStockAmount(chargeCode,serial,groupNo);
    }

    @Override
    public YpBase queryYpBase(String chargeCode, String serial, String groupNo) {
        return ypBaseMapper.selectYpBase(chargeCode, serial, groupNo);
    }
}
