EquipmentSparepartSuppliesAdjustMapper.java
1.1 KB
package com.skua.modules.supplies.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.skua.modules.equipment.dto.EquipmentAdjustQueryDTO;
import com.skua.modules.equipment.vo.EquipmentAdjustQueryVO;
import com.skua.modules.supplies.entity.EquipmentSparepartSuppliesAllot;
import com.skua.modules.supplies.vo.EquipmentAdjustDetailQueryVO;
import org.apache.ibatis.annotations.Param;
import com.skua.modules.supplies.entity.EquipmentSparepartSuppliesAdjust;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* 库存调整
*/
public interface EquipmentSparepartSuppliesAdjustMapper extends BaseMapper<EquipmentSparepartSuppliesAdjust> {
IPage<EquipmentAdjustQueryVO> pageQuery(Page<EquipmentSparepartSuppliesAllot> page, @Param("dto") EquipmentAdjustQueryDTO dto);
List<EquipmentAdjustDetailQueryVO> queryChildDetailById(String id);
Long countByWareHouseIdAndSuppliesIdAndState(@Param("adjustState") String adjustState, @Param("suppliesWarehouseId")String suppliesWarehouseId, @Param("suppliesIds")List<String> suppliesIds);
}