Browse Source

08 11 code

hr 4 năm trước cách đây
mục cha
commit
d0b6a1d808
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/main/resources/mapper/CostIncomeGroupMapper.xml

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