|
@@ -12,11 +12,13 @@ import com.huiju.estateagents.center.taUser.service.ITaUserService;
|
12
|
12
|
import com.huiju.estateagents.common.CommConstant;
|
13
|
13
|
import com.huiju.estateagents.common.DateUtils;
|
14
|
14
|
import com.huiju.estateagents.common.StringUtils;
|
|
15
|
+import com.huiju.estateagents.entity.TaBuilding;
|
15
|
16
|
import com.huiju.estateagents.entity.TaPerson;
|
16
|
17
|
import com.huiju.estateagents.entity.TaRecommendCustomer;
|
17
|
18
|
import com.huiju.estateagents.excel.AgentsRecommendCustomer;
|
18
|
19
|
import com.huiju.estateagents.excel.ExcelRecommendCustomer;
|
19
|
20
|
import com.huiju.estateagents.excel.ReporRecommendCustomer;
|
|
21
|
+import com.huiju.estateagents.mapper.TaBuildingMapper;
|
20
|
22
|
import com.huiju.estateagents.mapper.TaPersonMapper;
|
21
|
23
|
import com.huiju.estateagents.mapper.TaPersonVisitRecordMapper;
|
22
|
24
|
import com.huiju.estateagents.mapper.TaRecommendCustomerMapper;
|
|
@@ -58,6 +60,9 @@ public class TaRecommendCustomerServiceImpl extends ServiceImpl<TaRecommendCusto
|
58
|
60
|
@Autowired
|
59
|
61
|
ITaUserService userService;
|
60
|
62
|
|
|
63
|
+ @Autowired
|
|
64
|
+ private TaBuildingMapper taBuildingMapper;
|
|
65
|
+
|
61
|
66
|
@Override
|
62
|
67
|
public ResponseBean getMyCustList(String openid, String keywords, int pageNumber, int pageSize) {
|
63
|
68
|
List<TaPerson> taPersons = getPersonsByOpenId(openid);
|
|
@@ -189,7 +194,10 @@ public class TaRecommendCustomerServiceImpl extends ServiceImpl<TaRecommendCusto
|
189
|
194
|
|
190
|
195
|
// taRecommendCustomer.setAppointmentTime((String) params.get("appointmentTime"));
|
191
|
196
|
taRecommendCustomer.setVisiteNum(params.getInteger("visiteNum"));
|
192
|
|
- taRecommendCustomer.setIntention(params.getString("intention"));
|
|
197
|
+
|
|
198
|
+ TaBuilding building = taBuildingMapper.selectById(params.getString("intention"));
|
|
199
|
+ taRecommendCustomer.setIntention(building.getBuildingName());
|
|
200
|
+
|
193
|
201
|
taRecommendCustomer.setRealtyManageType(params.getString("realtyManageType"));
|
194
|
202
|
taRecommendCustomer.setDemandType(params.getString("demandType"));
|
195
|
203
|
taRecommendCustomer.setPriceRange(params.getString("priceRange"));
|