浏览代码

08 11 code

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 != ''">