whyclxw
2025-03-13 aca4324415aba0e5462ae6462ca8d99ca282b71c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.whyc.mapper;
 
import com.whyc.pojo.MaterialProductApproving;
import com.whyc.pojo.MaterialProductHistory;
import com.whyc.pojo.ProductBom;
 
import java.util.List;
 
public interface MaterialProductHistoryMapper extends CustomMapper<MaterialProductHistory>{
    void updateVersionBatch(List<MaterialProductHistory> cphList);
 
    List<MaterialProductHistory> getLatestExistListByMaterialId(Integer materialId);
 
    void updateVersionSubtractBatch(List<MaterialProductApproving> removedList);
 
    List<MaterialProductHistory> getListWithMaterialInfo(List<MaterialProductHistory> mpList);
 
    List<MaterialProductHistory> getListByParentCodeAndCustomCodeAndSubMaterialIdAndVersion(String parentCode, String customCode, List<ProductBom> bomList, int currentVersion);
}