lyhzzz 1 年之前
父節點
當前提交
ed9f620eab
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/resources/mapper/fusion/TmProjectMapper.xml

+ 2 - 2
src/main/resources/mapper/fusion/TmProjectMapper.xml

@@ -5,10 +5,10 @@
     <select id="groupByDeptId" resultType="com.fdkankan.fusion.response.DataGroupVo">
         select dept_id as groupKey ,count(1) as dataCount from tm_project where is_delete = 0
         <if test="startTime !=null and startTime !='' ">
-            and create_time &gt;= #{startTime}
+            and accident_date &gt;= #{startTime}
         </if>
         <if test="endTime !=null and endTime !='' ">
-            and create_time &lt;= #{endTime}
+            and accident_date &lt;= #{endTime}
         </if>
         group by dept_id
     </select>