|
@@ -104,6 +104,8 @@
|
|
|
<if test="territoriality != null and territoriality != ''">and territoriality like concat('%', #{territoriality},'%')</if>
|
|
|
<if test="park != null and park != ''">and park = #{park}</if>
|
|
|
<if test="startTime != null">and DATE_FORMAT(start_time,'%Y-%m') = DATE_FORMAT( #{startTime}, '%Y-%m' )</if>
|
|
|
+ <if test="year != null">and DATE_FORMAT(start_time,'%Y') = #{year}</if>
|
|
|
+ <if test="month != null">and DATE_FORMAT(start_time,'%m') = #{month}</if>
|
|
|
${params.dataScope}
|
|
|
</where>
|
|
|
order by a.order_num,a.create_time desc
|