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); } }