刘俊驰 2 月之前
父节点
当前提交
919cc98e89
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/TempDirectorTrainingCampDetailMapper.xml

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/TempDirectorTrainingCampDetailMapper.xml

@@ -9,7 +9,7 @@
         t.temp_director_training_camp_id_ as id,
         count(t.id_) as applyCount,
         sum(if(t.payment_status_ = 'PAID',1,0)) as payCount,
-        sum(if(t.payment_status_ = 'PAID',t.payment_amount_,0)) as payCount
+        sum(if(t.payment_status_ = 'PAID',t.payment_amount_,0)) as payAmount
         from temp_director_training_camp_detail t
         where t.temp_director_training_camp_id_ in
         <foreach collection="ids" item="id" open="(" separator="," close=")">