src/main/resources/mapper/stock/StockUninventoryMapper.xml
@@ -20,6 +20,7 @@ <if test="ew.version != null"> version = version + 1, </if> update_time = now() </set> where product_model_id = #{ew.productModelId} and qualitity >= #{ew.qualitity} </update> @@ -32,6 +33,7 @@ <if test="ew.version != null"> version = version + 1, </if> update_time = now() </set> where product_model_id = #{ew.productModelId} </update>