package cn.hnthyy.thmz.service.thmz;

import cn.hnthyy.thmz.entity.thmz.DispensingWindows;

public interface DispensingWindowsService {
    /**
     * 新增窗口记录
     *
     * @param dispensingWindows
     * @return
     */
    int saveDispensingWindows(DispensingWindows dispensingWindows);

    /**
     * 查询用户的最后一个在使用中的窗口号
     * @param userIdCode
     * @return
     */
    DispensingWindows queryLastDispensingWindowsByUserIdCode(String userIdCode, String ipAddress);

    /**
     * 更新打印机下标
     * @param dispensingWindows
     * @return
     */
    int modifyDispensingWindows(DispensingWindows dispensingWindows);
}
