package yangtz.cs.liu.campus.mapper.purchase;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import yangtz.cs.liu.campus.domain.purchase.SchoolPurchase;
import yangtz.cs.liu.campus.domain.teacher.SchoolTeacherLeave;
import yangtz.cs.liu.campus.vo.purchase.SchoolPurchaseVo;

import java.util.List;

/**
 * 采购任务
 */
@Mapper
public interface SchoolPurchaseMapper extends BaseMapper<SchoolPurchase> {
 List<SchoolPurchase> findPurchaseName(@Param("handUserId") Long handUserId);

 List<SchoolPurchaseVo> queryList(@Param("submitState") String submitState,@Param("entity") SchoolPurchase schoolPurchase);

 List<SchoolPurchaseVo> selectPurchaseList(@Param("entity") SchoolPurchase schoolPurchase);
}
