车辆修改

This commit is contained in:
pengjie 2024-07-12 11:50:44 +08:00
parent a56d4ba7c4
commit 0728d04cca

View File

@ -226,8 +226,7 @@ public class CarInfoController {
noticeService.addUserNotice(Long.valueOf(s), StrUtil.format("【({})车辆已被拉黑,无法再进行新增】", carInfo.getCarNumber()),
"新增车辆通知", "24");
}
}
if (DateUtil.compare(carInfo.getReserveEndTime(), new Date()) < 0) {
} else if (DateUtil.compare(carInfo.getReserveEndTime(), new Date()) < 0) {
List<String> collect = getUserIds(carInfo.getProjectSn(), carInfo.getUserIds());
for (String s : collect) {
noticeService.addUserNotice(Long.valueOf(s), StrUtil.format("【预约时间已过期,({})车辆无法下发】", carInfo.getCarNumber()),