whyclxw
2025-02-27 5636f3f0e6005cc30dca08ce33f5e6f1e7cd457f
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);
}