package com.ruoyi.web.stock.mapper;

import com.ruoyi.web.stock.domain.WarehouseAccountingGuide;
import com.ruoyi.web.stock.domain.WarehouseAccountingGuideGoods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WarehouseAccountingGuideMapper {
    WarehouseAccountingGuide selectById(Long id);
    List<WarehouseAccountingGuide> selectList(WarehouseAccountingGuide query);
    int insert(WarehouseAccountingGuide entity);
    int deleteById(@Param("id") Long id, @Param("updateBy") String updateBy);
    List<WarehouseAccountingGuideGoods> selectGoodsByGuideId(Long guideId);
    int insertGoodsBatch(@Param("list") List<WarehouseAccountingGuideGoods> list);
    int deleteGoodsByGuideId(@Param("guideId") Long guideId, @Param("updateBy") String updateBy);
    Integer selectTodayMaxSeq(@Param("orgId") String orgId, @Param("dateText") String dateText);
}

