|
@@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
|
5
|
5
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
6
|
6
|
import com.huiju.estateagents.base.ResponseBean;
|
7
|
7
|
import com.huiju.estateagents.common.CommConstant;
|
|
8
|
+import com.huiju.estateagents.entity.TaPersonBuilding;
|
8
|
9
|
import com.huiju.estateagents.entity.TaPersonVisitRecord;
|
9
|
10
|
import com.huiju.estateagents.entity.TdWxDict;
|
10
|
11
|
import com.huiju.estateagents.exception.EstaException;
|
|
@@ -309,11 +310,11 @@ public class StatisticalServiceImpl implements IStatisticalService {
|
309
|
310
|
}
|
310
|
311
|
|
311
|
312
|
@Override
|
312
|
|
- public ResponseBean selectIntentionUser(Integer pageNum, Integer pageSize, Integer orgId, String buildingId, Integer userId) {
|
|
313
|
+ public ResponseBean selectIntentionUser(Integer pageNum, Integer pageSize, Integer orgId, String buildingId, List<TaPersonBuilding> taPersonBuildingListByUserId) {
|
313
|
314
|
ResponseBean responseBean = new ResponseBean();
|
314
|
315
|
|
315
|
316
|
IPage<Map<String, Object>> pg = new Page<>(pageNum, pageSize);
|
316
|
|
- IPage<Map<String, Object>> page = taPersonIntentionRecordMapper.selectIntentionUser(pg, orgId, buildingId, userId);
|
|
317
|
+ IPage<Map<String, Object>> page = taPersonIntentionRecordMapper.selectIntentionUser(pg, orgId, buildingId, taPersonBuildingListByUserId);
|
317
|
318
|
|
318
|
319
|
responseBean.addSuccess(page);
|
319
|
320
|
return responseBean;
|