| | |
| | | <if test='endprice != null'> |
| | | AND <![CDATA[ tb.`zkPrice` <= #{endprice}]]> |
| | | </if> |
| | | <!-- 返利比范围 --> |
| | | <if test='startTkRate != null'> |
| | | AND <![CDATA[ tb.`tkRate` >= #{startTkRate}]]> |
| | | </if> |
| | | <if test='endTkRate != null'> |
| | | AND <![CDATA[ tb.`tkRate` <= #{endTkRate}]]> |
| | | </if> |
| | | <!-- 有券 --> |
| | | <if test='hasQuan != null'> |
| | | AND <![CDATA[ tb.`couponLeftCount` > 1]]> |
| | |
| | | <if test='endprice != null'> |
| | | AND <![CDATA[ tb.`zkPrice` <= #{endprice}]]> |
| | | </if> |
| | | <!-- 返利比范围 --> |
| | | <if test='startTkRate != null'> |
| | | AND <![CDATA[ tb.`tkRate` >= #{startTkRate}]]> |
| | | </if> |
| | | <if test='endTkRate != null'> |
| | | AND <![CDATA[ tb.`tkRate` <= #{endTkRate}]]> |
| | | </if> |
| | | <!-- 有券 --> |
| | | <if test='hasQuan != null'> |
| | | AND <![CDATA[ tb.`couponLeftCount` > 1]]> |