package com.unis.crk.cplbusiness.service;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.unis.crk.cplbusiness.entity.NventoryAdjustment;
import com.unis.crk.cplbusiness.entity.vo.NventoryAdjustmentVo;

import java.util.Map;

/**
 * <p>
 * 库存调整 服务类
 * </p>
 *
 * @author TangSong
 * @since 2022-05-23
 */
public interface INventoryAdjustmentService extends IService<NventoryAdjustment> {

        /**
         *修改库存调整
         * @param param 库存调整业务数据
         * @return
         */
        JSONObject update(NventoryAdjustment param);
        /**
         *删除库存调整数据
         * @param id 库存调整主键尖
         * @return
         */
        JSONObject delete(String id);

        /**
         * 按照条件查询库存调整信息
         * @param pageQuery
         * @throws Exception
         */
        IPage<Map<String,Object>> findPageVo(NventoryAdjustmentVo pageQuery) ;


 }
