|
|
|
@ -148,7 +148,7 @@ |
|
|
|
<select id="countAmpNumWithDays" resultMap="ApmRecordCountDTOResultMap"> |
|
|
|
<select id="countAmpNumWithDays" resultMap="ApmRecordCountDTOResultMap"> |
|
|
|
select DATE_FORMAT(apm_day, '%Y-%m-%d') apmDay, project, period, time_frame timeFrame, count(id) apmNum |
|
|
|
select DATE_FORMAT(apm_day, '%Y-%m-%d') apmDay, project, period, time_frame timeFrame, count(id) apmNum |
|
|
|
from ca_apm_record |
|
|
|
from ca_apm_record |
|
|
|
where is_deleted = 0 and apm_status = 2 |
|
|
|
where is_deleted = 0 and apm_status in ('2','3') |
|
|
|
<if test="createDept != '' and createDept != null"> |
|
|
|
<if test="createDept != '' and createDept != null"> |
|
|
|
and create_dept = #{createDept} |
|
|
|
and create_dept = #{createDept} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|