package com.zioinfo.mes.stocktake.mapper;

import com.zioinfo.mes.stocktake.MesStocktake;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StocktakeMapper {
    List<MesStocktake> findAll(@Param("stocktakeNo") String stocktakeNo,
                               @Param("status") String status);
    MesStocktake findById(@Param("id") Long id);
    int insert(MesStocktake s);
    int updateStatus(@Param("id") Long id, @Param("status") String status);
}
