zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml
@@ -1255,6 +1255,10 @@ </foreach> </update> <update id="updateInvalidProduct"> update shopping_goods set staus = '下架' where date_format(now(), '%Y-%m-%d') > date_format(sale_off_time, '%Y-%m-%d') and staus='上架' </update> <!-- 根据code查询 -->