whycxzp
2023-06-25 8d110762f4e4aacf02f837aee3598b41a72e1e37
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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);
    }
}