Explorar el Código

Merge branch 'master' of http://git.ycjcjy.com/zhiyuxing/estateagents

张延森 hace 5 años
padre
commit
c38f6f2b59
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/main/resources/mapper/TaPersonMapper.xml

+ 1
- 1
src/main/resources/mapper/TaPersonMapper.xml Ver fichero

@@ -198,7 +198,7 @@ FROM
198 198
         ta_person tp
199 199
         INNER JOIN ta_person_visit_record tpvr ON tp.person_id = tpvr.person_id
200 200
         where ifnull(tp.person_type, '') != #{personType}
201
-        GROUP BY tpvr.person_id, tpvr.event_type, DATE_FORMAT( tpvr.visit_time , '%Y-%m-%d' )
201
+        GROUP BY  tpvr.event_type, DATE_FORMAT( tpvr.visit_time , '%Y-%m-%d' )
202 202
         ) AS temp ON temp_date.date = temp.date and temp_date.type_id = temp.event_type
203 203
         order by temp_date.date asc
204 204
     </select>