浏览代码

修改:CRM 商业智能,回款金额排行榜时间字段 bug

anhaohao 1 年之前
父节点
当前提交
bfed37af6f

+ 1 - 1
yudao-module-crm/yudao-module-bi-biz/src/main/resources/mapper/rank/BiRankingMapper.xml

@@ -35,7 +35,7 @@
                 #{item}
                 #{item}
             </foreach>
             </foreach>
         </if>
         </if>
-        AND DATE_FORMAT(t.order_date,'${sqlDateFormat}') between #{beginTime} and #{finalTime}
+        AND DATE_FORMAT(t.return_time,'${sqlDateFormat}') between #{beginTime} and #{finalTime}
         GROUP BY t.owner_user_id
         GROUP BY t.owner_user_id
         ORDER BY price DESC
         ORDER BY price DESC
     </select>
     </select>