package com.hzs.scm.inventory.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.scm.inventory.IcInventoryH;
import com.hzs.common.domain.scm.inventory.ext.IcInventoryHExt;
import com.hzs.scm.inventory.param.InventoryParam;
import com.hzs.scm.pub.param.ScmApproveParam;
import com.hzs.system.sys.dto.ApprovalBusinessResultDTO;
import com.hzs.system.sys.dto.LoginUser;

import java.util.List;

/**
 * <p>
 * 库存盘点单表头 服务类
 * </p>
 *
 * @author hzs
 * @since 2023-12-20
 */
public interface IIcInventoryHService extends IService<IcInventoryH> {

    /*
     * @description: 保存盘点单
     * @author: sui q
     * @date: 2023/11/20 15:54
     * @param: null null
     **/
    void insertInventoryByInventoryParam(InventoryParam inventoryParam, Long pkMember);

    /*
     * @description: 修改保存盘点单
     * @author: sui q
     * @date: 2023/11/21 11:51
     * @param: null null
     **/
    void updateInventoryByInventoryParam(IcInventoryHExt inventoryExt, InventoryParam inventoryParam, Long pkMember);

    /*
     * @description: 根据订单主键查询盘点单
     * @author: sui q
     * @date: 2023/11/21 10:47
     * @param: null null
     **/
    IcInventoryHExt queryInventoryById(Long pkId, Integer orderStatus);

    /*
     * @description: 查询会员端显示的盘点
     * @author: sui q
     * @date: 2023/11/25 9:55
     * @param: null null
     **/
    IcInventoryHExt queryDisInventoryExtById(Long pkId, Integer orderStatus);

    /*
     * @description: 查询会员端显示的盘点
     * @author: sui q
     * @date: 2023/11/25 9:55
     * @param: null null
     **/
    List<IcInventoryHExt> queryDisInventoryExtByCondition(InventoryParam inventoryParam);

    /*
     * @description: 删除采购订单
     * @author: sui q
     * @date: 2023/11/21 14:54
     * @param: null null
     **/
    void deleteInventory(Long pkId, Long pkMember);

}
