|
@@ -235,7 +235,9 @@ public class QrBoxMappingServiceImpl implements QrBoxMappingService {
|
|
|
Integer isMainAccount = userUtil.getWholeUser().getIsMainAccount();
|
|
|
|
|
|
ActivationRecordRes res = new ActivationRecordRes();
|
|
|
-
|
|
|
+ if (isMainAccount.equals(1)) {
|
|
|
+ req.setUserId(null);
|
|
|
+ }
|
|
|
List<ActivationRecordVO> recordVOList = qrBoxMappingMapper.getActivationRecord(req);
|
|
|
List<ActivationRecordRes.ActivationRecordBean> beanList = PojoConverterUtils.copyList(recordVOList, ActivationRecordRes.ActivationRecordBean.class);
|
|
|
res.setActivationRecordBeanList(beanList);
|