|
|
@@ -99,7 +99,7 @@ public class SysPcAddressServiceImpl extends ServiceImpl<SysPcAddressMapper, Sys
|
|
|
public SysPcAddressNumVo queryPcNum() {
|
|
|
SysPcAddressNumVo sysPcAddressNumVo = new SysPcAddressNumVo();
|
|
|
|
|
|
- Long all = sysPcAddressMapper.selectCount(new LambdaQueryWrapper<SysPcAddress>());
|
|
|
+ Long all = sysPcAddressMapper.selectCount(new LambdaQueryWrapper<SysPcAddress>().in(SysPcAddress::getSource, Arrays.asList("1","2")));
|
|
|
Long channelNum = sysPcAddressMapper.selectCount(new LambdaQueryWrapper<SysPcAddress>().eq(SysPcAddress::getSource,1));
|
|
|
Long proxyNum = sysPcAddressMapper.selectCount(new LambdaQueryWrapper<SysPcAddress>().eq(SysPcAddress::getSource,2));
|
|
|
sysPcAddressNumVo.setAllNum(all);
|