|
@@ -9,6 +9,8 @@ import com.huiju.estateagents.exception.EstaException;
|
9
|
9
|
import com.huiju.estateagents.mapper.*;
|
10
|
10
|
import com.huiju.estateagents.po.PersonPO;
|
11
|
11
|
import com.huiju.estateagents.service.IStatisticalService;
|
|
12
|
+import com.huiju.estateagents.statistic.entity.TsPersonFromStatistic;
|
|
13
|
+import com.huiju.estateagents.statistic.mapper.TsPersonFromStatisticMapper;
|
12
|
14
|
import lombok.extern.slf4j.Slf4j;
|
13
|
15
|
import org.springframework.beans.factory.annotation.Autowired;
|
14
|
16
|
import org.springframework.stereotype.Service;
|
|
@@ -42,6 +44,9 @@ public class StatisticalServiceImpl implements IStatisticalService {
|
42
|
44
|
@Autowired
|
43
|
45
|
private TaPersonIntentionRecordMapper taPersonIntentionRecordMapper;
|
44
|
46
|
|
|
47
|
+ @Autowired
|
|
48
|
+ private TsPersonFromStatisticMapper tsPersonFromStatisticMapper;
|
|
49
|
+
|
45
|
50
|
|
46
|
51
|
@Override
|
47
|
52
|
public ResponseBean indexStatistical(Integer orgId) {
|
|
@@ -302,4 +307,18 @@ public class StatisticalServiceImpl implements IStatisticalService {
|
302
|
307
|
responseBean.addSuccess(page);
|
303
|
308
|
return responseBean;
|
304
|
309
|
}
|
|
310
|
+
|
|
311
|
+ /**
|
|
312
|
+ * 用户来源数据 首页
|
|
313
|
+ *
|
|
314
|
+ * @param orgId
|
|
315
|
+ * @param startDate
|
|
316
|
+ * @param endDate
|
|
317
|
+ * @return
|
|
318
|
+ */
|
|
319
|
+ @Override
|
|
320
|
+ public ResponseBean selectPersonFrom(Integer orgId, LocalDate startDate, LocalDate endDate) {
|
|
321
|
+ List<TsPersonFromStatistic> list = tsPersonFromStatisticMapper.selectPersonFrom(orgId,startDate,endDate);
|
|
322
|
+ return null;
|
|
323
|
+ }
|
305
|
324
|
}
|