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