zouxuan 3 years ago
parent
commit
c7ce231146

+ 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>
 
 	<!-- 根据主键删除一条记录 -->