|
@@ -63,7 +63,7 @@
|
|
|
from cost_income_group
|
|
|
where hosp_id = #{hospId}
|
|
|
<if test="date != null and date != ''">
|
|
|
- date_year = YEAR(concat(#{date},'01')) and date_month = MONTH(concat(#{date},'01'))
|
|
|
+ and date_year = YEAR(concat(#{date},'01')) and date_month = MONTH(concat(#{date},'01'))
|
|
|
</if>
|
|
|
group by date_month, date_year
|
|
|
limit #{startIndex},#{pageSize}
|
|
@@ -74,7 +74,7 @@
|
|
|
from cost_income_group
|
|
|
where hosp_id = #{hospId}
|
|
|
<if test="date != null and date != ''">
|
|
|
- date_year = YEAR(concat(#{date},'01')) and date_month = MONTH(concat(#{date},'01'))
|
|
|
+ and date_year = YEAR(concat(#{date},'01')) and date_month = MONTH(concat(#{date},'01'))
|
|
|
</if>
|
|
|
</select>
|
|
|
|