zouxuan 3 سال پیش
والد
کامیت
c7ce231146
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/StudentOperatingVisitMapper.xml

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/StudentOperatingVisitMapper.xml

@@ -59,7 +59,7 @@ month_ = #{month},
 	</update>
     <update id="updateVisit">
 		update student_operating_visit set visit_flag_ = 1
-		where user_id_ = #{studentId} and visit_flag_ = 0 and month_ = DATE_FORMAT(NOW(),'%Y-%m-%d');
+		where user_id_ = #{studentId} and visit_flag_ = 0 and month_ = DATE_FORMAT(NOW(),'%Y-%m');
 	</update>
 
 	<!-- 根据主键删除一条记录 -->