|  |  | 
 |  |  |     @ApiModelProperty(value = "标签") | 
 |  |  |     private String tags; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "是否加价") | 
 |  |  |     private String isFee; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "供应商") | 
 |  |  |     private String supplierName; | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  |     @ApiModelProperty(value = "是否加价") | 
 |  |  |     private String isFee; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "供应商") | 
 |  |  |     private String supplierName; | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  |                 ) | 
 |  |  |             ) | 
 |  |  |         </if> | 
 |  |  |         <if test="condition.supplierName != null and condition.supplierName != ''"> | 
 |  |  |             AND s.name LIKE concat('%', #{condition.supplierName},'%') | 
 |  |  |         </if> | 
 |  |  |         <if test="condition.isFee != null"> | 
 |  |  |             <choose> | 
 |  |  |                 <when test="condition.isFee == 'markup'"> | 
 |  |  |                     AND sp.fee > 0 | 
 |  |  |                 </when> | 
 |  |  |                 <otherwise> | 
 |  |  |                     AND (sp.fee is null or sp.fee = 0) | 
 |  |  |                 </otherwise> | 
 |  |  |             </choose> | 
 |  |  |         </if> | 
 |  |  |         ORDER BY f.id | 
 |  |  |     </select> | 
 |  |  |  | 
 
 |  |  | 
 |  |  |                 ) | 
 |  |  |             ) | 
 |  |  |         </if> | 
 |  |  |         <if test="condition.supplierName != null and condition.supplierName != ''"> | 
 |  |  |             AND s.name LIKE concat('%', #{condition.supplierName},'%') | 
 |  |  |         </if> | 
 |  |  |         <if test="condition.isFee != null"> | 
 |  |  |         <choose> | 
 |  |  |             <when test="condition.isFee == 'markup'"> |