Pārlūkot izejas kodu

作者:张哲
时间:2023/03/27
类型:开发
描述:里程碑(3) 公司统计修改

zizg 1 gadu atpakaļ
vecāks
revīzija
c75fedf2a0

+ 1 - 1
src/main/resources/mapper/knowledge/analysis/AnalysisAlbumMapper.xml

@@ -57,7 +57,7 @@
         full join
         (select users.COMPANY_ID_ as companyId, count(*) album from KM_ALBUM_INFO album
         join LEARNING_USER_DEV.OS_USER users
-        on album.UPDATE_BY_ = users.USER_ID_
+        on album.CREATE_BY_ = users.USER_ID_
         <where>
             <if test="firstDay != null and lastDay != null">
                 and TO_CHAR(album.CREATE_TIME_,'yyyy-mm-dd') &gt;= #{firstDay}

+ 1 - 1
src/main/resources/mapper/knowledge/analysis/AnalysisMapMapper.xml

@@ -52,7 +52,7 @@
         full join
         (select users.COMPANY_ID_ as companyId, count(*) map from KM_MAP map
         join LEARNING_USER_DEV.OS_USER users
-        on map.UPDATE_BY_ = users.USER_ID_
+        on map.CREATE_BY_ = users.USER_ID_
         <where>
             <if test="firstDay != null and lastDay != null">
                 and TO_CHAR(map.CREATE_TIME_,'yyyy-mm-dd') &gt;= #{firstDay}