hr 4 år sedan
förälder
incheckning
3fd48e7e39
1 ändrade filer med 1 tillägg och 1 borttagningar
  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 != ''">