给单据保存中增加更新成本价的逻辑

This commit is contained in:
jishenghua
2024-05-22 00:56:03 +08:00
parent 72b2af86d8
commit 3727271fd0
3 changed files with 50 additions and 5 deletions

View File

@@ -4,6 +4,7 @@ import com.jsh.erp.datasource.entities.MaterialCurrentStock;
import com.jsh.erp.datasource.entities.MaterialCurrentStockExample;
import org.apache.ibatis.annotations.Param;
import java.math.BigDecimal;
import java.util.List;
public interface MaterialCurrentStockMapperEx {
@@ -12,4 +13,8 @@ public interface MaterialCurrentStockMapperEx {
List<MaterialCurrentStock> getCurrentStockMapByIdList(
@Param("materialIdList") List<Long> materialIdList);
void updateUnitPriceByMId(
@Param("currentUnitPrice") BigDecimal currentUnitPrice,
@Param("materialId") Long materialId);
}