解决bug:商品模块中,单价金额无法单个清空的问题

This commit is contained in:
季圣华
2023-04-22 10:42:04 +08:00
parent be1583d6c2
commit ce61f62bf3
3 changed files with 18 additions and 4 deletions

View File

@@ -65,4 +65,14 @@
</foreach>
)
</update>
<update id="specialUpdatePrice" parameterType="com.jsh.erp.datasource.entities.MaterialExtend">
update jsh_material_extend
set purchase_decimal = #{purchaseDecimal,jdbcType=DECIMAL},
commodity_decimal = #{commodityDecimal,jdbcType=DECIMAL},
wholesale_decimal = #{wholesaleDecimal,jdbcType=DECIMAL},
low_decimal = #{lowDecimal,jdbcType=DECIMAL}
where id = #{id,jdbcType=BIGINT}
and ifnull(delete_flag,'0') !='1'
</update>
</mapper>