package com.unis.crk.business.kcgl.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.unis.crk.business.kcgl.entity.DataKcglXckcDefault;
import com.unis.crk.business.kcgl.entity.vo.DataKcglXckcDefaultVo;
import com.unis.crk.enums.EditStatus;
import com.unis.crk.enums.StoreWorkType;

import java.util.Map;
/**
 * <p>
 * 库存管理-形成库存表 服务类
 * </p>
 *
 * @author TangSong
 * @since 2021-10-11
 */
public interface IDataKcglXckcDefaultService extends IService<DataKcglXckcDefault> {

        IPage<Map<String,Object>> findPageVo(DataKcglXckcDefaultVo pageQuery) ;

    /**
     * 形成库存生成
     * @param dataId
     * @param unitId
     * @param loginName
     * @param editStatus
     * @param workType
     * @return
     */
        boolean makeStockDetail(String dataId, String unitId, String loginName,
                            EditStatus editStatus, StoreWorkType workType);

    IPage<Map<String,Object>> findPageBgtz(DataKcglXckcDefaultVo pageQuery);
}
