ECR
lxw
2023-02-21 16c2184601ad7a198ccbdea408db039966375b74
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.whyc.mapper;
 
import com.whyc.pojo.MaterialProductApproving;
import com.whyc.pojo.MaterialProductHistory;
 
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);
 
}