|
@@ -18,6 +18,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
18
|
18
|
import org.springframework.web.bind.annotation.*;
|
19
|
19
|
|
20
|
20
|
import javax.servlet.http.HttpServletRequest;
|
|
21
|
+import java.lang.reflect.Method;
|
21
|
22
|
import java.time.LocalDateTime;
|
22
|
23
|
import java.time.ZoneOffset;
|
23
|
24
|
import java.util.List;
|
|
@@ -50,6 +51,9 @@ public class TaPersonVisitRecordController extends BaseController {
|
50
|
51
|
public ITaPersonIntentionRecordService personIntentionRecordService;
|
51
|
52
|
@Autowired
|
52
|
53
|
public ITaBuildingService buildingService;
|
|
54
|
+ @Autowired
|
|
55
|
+ private ITaRecommendCustomerService taRecommendCustomerService;
|
|
56
|
+
|
53
|
57
|
|
54
|
58
|
|
55
|
59
|
/**
|
|
@@ -349,7 +353,7 @@ public class TaPersonVisitRecordController extends BaseController {
|
349
|
353
|
public ResponseBean getSharePersonList(@RequestParam(value ="pageNumber",defaultValue = "1") Integer pageNumber,
|
350
|
354
|
@RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize,
|
351
|
355
|
@RequestParam(value = "userId") Integer userId,
|
352
|
|
- @RequestParam(value = "targetId")Integer targetId,
|
|
356
|
+ @RequestParam(value = "targetId")String targetId,
|
353
|
357
|
HttpServletRequest request){
|
354
|
358
|
try {
|
355
|
359
|
//使用分页插件
|
|
@@ -362,4 +366,10 @@ public class TaPersonVisitRecordController extends BaseController {
|
362
|
366
|
return ResponseBean.error(e.getMessage(),ResponseBean.ERROR_UNAVAILABLE);
|
363
|
367
|
}
|
364
|
368
|
}
|
|
369
|
+
|
|
370
|
+ @RequestMapping(value = "/wx/judgeBindCustomer", method = RequestMethod.GET)
|
|
371
|
+ public ResponseBean judgeBindCustomer(@RequestParam("customerId")String customerId, @RequestParam("recommendPersonId") String recommendPersonId){
|
|
372
|
+ boolean judgeBindCustomerFlag = taRecommendCustomerService.judgeBindCustomer(customerId, recommendPersonId);
|
|
373
|
+ return ResponseBean.success(judgeBindCustomerFlag);
|
|
374
|
+ }
|
365
|
375
|
}
|