whyclxw
2024-07-25 9a48f0e7c87a371b50e5b92a2533dc14ea262374
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);
}