|
@@ -493,10 +493,10 @@ public class TOrderController {
|
|
if (admin.getType() > 1) {
|
|
if (admin.getType() > 1) {
|
|
//商家
|
|
//商家
|
|
if (equipment.getAdminId().toString().equals(admin.getId().toString())) {
|
|
if (equipment.getAdminId().toString().equals(admin.getId().toString())) {
|
|
- query.eq(TCoinOrder::getClientId, equipment.getClientId());
|
|
|
|
|
|
+ query.eq(TCoinOrder::getEquipmentId, equipment.getId());
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- query.eq(TCoinOrder::getClientId, equipment.getClientId());
|
|
|
|
|
|
+ query.eq(TCoinOrder::getEquipmentId, equipment.getId());
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
return R.fail(ResponseCodesEnum.A0001, "设备不存在");
|
|
return R.fail(ResponseCodesEnum.A0001, "设备不存在");
|