广告管理service、controller单元测试完善

This commit is contained in:
gaoqr
2025-10-28 15:49:51 +08:00
parent 8d6ce2a915
commit a091b7d574
12 changed files with 602 additions and 298 deletions
@@ -35,10 +35,10 @@
ad_redirect_url
from advertisement
where deleted = false
and find_in_set (#{adPosition}, ad_position)
and status = #{status}
and start_time <= #{now}
and end_time >= #{now}
and CONCAT(',', ad_position, ',') like concat('%,', #{adPosition}, ',%')
and status = #{status}
and start_time <= #{now}
and end_time >= #{now}
order by sort desc
</select>