给销售单据存储的采购价增加移动平均价的切换
This commit is contained in:
@@ -27,4 +27,8 @@
|
||||
and ifnull(delete_flag,'0') !='1'
|
||||
</update>
|
||||
|
||||
<select id="getCurrentUnitPriceByMId" resultType="java.math.BigDecimal">
|
||||
select ifnull(mcs.current_unit_price,0) as current_unit_price from jsh_material_current_stock mcs where mcs.material_id=#{materialId} limit 1
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user