|
|
@@ -86,7 +86,7 @@
|
|
|
DATE_FORMAT( s.create_time, '%Y-%m' )> DATE_FORMAT( date_sub( curdate(), INTERVAL 12 MONTH ),
|
|
|
'%Y-%m' )
|
|
|
<if test="airName != null and airName!=''">
|
|
|
- and s.air_name=#{airName}
|
|
|
+ and s.air_name LIKE concat( '%', #{airName}, '%' )
|
|
|
</if>
|
|
|
GROUP BY
|
|
|
MONTH (s.create_time
|
|
|
@@ -102,7 +102,7 @@
|
|
|
WHERE
|
|
|
DATE_FORMAT( r.create_time, '%Y-%m' )> DATE_FORMAT( date_sub( curdate(), INTERVAL 12 MONTH ), '%Y-%m' )
|
|
|
<if test="airName != null and airName!=''">
|
|
|
- and s.config_name LIKE concat( '%', #{airName}, '%' )
|
|
|
+ and s.air_name LIKE concat( '%', #{airName}, '%' )
|
|
|
</if>
|
|
|
GROUP BY
|
|
|
MONTH (r.create_time
|