package com.hzs.scm.general.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.scm.general.IcGeneralInH;
import com.hzs.common.domain.scm.general.ext.IcGeneralInHExt;
import com.hzs.scm.general.param.GeneralParam;
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-11-27
 */
public interface IIcGeneralInHService extends IService<IcGeneralInH> {

    /*
     * @description: 保存其他入库
     * @author: sui q
     * @date: 2023/11/20 15:54
     * @param: null null
     **/
    void insertGeneralInByGeneralParam(GeneralParam generalParam, Long pkMember);

    /*
     * @description: 修改保存其他入库
     * @author: sui q
     * @date: 2023/11/21 11:51
     * @param: null null
     **/
    void updateGeneralInByGeneralParam(IcGeneralInHExt generalInhExt, GeneralParam poOrderParam, Long pkMember);

    /*
     * @description: 根据订单主键查询其他入库
     * @author: sui q
     * @date: 2023/11/21 10:47
     * @param: null null
     **/
    IcGeneralInHExt queryGeneralInById(Long pkId, Integer orderStatus);

    /*
     * @description: 查询会员端显示的采购入库单
     * @author: sui q
     * @date: 2023/11/25 9:55
     * @param: null null
     **/
    IcGeneralInHExt queryDisGeneralInExtById(Long pkId, Integer orderStatus);

    /*
     * @description: 查询会员端显示的采购入库单
     * @author: sui q
     * @date: 2023/11/25 9:55
     * @param: null null
     **/
    List<IcGeneralInHExt> queryDisGeneralInExtByCondition(GeneralParam generalParam);

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