|  | @@ -494,17 +494,16 @@
 | 
											
												
													
														|  |          where find_in_set(mt.id_,ms.music_tag_) and mt.del_flag_ = 0  and mt.state_ = 1) as musicTagNames
 |  |          where find_in_set(mt.id_,ms.music_tag_) and mt.del_flag_ = 0  and mt.state_ = 1) as musicTagNames
 | 
											
												
													
														|  |          ,ms.play_speed_ as playSpeed
 |  |          ,ms.play_speed_ as playSpeed
 | 
											
												
													
														|  |          ,ms.music_price_ as musicPrice
 |  |          ,ms.music_price_ as musicPrice
 | 
											
												
													
														|  | -        ,ms.create_time_ as createTime
 |  | 
 | 
											
												
													
														|  | 
 |  | +        ,ms.update_time_ as createTime
 | 
											
												
													
														|  |          ,if(msar.audit_state_ is null,ms.audit_status_,msar.audit_state_) as auditStatus
 |  |          ,if(msar.audit_state_ is null,ms.audit_status_,msar.audit_state_) as auditStatus
 | 
											
												
													
														|  |          ,su2.username_ as auditName
 |  |          ,su2.username_ as auditName
 | 
											
												
													
														|  | -        from music_sheet ms
 |  | 
 | 
											
												
													
														|  | 
 |  | +        from music_sheet_auth_record  msar
 | 
											
												
													
														|  | 
 |  | +        left join  music_sheet ms on ms.id_ = msar.music_sheet_id_
 | 
											
												
													
														|  |          left join sys_user su on su.id_ = ms.create_by_
 |  |          left join sys_user su on su.id_ = ms.create_by_
 | 
											
												
													
														|  | -        left join music_sheet_auth_record msar on ms.id_ = msar.music_sheet_id_
 |  | 
 | 
											
												
													
														|  |          left join sys_user su2 on msar.verify_user_id_ = su2.id_
 |  |          left join sys_user su2 on msar.verify_user_id_ = su2.id_
 | 
											
												
													
														|  |          <where>
 |  |          <where>
 | 
											
												
													
														|  |              su.del_flag_ = 0 and
 |  |              su.del_flag_ = 0 and
 | 
											
												
													
														|  | -            ms.source_type_  = 'TEACHER' and
 |  | 
 | 
											
												
													
														|  | -            msar.id_ is not null
 |  | 
 | 
											
												
													
														|  | 
 |  | +            ms.source_type_  = 'TEACHER'
 | 
											
												
													
														|  |              <if test="param.idAndName != null and param.idAndName != ''">
 |  |              <if test="param.idAndName != null and param.idAndName != ''">
 | 
											
												
													
														|  |                  and (su.id_ like concat('%',#{param.idAndName} ,'%')
 |  |                  and (su.id_ like concat('%',#{param.idAndName} ,'%')
 | 
											
												
													
														|  |                  or su.username_ like concat('%',#{param.idAndName},'%')
 |  |                  or su.username_ like concat('%',#{param.idAndName},'%')
 | 
											
										
											
												
													
														|  | @@ -522,9 +521,6 @@
 | 
											
												
													
														|  |              <if test="param.endTime != null">
 |  |              <if test="param.endTime != null">
 | 
											
												
													
														|  |                  and ms.create_time_ < #{param.endTime}
 |  |                  and ms.create_time_ < #{param.endTime}
 | 
											
												
													
														|  |              </if>
 |  |              </if>
 | 
											
												
													
														|  | -            <if test="param.delFlag != null">
 |  | 
 | 
											
												
													
														|  | -                and ms.del_flag_ = #{param.delFlag}
 |  | 
 | 
											
												
													
														|  | -            </if>
 |  | 
 | 
											
												
													
														|  |              <if test="param.chargeType != null">
 |  |              <if test="param.chargeType != null">
 | 
											
												
													
														|  |                  and ms.charge_type_ = #{param.chargeType}
 |  |                  and ms.charge_type_ = #{param.chargeType}
 | 
											
												
													
														|  |              </if>
 |  |              </if>
 |