|  | @@ -59,7 +59,7 @@ month_ = #{month},
 | 
											
												
													
														|  |  	</update>
 |  |  	</update>
 | 
											
												
													
														|  |      <update id="updateVisit">
 |  |      <update id="updateVisit">
 | 
											
												
													
														|  |  		update student_operating_visit set visit_flag_ = 1
 |  |  		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>
 |  |  	</update>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  	<!-- 根据主键删除一条记录 -->
 |  |  	<!-- 根据主键删除一条记录 -->
 |