|
|
@ -80,7 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
and date_sub(now(),interval 1 week) < create_time |
|
|
and date_sub(now(),interval 1 week) < create_time |
|
|
</if> |
|
|
</if> |
|
|
<if test="dateSearch != null and dateSearch != ''"> |
|
|
<if test="dateSearch != null and dateSearch != ''"> |
|
|
and DATE_FORMAT(create_time, '%Y-%m') = #{dateSearch} |
|
|
and DATE_FORMAT(create_time, '%m') = #{dateSearch} |
|
|
</if> |
|
|
</if> |
|
|
<if test="params.dataScope != null and params.dataScope != ''"> |
|
|
<if test="params.dataScope != null and params.dataScope != ''"> |
|
|
<!-- 数据范围过滤 --> |
|
|
<!-- 数据范围过滤 --> |
|
|
@ -199,7 +199,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
and QUARTER(create_time) = #{quarter} |
|
|
and QUARTER(create_time) = #{quarter} |
|
|
</if> |
|
|
</if> |
|
|
<if test="month != null and month != '' "> |
|
|
<if test="month != null and month != '' "> |
|
|
and DATE_FORMAT(create_time, '%Y-%m') = #{month} |
|
|
and DATE_FORMAT(create_time, '%m') = #{month} |
|
|
</if> |
|
|
</if> |
|
|
AND bureau_dept_id is not null |
|
|
AND bureau_dept_id is not null |
|
|
and time_type is not null |
|
|
and time_type is not null |
|
|
@ -294,7 +294,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
and QUARTER(create_time) = #{quarter} |
|
|
and QUARTER(create_time) = #{quarter} |
|
|
</if> |
|
|
</if> |
|
|
<if test="month != null and month != '' "> |
|
|
<if test="month != null and month != '' "> |
|
|
and DATE_FORMAT(create_time, '%Y-%m') = #{month} |
|
|
and DATE_FORMAT(create_time, '%m') = #{month} |
|
|
</if> |
|
|
</if> |
|
|
AND bureau_dept_id is not null |
|
|
AND bureau_dept_id is not null |
|
|
and time_type ='year' |
|
|
and time_type ='year' |
|
|
|