lyhzzz hai 1 ano
pai
achega
ed9f620eab
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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>