package com.bonus.canteen.core.menu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bonus.canteen.core.drp.v2.dto.DrpAiRegisterMaterialPageDTO;
import com.bonus.canteen.core.drp.v2.dto.DrpAiThisWaitRegisterMaterialListDTO;
import com.bonus.canteen.core.drp.v2.po.NotRegisterMaterialPicModel;
import com.bonus.canteen.core.drp.v2.vo.DrpAiThisWaitRegisterMaterialListVO;
import com.bonus.canteen.core.drp.v2.vo.DrpAndroidRegisterMaterialPageVO;
import com.bonus.canteen.core.menu.entity.MenuMaterialRegister;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface MenuMaterialRegisterMapper extends BaseMapper<MenuMaterialRegister> {
   List<NotRegisterMaterialPicModel> listNotRegisterMaterialPic(@Param("delFlag") Integer delFlag, @Param("commonYes") Integer commonYes);

   List<DrpAndroidRegisterMaterialPageVO> pageRegisterMaterial(@Param("content") DrpAiRegisterMaterialPageDTO content);

   List<DrpAndroidRegisterMaterialPageVO> pageNotRegisterMaterial(@Param("content") DrpAiRegisterMaterialPageDTO content);

   List<DrpAiThisWaitRegisterMaterialListVO> listThisWaitRegisterMaterial(@Param("content") DrpAiThisWaitRegisterMaterialListDTO content);

   int updateMaterialRegisterStatus(@Param("materialId") Long materialId, @Param("status") int status);
}
