zq-erp/src/main/resources/mybatis/mapper/hive/MoneyCardUseDao.xml
@@ -632,4 +632,17 @@ update money_card_use set STATUS='无效' where date_format(now(), '%Y-%m-%d') > date_format(FAIL_TIME, '%Y-%m-%d') and STATUS='有效' </update> <update id="saveInTimeReceiptWare"> <foreach collection="storeReceiptWares" item="wares" separator=";"> UPDATE money_card_use <set> <if test="wares.containsKey('createBy')"> order_item_id = if(#{wares.createBy}='',NULL,#{wares.createBy}), </if> </set> WHERE id = #{wares.id} </foreach> </update> </mapper>