From 1f79de94f2fd5ff2b6de6556339aefd1c262dc40 Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Sun, 27 Mar 2022 13:55:41 +0800 Subject: [PATCH] Merge branch 'score_shop' --- zq-erp/src/main/resources/mybatis/mapper/hive/MoneyCardUseFlowDao.xml | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/zq-erp/src/main/resources/mybatis/mapper/hive/MoneyCardUseFlowDao.xml b/zq-erp/src/main/resources/mybatis/mapper/hive/MoneyCardUseFlowDao.xml index 4fe3c21..96da104 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/hive/MoneyCardUseFlowDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/hive/MoneyCardUseFlowDao.xml @@ -348,7 +348,6 @@ from money_card_use_flow <where> and car_use_id=#{record.carUseId} - <if test="record.queryTime!=null and record.queryTime!=''"> and DATE_FORMAT(create_time,'%Y-%m')=#{record.queryTime} </if> @@ -361,6 +360,12 @@ </where> order by create_time desc </select> + + <update id="updateVipCardId"> + update money_card_use_flow + set car_use_id=#{cardId} + where vip_id=#{vipId} and type='会员充值' + </update> </mapper> \ No newline at end of file -- Gitblit v1.9.1