|
@@ -848,6 +848,7 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
|
|
|
// 条件:adminList
|
|
|
if (param.getAdminIds() != null && !param.getAdminIds().isEmpty()) {
|
|
|
queryWrapper.in(TOrder::getAdminId, param.getAdminIds());
|
|
|
+ param.setAdminId(null);
|
|
|
}
|
|
|
// 条件:companyType
|
|
|
if (StringUtils.isNotBlank(param.getCompanyType())) {
|
|
@@ -862,7 +863,7 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
|
|
|
// 条件:支付状态
|
|
|
queryWrapper.eq(TOrder::getStatus, 1);
|
|
|
// 条件:type == 2 or type == 1
|
|
|
- if ("2".equals(param.getPacketType())) {
|
|
|
+ if ("0".equals(param.getPacketType())) {
|
|
|
queryWrapper.groupBy(TOrder::getAdminId);
|
|
|
} else if ("1".equals(param.getPacketType())) {
|
|
|
queryWrapper.groupBy(TOrder::getClientId);
|
|
@@ -914,6 +915,7 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
|
|
|
// 条件:adminList
|
|
|
if (param.getAdminIds() != null && !param.getAdminIds().isEmpty()) {
|
|
|
queryWrapper.in(TCoinOrder::getAdminId, param.getAdminIds());
|
|
|
+ param.setAdminId(null);
|
|
|
}
|
|
|
// 条件:companyType
|
|
|
if (StringUtils.isNotBlank(param.getCompanyType())) {
|
|
@@ -928,7 +930,7 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
|
|
|
// 条件:支付状态
|
|
|
queryWrapper.eq(TCoinOrder::getStatus, 1);
|
|
|
// 条件:type == 2 or type == 1
|
|
|
- if ("2".equals(param.getPacketType())) {
|
|
|
+ if ("0".equals(param.getPacketType())) {
|
|
|
queryWrapper.groupBy(TCoinOrder::getAdminId);
|
|
|
} else if ("1".equals(param.getPacketType())) {
|
|
|
queryWrapper.groupBy(TCoinOrder::getClientId);
|