1
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user