|  | @@ -28,13 +28,14 @@
 | 
	
		
			
				|  |  |      <select id="findRecordCount" resultType="java.lang.Integer">
 | 
	
		
			
				|  |  |          select count(1) from sys_manual sm
 | 
	
		
			
				|  |  |          left join sys_user u on sm.operator_id_ = u.id_
 | 
	
		
			
				|  |  | +        left join sys_menu m on sm.menu_id_ = m.id_
 | 
	
		
			
				|  |  |          <where>
 | 
	
		
			
				|  |  |              1 = 1
 | 
	
		
			
				|  |  |              <if test="menuId != null and menuId != '' ">
 | 
	
		
			
				|  |  |                  AND menu_id_ = #{menuId}
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  |              <if test="search != null and search != '' ">
 | 
	
		
			
				|  |  | -                AND (name_ like concat('%', #{menuId} '%') )
 | 
	
		
			
				|  |  | +                AND (name_ like concat('%', #{search} '%') )
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  |          </where>
 | 
	
		
			
				|  |  |          <include refid="global.limit"/>
 | 
	
	
		
			
				|  | @@ -42,15 +43,18 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      <select id="queryRecord" resultType="com.ym.mec.biz.dal.entity.SysManual">
 | 
	
		
			
				|  |  |          select sm.*
 | 
	
		
			
				|  |  | -             , u.username_ as operatorName from sys_manual sm
 | 
	
		
			
				|  |  | +             , u.username_ as operatorName
 | 
	
		
			
				|  |  | +             , m.name_ as menuName
 | 
	
		
			
				|  |  | +        from sys_manual sm
 | 
	
		
			
				|  |  |          left join sys_user u on sm.operator_id_ = u.id_
 | 
	
		
			
				|  |  | +        left join sys_menu m on sm.menu_id_ = m.id_
 | 
	
		
			
				|  |  |          <where>
 | 
	
		
			
				|  |  |              1 = 1
 | 
	
		
			
				|  |  |              <if test="menuId != null and menuId != '' ">
 | 
	
		
			
				|  |  |                  AND sm.menu_id_ = #{menuId}
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  |              <if test="search != null and search != '' ">
 | 
	
		
			
				|  |  | -                AND (name_ like concat('%', #{menuId} '%') )
 | 
	
		
			
				|  |  | +                AND (name_ like concat('%', #{search} '%') )
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  |          </where>
 | 
	
		
			
				|  |  |          <include refid="global.limit"/>
 |