weichaochao hace 5 años
padre
commit
dca761d033

+ 4
- 3
src/main/java/com/huiju/estateagents/statistic/mapper/TsPersonFromStatisticMapper.java Ver fichero

@@ -3,6 +3,7 @@ package com.huiju.estateagents.statistic.mapper;
3 3
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
4 4
 import com.huiju.estateagents.statistic.entity.TsPersonFromStatistic;
5 5
 import org.apache.ibatis.annotations.Mapper;
6
+import org.apache.ibatis.annotations.Param;
6 7
 
7 8
 import java.time.LocalDate;
8 9
 import java.util.List;
@@ -20,11 +21,11 @@ public interface TsPersonFromStatisticMapper extends BaseMapper<TsPersonFromStat
20 21
 
21 22
     void insertStatisticList(List<TsPersonFromStatistic> list);
22 23
 
23
-    List<TsPersonFromStatistic> selectPersonFrom(Integer orgId, LocalDate startDate, LocalDate endDate);
24
+    List<TsPersonFromStatistic> selectPersonFrom(@Param("orgId") Integer orgId, @Param("startDate") LocalDate startDate, @Param("endDate") LocalDate endDate);
24 25
 
25
-    List<TsPersonFromStatistic> selectPersonFromGroupByDay(Integer orgId, LocalDate startDate, LocalDate endDate);
26
+    List<TsPersonFromStatistic> selectPersonFromGroupByDay(@Param("orgId") Integer orgId, @Param("startDate") LocalDate startDate, @Param("endDate") LocalDate endDate);
26 27
 
27
-    List<TsPersonFromStatistic> selectPersonFromGroupByData(Integer orgId, LocalDate startDate, LocalDate endDate);
28
+    List<TsPersonFromStatistic> selectPersonFromGroupByData(@Param("orgId") Integer orgId, @Param("startDate") LocalDate startDate, @Param("endDate") LocalDate endDate);
28 29
 
29 30
     void deleteByData();
30 31
 }