Commit fc7d4728 authored by chenzhao's avatar chenzhao

修改代码

parent 9f27c927
...@@ -532,12 +532,11 @@ ...@@ -532,12 +532,11 @@
) AS `miss_num`, ) AS `miss_num`,
( (
SELECT SELECT
IFNULL( count( * ), 0 ) ifnull( sum( `p_plan_task`.`point_num` ), 0 )
FROM FROM
`p_check` `p_plan_task`
WHERE WHERE
check_time LIKE CONCAT( DATE_FORMAT( now( ), '%Y-%m-%d' ), '%' ) ( `p_plan_task`.`check_date` LIKE concat( curdate( ), '%' ) )
-- AND is_ok != 3
<if test="orgCode!=null"> <if test="orgCode!=null">
and (org_code LIKE CONCAT('%',#{orgCode},'%' )) and (org_code LIKE CONCAT('%',#{orgCode},'%' ))
</if> </if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment