Commit dadd40c5 authored by suhuiguang's avatar suhuiguang

1.修改缺陷

parent 6d13cee1
......@@ -375,12 +375,13 @@
frcl.create_date = #{date}
</select>
<select id="countCheckException" resultType="long">
select count(1) from
select count(distinct pt.point_id) from
(
SELECT
a.id,
DATE_FORMAT(b.begin_time,'%Y-%m-%d') as begin_date,
DATE_FORMAT(b.end_time,'%Y-%m-%d') as end_date
DATE_FORMAT(b.end_time,'%Y-%m-%d') as end_date,
a.point_id
FROM `p_plan_task_detail` a , p_plan_task b
where
a.task_no = b.id
......
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