package com.tofly.qualitycontrol.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tofly.qualitycontrol.entity.CollectionNumberDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author B
 */
public interface CollectionNumberDetailMapper extends BaseMapper<CollectionNumberDetail> {

	Boolean insertBatch(@Param("collectionNumberDetailList") List<CollectionNumberDetail> collectionNumberDetailList);

	Long getCurrentId();

    void allotAll(@Param("collectionNumber") String collectionNumber, @Param("collectionName") String collectionName, @Param("currentId") Long currentId,
                  @Param("cbqyList") List<String> cbqyList, @Param("cbqydList") List<String> cbqydList,
                  @Param("sbkjList") List<String> sbkjList, @Param("cbbList") List<String> cbbList, @Param("cbpqList") List<String> cbpqList,
                  @Param("ysxzList") List<String> ysxzList, @Param("inputcontent") String inputcontent,
                  @Param("sfncys")String sfncys , @Param("jyz")String jyz);
}
