cloudroam
2025-03-10 c306cba52bcc3e2c423f77d4a52c35ad04c52038
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.jsh.erp.datasource.mappers;
 
import com.jsh.erp.datasource.entities.MaterialCurrentStock;
import org.apache.ibatis.annotations.Param;
 
import java.math.BigDecimal;
import java.util.List;
 
public interface MaterialCurrentStockMapperEx {
 
    int batchInsert(List<MaterialCurrentStock> list);
 
    List<MaterialCurrentStock> getCurrentStockMapByIdList(
            @Param("materialIdList") List<Long> materialIdList);
 
    void updateUnitPriceByMId(
            @Param("currentUnitPrice") BigDecimal currentUnitPrice,
            @Param("materialId") Long materialId);
 
    BigDecimal getCurrentUnitPriceByMId(@Param("materialId") Long materialId);
 
    void batchDeleteByDepots(@Param("ids") String ids[]);
}