|
@@ -211,11 +211,11 @@ public class CustomServiceImpl extends ServiceImpl<CustomMapper, Custom> impleme
|
|
|
boolean isNotAll = sysFunctionService.hasPriviledge(user.getRoleId(), "查看负责部门客户");
|
|
|
List<Custom> list = new ArrayList<>();
|
|
|
int i = 0;
|
|
|
- if (!isAll) {
|
|
|
+ if (isAll) {
|
|
|
//查看全部线索
|
|
|
list = customMapper.getList(custom);
|
|
|
i = customMapper.getTotal(custom);
|
|
|
- } else if (!isNotAll) {
|
|
|
+ } else if (isNotAll) {
|
|
|
//查看负责部门线索 找出所处部门下所有的负责人
|
|
|
list = customMapper.getList1(custom);
|
|
|
i = customMapper.getTotal1(custom);
|