|
@@ -200,7 +200,7 @@ public class TOrderController {
|
|
query.eq(TOrder::getStatus, status);
|
|
query.eq(TOrder::getStatus, status);
|
|
}
|
|
}
|
|
// 公司平台
|
|
// 公司平台
|
|
-// // 申泽平台管理员
|
|
|
|
|
|
+ // 申泽平台管理员
|
|
// if (admin.getId() == 2738) {
|
|
// if (admin.getId() == 2738) {
|
|
// companyType = "0";
|
|
// companyType = "0";
|
|
// }
|
|
// }
|
|
@@ -231,12 +231,10 @@ public class TOrderController {
|
|
if (admin.getId() == 2739) {
|
|
if (admin.getId() == 2739) {
|
|
String finalCompanyType = "1";
|
|
String finalCompanyType = "1";
|
|
if (StringUtils.isNotEmpty(finalCompanyType)) {
|
|
if (StringUtils.isNotEmpty(finalCompanyType)) {
|
|
- query.nested(q -> q.isNull(TOrder::getCompanyType).or()
|
|
|
|
- .eq(TOrder::getCompanyType, finalCompanyType));
|
|
|
|
|
|
+ query.eq(TOrder::getCompanyType, finalCompanyType);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
if (StringUtils.isNotEmpty(machineType)) {
|
|
if (StringUtils.isNotEmpty(machineType)) {
|
|
if (machineType.equals("0")) {
|
|
if (machineType.equals("0")) {
|
|
query.nested(q -> q.isNull(TOrder::getMachineType).or()
|
|
query.nested(q -> q.isNull(TOrder::getMachineType).or()
|
|
@@ -519,8 +517,7 @@ public class TOrderController {
|
|
if (admin.getId() == 2739) {
|
|
if (admin.getId() == 2739) {
|
|
String finalCompanyType = "1";
|
|
String finalCompanyType = "1";
|
|
if (StringUtils.isNotEmpty(finalCompanyType)) {
|
|
if (StringUtils.isNotEmpty(finalCompanyType)) {
|
|
- query.nested(q -> q.isNull(TCoinOrder::getCompanyType).or()
|
|
|
|
- .eq(TCoinOrder::getCompanyType, finalCompanyType));
|
|
|
|
|
|
+ query.eq(TCoinOrder::getCompanyType, finalCompanyType);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|