src/main/resources/mapper/flower/FlowerMarkupPsSpMapper.xml
@@ -33,6 +33,19 @@ ) ) </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>