|
@ -76,7 +76,12 @@ public class BizCusVisitApi { |
|
|
*/ |
|
|
*/ |
|
|
@GetMapping("/page4Under") |
|
|
@GetMapping("/page4Under") |
|
|
public R<PageVo<BizCusVisit>> page4Under(BizCusVisit param){ |
|
|
public R<PageVo<BizCusVisit>> page4Under(BizCusVisit param){ |
|
|
List<String> userIds = sysUserSalesService.listByChildIds(AuthContextUtils.getSysUserId()); |
|
|
WxUser wxUser = wxUserService.getCurrentWxUser(); |
|
|
|
|
|
if(wxUser.getSysUserId()==null||wxUser.getSysUserId().equals("0")){ |
|
|
|
|
|
return R.byEmptyList(); |
|
|
|
|
|
} |
|
|
|
|
|
String userId = wxUser.getSysUserId(); |
|
|
|
|
|
List<String> userIds = sysUserSalesService.listByChildIds(userId); |
|
|
if(userIds.size()<1){ |
|
|
if(userIds.size()<1){ |
|
|
return R.byEmptyList(); |
|
|
return R.byEmptyList(); |
|
|
} |
|
|
} |
|
|