|
@@ -146,14 +146,16 @@ public class ClubApi {
|
|
|
@ApiOperation("机构资料备注列表")
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(required = true, name = "serviceProviderId", value = "协销Id"),
|
|
|
+ @ApiImplicitParam(required = false, name = "keyWord", value = "模糊搜索关键词"),
|
|
|
@ApiImplicitParam(required = false, name = "pageNum", value = "页码"),
|
|
|
@ApiImplicitParam(required = false, name = "pageSize", value = "每页数量")
|
|
|
})
|
|
|
@GetMapping("/remarks/list")
|
|
|
public ResponseJson<PaginationVo<RemarkVo>> getRemarksList(Integer serviceProviderId,
|
|
|
+ String keyWord,
|
|
|
@RequestParam(value = "pageNum", defaultValue = "1") int pageNum,
|
|
|
@RequestParam(value = "pageSize", defaultValue = "20") int pageSize) {
|
|
|
- return clubService.getRemarksList(serviceProviderId, pageNum, pageSize);
|
|
|
+ return clubService.getRemarksList(serviceProviderId, keyWord, pageNum, pageSize);
|
|
|
}
|
|
|
|
|
|
@ApiOperation("机构资料备注详情")
|
|
@@ -209,7 +211,7 @@ public class ClubApi {
|
|
|
@ApiImplicitParam(required = true, name = "serviceProviderId", value = "协销id")
|
|
|
})
|
|
|
@GetMapping("/remarks/visitor/save")
|
|
|
- public ResponseJson<Map<String,String>> addVisitorClub(String name, String serviceProviderId) {
|
|
|
+ public ResponseJson<Map<String, String>> addVisitorClub(String name, String serviceProviderId) {
|
|
|
if (null == name || "".equals(name)) {
|
|
|
return ResponseJson.error("参数异常:咨询人姓名不能为空!", null);
|
|
|
}
|
|
@@ -222,17 +224,19 @@ public class ClubApi {
|
|
|
@ApiOperation("潜在用户列表")
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(required = true, name = "serviceProviderId", value = "协销id"),
|
|
|
+ @ApiImplicitParam(required = false, name = "keyWord", value = "模糊搜索关键词"),
|
|
|
@ApiImplicitParam(required = false, name = "pageNum", value = "页码"),
|
|
|
@ApiImplicitParam(required = false, name = "pageSize", value = "每页数量")
|
|
|
})
|
|
|
@GetMapping("/remarks/visitor/list")
|
|
|
public ResponseJson<PaginationVo<VisitorRemarkVo>> getVisitorList(String serviceProviderId,
|
|
|
+ String keyWord,
|
|
|
@RequestParam(value = "pageNum", defaultValue = "1") int pageNum,
|
|
|
@RequestParam(value = "pageSize", defaultValue = "20") int pageSize) {
|
|
|
if (null == serviceProviderId || "".equals(serviceProviderId)) {
|
|
|
return ResponseJson.error("参数异常:协销id不能为空!", null);
|
|
|
}
|
|
|
- return clubService.getVisitorList(serviceProviderId, pageNum, pageSize);
|
|
|
+ return clubService.getVisitorList(serviceProviderId, keyWord, pageNum, pageSize);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -290,18 +294,19 @@ public class ClubApi {
|
|
|
@ApiOperation("潜在用户咨询人记录列表")
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(required = true, name = "questionManId", value = "咨询人id"),
|
|
|
+ @ApiImplicitParam(required = false, name = "keyWord", value = "模糊搜索关键词"),
|
|
|
@ApiImplicitParam(required = false, name = "pageNum", value = "页码"),
|
|
|
@ApiImplicitParam(required = false, name = "pageSize", value = "每页数量")
|
|
|
})
|
|
|
@GetMapping("/remarks/visitor/recordlist")
|
|
|
- public ResponseJson<PaginationVo<VisitRemarkVo>> getVisitorRecordList(
|
|
|
- String questionManId,
|
|
|
- @RequestParam(value = "pageNum", defaultValue = "1") int pageNum,
|
|
|
- @RequestParam(value = "pageSize", defaultValue = "20") int pageSize) {
|
|
|
+ public ResponseJson<PaginationVo<VisitRemarkVo>> getVisitorRecordList(String questionManId,
|
|
|
+ String keyWord,
|
|
|
+ @RequestParam(value = "pageNum", defaultValue = "1") int pageNum,
|
|
|
+ @RequestParam(value = "pageSize", defaultValue = "20") int pageSize) {
|
|
|
if (null == questionManId || "".equals(questionManId)) {
|
|
|
return ResponseJson.error("参数异常:协销id不能为空!", null);
|
|
|
}
|
|
|
- return clubService.getVisitorRecordList(questionManId,pageNum, pageSize);
|
|
|
+ return clubService.getVisitorRecordList(keyWord, questionManId, pageNum, pageSize);
|
|
|
}
|
|
|
|
|
|
@ApiOperation("删除潜在用户资料备注")
|
|
@@ -317,8 +322,8 @@ public class ClubApi {
|
|
|
@ApiImplicitParam(required = true, name = "questionManId", value = "咨询人id")
|
|
|
})
|
|
|
@PostMapping("/remarks/concact/visit")
|
|
|
- public ResponseJson concactVisitRemarks(String clubId,String questionManId) {
|
|
|
- return clubService.concactVisitRemarks(clubId,questionManId);
|
|
|
+ public ResponseJson concactVisitRemarks(String clubId, String questionManId) {
|
|
|
+ return clubService.concactVisitRemarks(clubId, questionManId);
|
|
|
}
|
|
|
|
|
|
}
|