|
|
|
@@ -175,7 +175,7 @@ |
|
|
|
<foreach collection="tenantIds" index="index" item="tenantId" open="(" separator="," close=")"> |
|
|
|
#{tenantId} |
|
|
|
</foreach> |
|
|
|
AND DATE_FORMAT( create_date, '%Y' ) IN |
|
|
|
AND DATE_FORMAT( day_date, '%Y' ) IN |
|
|
|
<foreach collection="years" item="year" open="(" separator="," close=")"> |
|
|
|
#{year} |
|
|
|
</foreach> |
|
|
|
@@ -194,7 +194,7 @@ |
|
|
|
#{tenantId} |
|
|
|
</foreach> |
|
|
|
<if test=" null != specificDate"> |
|
|
|
and DATE_FORMAT( create_date, '%Y-%m-%d' ) = DATE_FORMAT( #{specificDate}, '%Y-%m-%d' ) |
|
|
|
and DATE_FORMAT( day_date, '%Y-%m-%d' ) = DATE_FORMAT( #{specificDate}, '%Y-%m-%d' ) |
|
|
|
</if> |
|
|
|
</select> |
|
|
|
|
|
|
|
|