hr 4 yıl önce
ebeveyn
işleme
d0b6a1d808

+ 2 - 2
src/main/resources/mapper/CostIncomeGroupMapper.xml

@@ -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>