|
@@ -111,11 +111,11 @@ public class DeviceChargingServiceImpl extends ServiceImpl<DeviceChargingMapper,
|
|
|
.setTimeout(now)
|
|
|
.setCreateTime(now)
|
|
|
);
|
|
|
- throw new CommRuntimeException("设备欠费,请充值");
|
|
|
+ throw new CommRuntimeException("管理费欠费");
|
|
|
}
|
|
|
int contrast = DataTime.stringContrast(DataTime.toString(deviceCharging.getTimeout()), DataTime.toString(now));
|
|
|
if (deviceCharging.getChargingX() == 0 && contrast <= 0) {
|
|
|
- throw new CommRuntimeException("设备欠费,请充值");
|
|
|
+ throw new CommRuntimeException("管理费欠费");
|
|
|
}
|
|
|
return R.ok();
|
|
|
}
|