|
@@ -177,6 +177,7 @@ public class TaRecommendCustomerServiceImpl extends ServiceImpl<TaRecommendCusto
|
177
|
177
|
taRecommendCustomer.setRealtyManageType(params.getString("realtyManageType"));
|
178
|
178
|
taRecommendCustomer.setDemandType(params.getString("demandType"));
|
179
|
179
|
taRecommendCustomer.setPriceRange(params.getString("priceRange"));
|
|
180
|
+ taRecommendCustomer.setEntryType(CommConstant.ENTRY_INPUT);
|
180
|
181
|
|
181
|
182
|
// 报备日期是今天
|
182
|
183
|
taRecommendCustomer.setReportDate(LocalDateTime.now());
|
|
@@ -277,6 +278,8 @@ public class TaRecommendCustomerServiceImpl extends ServiceImpl<TaRecommendCusto
|
277
|
278
|
public IPage<TaRecommendCustomer>getCustomersIRecommended(int pageNumber, int pageSize,String customerId,String building){
|
278
|
279
|
String personId = taRecommendCustomerMapper.getCustomerPersonId(customerId);
|
279
|
280
|
QueryWrapper<TaRecommendCustomer>queryWrapper = new QueryWrapper<>();
|
|
281
|
+ // todo
|
|
282
|
+ // 此处可能不是 person_id 而是 recommend_person
|
280
|
283
|
queryWrapper.eq("person_id",personId);
|
281
|
284
|
// queryWrapper.eq("building_id",building);
|
282
|
285
|
queryWrapper.gt("status", CommConstant.MESSAGE_UNREAD);
|