src/main/resources/mapper/flower/FlowerMarkupSpMapper.xml
@@ -33,6 +33,16 @@ ) ) </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> @@ -68,6 +78,16 @@ ) ) </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> </mapper>