hr преди 4 години
родител
ревизия
3fd48e7e39
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/resources/mapper/CostIncomeGroupMapper.xml

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

@@ -59,7 +59,7 @@
     </select>
 
     <select id="getCollections" resultType="com.imed.costaccount.model.vo.CollectionVO">
-        select file_id, date_year, date_month, sum(amount) as amount
+        select file_id, date_year as `year`, date_month as `month`, sum(amount) as amount
         from cost_income_group
         where hosp_id = #{hospId}
         <if test="date != null and date != ''">