package com.gkhy.exam.institutionalaccess.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.gkhy.exam.institutionalaccess.entity.ThBatch;
|
import com.gkhy.exam.institutionalaccess.model.query.ThBatchQuery;
|
import com.gkhy.exam.institutionalaccess.model.vo.ThBatchVO;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
import org.springframework.stereotype.Repository;
|
|
import java.util.List;
|
|
@Repository
|
@Mapper
|
public interface ThBatchMapper extends BaseMapper<ThBatch> {
|
List<ThBatchVO> listByPage(@Param("query") ThBatchQuery query);
|
|
List<ThBatch> getByUuids(@Param("batchUuids") List<String> batchUuids);
|
Integer insertBatch(@Param("batchList") List<ThBatch> batchList);
|
Integer updateBatch(@Param("batchList") List<ThBatch> batchList);
|
|
List<ThBatch> getBatchNameByUuids(@Param("batchUuids")List<String> batchUuids);
|
}
|