chenhj
5 天以前 481399bea1b66312de3c04864c49cedf5f0a6ece
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>