|
@@ -47,10 +47,6 @@ public class AdsOrderDetailService implements IAdsOrderDetailService {
|
|
|
List<Long> userIds = dto.getPitcherId() == null ? poerInfo.first : Collections.singletonList(Long.parseLong(dto.getPitcherId()));
|
|
|
List<Long> gameIds = CollectionUtils.isEmpty(dto.getGameId()) ? poerInfo.second : dto.getGameId();
|
|
|
|
|
|
- if (StringUtils.isBlank(dto.getPitcherId()) && !SecurityUtil.isManager()) {
|
|
|
- // 只有管理员才能查看全部数据
|
|
|
- dto.setPitcherId(SecurityUtil.getUserId().toString());
|
|
|
- }
|
|
|
Criteria cri = Cnd.cri();
|
|
|
if (StringUtils.isNotBlank(dto.getSourceSystem())) {
|
|
|
cri.where().andEquals("source_system", dto.getSourceSystem());
|