|  | @@ -48,14 +48,16 @@
 | 
	
		
			
				|  |  |  			<if test="search != null">
 | 
	
		
			
				|  |  |  				and title_ like '%' #{search} '%'
 | 
	
		
			
				|  |  |  			</if>
 | 
	
		
			
				|  |  | -			<choose>
 | 
	
		
			
				|  |  | -				<when test="memo != null and memo != ''">
 | 
	
		
			
				|  |  | -					and memo_ = #{memo}
 | 
	
		
			
				|  |  | -				</when>
 | 
	
		
			
				|  |  | -				<otherwise>
 | 
	
		
			
				|  |  | -					and (memo_ is null or memo_ = '')
 | 
	
		
			
				|  |  | -				</otherwise>
 | 
	
		
			
				|  |  | -			</choose>
 | 
	
		
			
				|  |  | +			<if test="clientName != 'manage'">
 | 
	
		
			
				|  |  | +				<choose>
 | 
	
		
			
				|  |  | +					<when test="memo != null and memo != ''">
 | 
	
		
			
				|  |  | +						and memo_ = #{memo}
 | 
	
		
			
				|  |  | +					</when>
 | 
	
		
			
				|  |  | +					<otherwise>
 | 
	
		
			
				|  |  | +						and (memo_ is null or memo_ = '')
 | 
	
		
			
				|  |  | +					</otherwise>
 | 
	
		
			
				|  |  | +				</choose>
 | 
	
		
			
				|  |  | +			</if>
 | 
	
		
			
				|  |  |  		</where>
 | 
	
		
			
				|  |  |  	</sql>
 | 
	
		
			
				|  |  |  	
 | 
	
	
		
			
				|  | @@ -187,6 +189,7 @@
 | 
	
		
			
				|  |  |  		<if test="tenantId != null">
 | 
	
		
			
				|  |  |  			and tenant_id_ = #{tenantId}
 | 
	
		
			
				|  |  |  		</if>
 | 
	
		
			
				|  |  | +		<if test="clientName != 'manage'">
 | 
	
		
			
				|  |  |  			<choose>
 | 
	
		
			
				|  |  |  				<when test="memo != null and memo != ''">
 | 
	
		
			
				|  |  |  					and memo_ = #{memo}
 | 
	
	
		
			
				|  | @@ -195,6 +198,7 @@
 | 
	
		
			
				|  |  |  					and (memo_ is null or memo_ = '')
 | 
	
		
			
				|  |  |  				</otherwise>
 | 
	
		
			
				|  |  |  			</choose>
 | 
	
		
			
				|  |  | +		</if>
 | 
	
		
			
				|  |  |  		order by status_ desc,order_ desc,update_time_ desc
 | 
	
		
			
				|  |  |  		<include refid="global.limit" />
 | 
	
		
			
				|  |  |  	</select>
 | 
	
	
		
			
				|  | @@ -221,6 +225,7 @@
 | 
	
		
			
				|  |  |  		<if test="tenantId != null">
 | 
	
		
			
				|  |  |  			and tenant_id_ = #{tenantId}
 | 
	
		
			
				|  |  |  		</if>
 | 
	
		
			
				|  |  | +		<if test="clientName != 'manage'">
 | 
	
		
			
				|  |  |  			<choose>
 | 
	
		
			
				|  |  |  				<when test="memo != null and memo != ''">
 | 
	
		
			
				|  |  |  					and memo_ = #{memo}
 | 
	
	
		
			
				|  | @@ -229,5 +234,6 @@
 | 
	
		
			
				|  |  |  					and (memo_ is null or memo_ = '')
 | 
	
		
			
				|  |  |  				</otherwise>
 | 
	
		
			
				|  |  |  			</choose>
 | 
	
		
			
				|  |  | +		</if>
 | 
	
		
			
				|  |  |  	</select>
 | 
	
		
			
				|  |  |  </mapper>
 |