package com.whyc.service;
|
|
import com.whyc.mapper.SOPFileTypeMapper;
|
import com.whyc.pojo.SOPFileType;
|
import org.springframework.stereotype.Service;
|
|
import javax.annotation.Resource;
|
import java.util.List;
|
|
@Service
|
public class SOPFileTypeService {
|
|
@Resource
|
private SOPFileTypeMapper mapper;
|
|
|
public List<SOPFileType> getAllInDB(List<SOPFileType> typeList) {
|
return mapper.getAllInDB(typeList);
|
}
|
|
public void addBatch(List<SOPFileType> newRecordList) {
|
mapper.insertBatchSomeColumn(newRecordList);
|
}
|
}
|