package thyyxxk.webserver.dao.his.utilities;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import thyyxxk.webserver.entity.utilities.itemapply.response.ItemApply;

import java.util.List;

@Mapper
public interface ItemApplyDao {

    @Select("select *,quantity=1 from t_supplies_appliable where type=#{type} and ${statement}")
    List<ItemApply> selectSupplies(Integer type, String statement);

}
