Compare commits
2 Commits
eab8a4693d
...
afaa25489d
| Author | SHA1 | Date | |
|---|---|---|---|
| afaa25489d | |||
| 9ada784a17 |
@@ -1084,13 +1084,13 @@ public class WorkbenchServiceImpl implements IWorkbenchService {
|
|||||||
// } else {
|
// } else {
|
||||||
boolean isLongTerm = d.getDriverLicenseLongTerm() != null && d.getDriverLicenseLongTerm() == 1L;
|
boolean isLongTerm = d.getDriverLicenseLongTerm() != null && d.getDriverLicenseLongTerm() == 1L;
|
||||||
if (!isLongTerm && isDriver) {
|
if (!isLongTerm && isDriver) {
|
||||||
checkDateRisk(dlRisks, convertDateToLocalDate(d.getDriverLicenseExpireDate()), "驾驶证: (" + name + ")", "驾驶证", "driver_license", 90, 1, driverId, null, linkBase + "1");
|
checkDateRisk(dlRisks, convertDateToLocalDate(d.getDriverLicenseExpireDate()), "驾驶证: (" + name + ")", "驾驶证", "driver_license", 30, 1, driverId, null, linkBase + "1");
|
||||||
}
|
}
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// 4. 从业资格证
|
// 4. 从业资格证
|
||||||
if (d.getQualificationValidEndDate() != null) {
|
if (d.getQualificationValidEndDate() != null) {
|
||||||
checkDateRisk(qualRisks, convertDateToLocalDate(d.getQualificationValidEndDate()), "从业资格证: (" + name + ")", "从业资格证", "qualification_certificate", 90, 1, driverId, null, linkBase + "1");
|
checkDateRisk(qualRisks, convertDateToLocalDate(d.getQualificationValidEndDate()), "从业资格证: (" + name + ")", "从业资格证", "qualification_certificate", 30, 1, driverId, null, linkBase + "1");
|
||||||
} else {
|
} else {
|
||||||
// 如果不是驾驶员(如押运员)且缺失,则预警
|
// 如果不是驾驶员(如押运员)且缺失,则预警
|
||||||
if (!isDriver) {
|
if (!isDriver) {
|
||||||
|
|||||||
Reference in New Issue
Block a user