@@ -8,7 +8,9 @@
LEFT JOIN
ctop_advertiser t2 ON t1.advertiser_name = t2.name
WHERE t2.id is not null
- AND media_type = #{mediaType}
+ <if test="mediaType != null and mediaType != '' ">
+ AND media_type = #{mediaType}
+ </if>
GROUP BY t1.advertiser_name
</select>
@@ -95,6 +95,9 @@ public class FinancePaymentApplicationServiceImpl extends ServiceImpl<FinancePay
@Override
public Result<Object> getAdvertisers(String mediaType) {
+ if ("11".equals(mediaType)) {
+ mediaType = null;
+ }
return Result.ok(baseMapper.getAdvertisers(mediaType));
}