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