package cn.hnthyy.thmz.mapper.his;

import cn.hnthyy.thmz.entity.his.YpInDetl;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 药库入库持久化类
 */
public interface YpInDetlMapper {

    /**
     * 查询药品入库信息
     * @param chargeCode
     * @param inSeri
     * @param inDocuNo
     * @return
     */
    @Select("select manu_code,manu_no,in_docu_no,in_seri,charge_code from yp_in_detl where charge_code=#{chargeCode} and in_seri=#{inSeri} and in_docu_no=#{inDocuNo}")
    YpInDetl selectYpInDetl(@Param("chargeCode") String chargeCode, @Param("inSeri") int inSeri, @Param("inDocuNo") String inDocuNo);
}
