diff --git a/src/main/java/com/zhgd/xmgl/modules/baotou/mapper/xml/ProjectGroupMapper.xml b/src/main/java/com/zhgd/xmgl/modules/baotou/mapper/xml/ProjectGroupMapper.xml
index 4d05bcbee..09d0b8a1d 100644
--- a/src/main/java/com/zhgd/xmgl/modules/baotou/mapper/xml/ProjectGroupMapper.xml
+++ b/src/main/java/com/zhgd/xmgl/modules/baotou/mapper/xml/ProjectGroupMapper.xml
@@ -3,18 +3,18 @@
diff --git a/src/main/java/com/zhgd/xmgl/modules/baotou/service/impl/ProjectGroupServiceImpl.java b/src/main/java/com/zhgd/xmgl/modules/baotou/service/impl/ProjectGroupServiceImpl.java
index 4a5d1e581..79d38b3e9 100644
--- a/src/main/java/com/zhgd/xmgl/modules/baotou/service/impl/ProjectGroupServiceImpl.java
+++ b/src/main/java/com/zhgd/xmgl/modules/baotou/service/impl/ProjectGroupServiceImpl.java
@@ -163,16 +163,16 @@ public class ProjectGroupServiceImpl extends ServiceImpl epcContractorId.equals(String.valueOf(s)))) {
- throw new OpenAlertException("编辑失败,解绑的EPC承包商已被使用!");
- }
- }
+// for (String constructionUnitId : StrUtil.split(constructionUnitIds, ",")) {
+// if (gConstructionUnitIds.stream().noneMatch(constructionUnitId::equals)) {
+// throw new OpenAlertException("编辑失败,解绑的施工单位已被装置使用!");
+// }
+// }
+// for (String epcContractorId : StrUtil.split(epcContractorIds, ",")) {
+// if (gEpcContractorIds.stream().noneMatch(s -> epcContractorId.equals(String.valueOf(s)))) {
+// throw new OpenAlertException("编辑失败,解绑的EPC承包商已被装置使用!");
+// }
+// }
}
}
diff --git a/src/main/java/com/zhgd/xmgl/modules/car/service/impl/CarInfoServiceImpl.java b/src/main/java/com/zhgd/xmgl/modules/car/service/impl/CarInfoServiceImpl.java
index 9500b984d..7894ca3dd 100644
--- a/src/main/java/com/zhgd/xmgl/modules/car/service/impl/CarInfoServiceImpl.java
+++ b/src/main/java/com/zhgd/xmgl/modules/car/service/impl/CarInfoServiceImpl.java
@@ -261,14 +261,14 @@ public class CarInfoServiceImpl extends ServiceImpl impl
.last(Cts.IGNORE_DATA_SCOPE_CONDITION)
).stream().collect(Collectors.toMap(CarType::getCarTypeName, Function.identity(), (o1, o2) -> o1));
for (Map importInfo : list) {
- String carModuleType = importInfo.get("车辆类型");
- CarInfo dataCar = numMap.get(importInfo.get("车牌号"));
+ String carModuleType = importInfo.get("*车辆类型");
+ CarInfo dataCar = numMap.get(importInfo.get("*车牌号"));
CarInfo excelCar = new CarInfo();
- excelCar.setCarNumber(importInfo.get("车牌号"));
- excelCar.setCarColor(importInfo.get("车辆颜色"));
+ excelCar.setCarNumber(importInfo.get("*车牌号"));
+ excelCar.setCarColor(importInfo.get("*车辆颜色"));
excelCar.setAddTime(new Date());
excelCar.setProjectSn(projectSn);
- String readWorkerName = importInfo.get("司机姓名");
+ String readWorkerName = importInfo.get("*司机姓名");
if (!"临时车辆".equals(carModuleType)) {
WorkerInfo workerInfo = workerMap.get(readWorkerName);
if (workerInfo == null) {
@@ -280,14 +280,14 @@ public class CarInfoServiceImpl extends ServiceImpl impl
excelCar.setDriverWorkerId(String.valueOf(workerInfo.getId()));
}
excelCar.setDriverWorkerName(readWorkerName);
- excelCar.setDriverTelephone(importInfo.get("司机电话"));
- excelCar.setIsBlack(Objects.equals(importInfo.get("是否黑名单"), "是") ? 1 : 0);
- excelCar.setCarType(Optional.ofNullable(carTypeMap.get(importInfo.get("车种类型"))).map(CarType::getId).orElse(null));
+ excelCar.setDriverTelephone(importInfo.get("*司机电话"));
+ excelCar.setIsBlack(Objects.equals(importInfo.get("*是否黑名单"), "是") ? 1 : 0);
+ excelCar.setCarType(Optional.ofNullable(carTypeMap.get(importInfo.get("*车种类型"))).map(CarType::getId).orElse(null));
excelCar.setCarModuleType("固定车辆".equals(carModuleType) ? 1 : ("长期车辆".equals(carModuleType) ? 2 : 3));
excelCar.setReserveStartTime(DateUtil.parse(importInfo.get("预约开始时间")));
excelCar.setReserveEndTime(DateUtil.parse(importInfo.get("预约结束时间")));
excelCar.setEntryAndExitPermit("单次".equals(importInfo.get("允许进出次数")) ? 0 : 1);
- excelCar.setEnterpriseId(Optional.ofNullable(enterpriseInfoMap.get(importInfo.get("单位"))).map(EnterpriseInfo::getId).orElse(null));
+ excelCar.setEnterpriseId(Optional.ofNullable(enterpriseInfoMap.get(importInfo.get("*单位"))).map(EnterpriseInfo::getId).orElse(null));
if (dataCar == null) {
this.addCarInfo(excelCar);
} else {
@@ -331,32 +331,32 @@ public class CarInfoServiceImpl extends ServiceImpl impl
private void checkParams(List