Authored by mali

sql性能优化

... ... @@ -106,6 +106,6 @@
</select>
<update id="updateDeleteSuggestPrice" timeout="10">
UPDATE storage s set s.suggest_low_price = null , s.suggest_high_price = null WHERE s.suggest_high_price is not null AND NOT EXISTS (SELECT * FROM channel_sku_compare c where s.id = c.sku)
UPDATE storage s set s.suggest_low_price = null , s.suggest_high_price = null WHERE s.suggest_high_price > 0 AND NOT EXISTS (SELECT * FROM channel_sku_compare c where s.id = c.sku)
</update>
</mapper>
\ No newline at end of file
... ...