Commit a121352a by yinyong

JIT库存+计划单库存

parent e84f9c24
......@@ -26,7 +26,7 @@ public interface DcSemiDailyStockMapper {
@Select("select sum(inventory_amount) from dc_semi_daily_stock where day = #{lastDay} and warehouse_id in (16,9)")
BigDecimal getSemiHaNiDailyStockSum(@Param("lastDay") Date lastDay);
@Select("select sum(jit_prod_stock * new_price) from dc_semi_stock_prod_daily where record_time = #{lastDay}")
@Select("select sum((jit_prod_stock + plan_prod_stock) * new_price) from dc_semi_stock_prod_daily where record_time = #{lastDay}")
BigDecimal getSemiProdInventoryAmountSum(@Param("lastDay") Date lastDay);
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment