This commit is contained in:
2026-04-24 18:02:16 +08:00
parent f648fd0719
commit b6fd591c8c
5 changed files with 176 additions and 5 deletions

View File

@@ -11,13 +11,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
(
SELECT
wm.*,
NVL(jj.num, 0) AS num
COALESCE(jj.num, 0) AS num
FROM
WEBSITE_MANAGEMENT wm
LEFT JOIN (
SELECT
data_source,
NVL(count(job_id), 0) AS num
COALESCE(count(job_id), 0) AS num
FROM
job j
GROUP BY
@@ -25,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
) jj ON jj.DATA_SOURCE = wm.WEBSITE_NAME
) c
where
c.del_flag=0
c.del_flag='0'
<if test="websiteName != null and websiteName != ''">
and c.website_name like CONCAT('%',#{websiteName},'%')
</if>