zouxuan 3 月之前
父节点
当前提交
0ccb2e5f55
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      mec-biz/src/main/resources/config/mybatis/StudentMapper.xml

+ 2 - 2
mec-biz/src/main/resources/config/mybatis/StudentMapper.xml

@@ -1559,12 +1559,12 @@
         and mg.status_ = 'PROGRESS'
         and mg.status_ = 'PROGRESS'
         and mg.cooperation_organ_id_ = #{coopId}
         and mg.cooperation_organ_id_ = #{coopId}
     </select>
     </select>
-    <select id="balanceRelation">
+    <update id="balanceRelation">
         select firstMonthVipReportStatis(#{firstDayOfThisMonth});
         select firstMonthVipReportStatis(#{firstDayOfThisMonth});
         select firstMonthMusicClassReportStatis(#{firstDayOfThisMonth});
         select firstMonthMusicClassReportStatis(#{firstDayOfThisMonth});
         select currentMonthVipReportStatis(#{firstDayOfLastMonth},#{lastDayOfLastMonth});
         select currentMonthVipReportStatis(#{firstDayOfLastMonth},#{lastDayOfLastMonth});
         select currentMonthMusicClassReportStatis(#{firstDayOfLastMonth},#{lastDayOfLastMonth});
         select currentMonthMusicClassReportStatis(#{firstDayOfLastMonth},#{lastDayOfLastMonth});
         select lastMonthVipReportStatis(#{lastDayOfLastMonth});
         select lastMonthVipReportStatis(#{lastDayOfLastMonth});
         select lastMonthMusicClassReportStatis(#{lastDayOfLastMonth});
         select lastMonthMusicClassReportStatis(#{lastDayOfLastMonth});
-    </select>
+    </update>
 </mapper>
 </mapper>