whycxzp
2022-08-15 6eda8b2ff2b6748376670e84a14a8656cc1094c6
src/main/java/com/whyc/service/ComponentProductHistoryService.java
@@ -29,4 +29,12 @@
    public void updateVersionBatch(List<ComponentProductHistory> cphList) {
        mapper.updateVersionBatch(cphList);
    }
    public void insertBatch(List<ComponentProductHistory> newHistoryList) {
        mapper.insertBatchSomeColumn(newHistoryList);
    }
    public List<ComponentProductHistory> getLatestExistListByComponentId(Integer componentId) {
        return mapper.getLatestExistListByComponentId(componentId);
    }
}