From 147999c063e913989a4b09f5e7884e11f680ace2 Mon Sep 17 00:00:00 2001
From: jiangyouyao <jiangyouyao>
Date: Wed, 06 Apr 2022 14:48:16 +0800
Subject: [PATCH] fix:修复赠送产品需要设置消耗金额的问题

---
 zq-erp/src/main/resources/mybatis/mapper/activity/ActivitySignRecordDao.xml |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/zq-erp/src/main/resources/mybatis/mapper/activity/ActivitySignRecordDao.xml b/zq-erp/src/main/resources/mybatis/mapper/activity/ActivitySignRecordDao.xml
index f84a474..140d8ff 100644
--- a/zq-erp/src/main/resources/mybatis/mapper/activity/ActivitySignRecordDao.xml
+++ b/zq-erp/src/main/resources/mybatis/mapper/activity/ActivitySignRecordDao.xml
@@ -24,4 +24,15 @@
           and a.user_id = #{userId}
     </select>
 
+    <select id="selectListByActIdAndUserIdLikesignTime" resultType="com.matrix.system.activity.entity.ActivitySignRecord">
+        SELECT
+            *
+        FROM
+            activity_sign_record a
+        where
+            a.activity_id = #{actId}
+          and a.user_id = #{userId}
+          and a.sign_time like concat('%',DATE(#{format}),'%')
+</select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1