From 2930c0767960ab50d8cb08c5eaab63590ce8b49e Mon Sep 17 00:00:00 2001 From: jyy <935090232@qq.com> Date: Thu, 15 Apr 2021 17:56:03 +0800 Subject: [PATCH] 修改bug4 --- zq-erp/src/main/resources/mybatis/mapper/activity/ActivitySignRecordDao.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 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 59fe364..ad83bc6 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/activity/ActivitySignRecordDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/activity/ActivitySignRecordDao.xml @@ -9,9 +9,9 @@ FROM activity_sign_record a where - a.actId = #{actId} - and a.open_id = #{userId} - and a.sign_time like concat('%',#{format},'%') + 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