|  | @@ -38,11 +38,6 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	<!-- 向数据库增加一条记录 -->
 | 
	
		
			
				|  |  |  	<insert id="insert" parameterType="com.ym.mec.biz.dal.entity.MusicEnlightenmentQuestionnaire" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
 | 
	
		
			
				|  |  | -		<!--
 | 
	
		
			
				|  |  | -		<selectKey resultClass="int" keyProperty="id" > 
 | 
	
		
			
				|  |  | -		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
 | 
	
		
			
				|  |  | -		</selectKey>
 | 
	
		
			
				|  |  | -		-->
 | 
	
		
			
				|  |  |  		INSERT INTO music_enlightenment_questionnaire (music_group_id_,user_id_,user_name_,phone_,current_grade_,current_grade_num_,current_class_,teacher_recommand_subject_id_,musical_instruments_learning_,musical_instruments_name_,join_parent_meeting_,remark_,create_time_,update_time_,tenant_id_)
 | 
	
		
			
				|  |  |  		VALUES(#{musicGroupId},#{userId},#{userName},#{phone},#{currentGrade},#{currentGradeNum},#{currentClass},#{teacherRecommandSubjectId},#{musicalInstrumentsLearning},#{musicalInstrumentsName},#{joinParentMeeting},#{remark},NOW(),NOW(),#{tenantId})
 | 
	
		
			
				|  |  |  	</insert>
 | 
	
	
		
			
				|  | @@ -97,7 +92,7 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	<sql id="queryCondition">
 | 
	
		
			
				|  |  |  		<where>
 | 
	
		
			
				|  |  | -			tenant_id_ = #{tenantId}
 | 
	
		
			
				|  |  | +			meq.tenant_id_ = #{tenantId}
 | 
	
		
			
				|  |  |  			<if test="musicGroupId!=null and musicGroupId!=''">
 | 
	
		
			
				|  |  |  				AND meq.music_group_id_=#{musicGroupId}
 | 
	
		
			
				|  |  |  			</if>
 |