chenchaod 1 mês atrás
pai
commit
2b9adfd4e9

+ 4
- 2
zhywpt-service-ods/src/main/java/cn/com/taiji/ods/manager/oqs/issue/IssueCommManagerImpl.java Ver arquivo

@@ -96,7 +96,10 @@ public abstract class IssueCommManagerImpl {
vehicleInfo.setVehiclePlateColor(dsiVehicleInfo.getVehiclePlateColor());
vehicleInfo.setCustomerId(dsiVehicleInfo.getCustomerId());
vehicleInfo.setType(dsiVehicleInfo.getType());
vehicleInfo.setUseCharacter(VehicleUseCharacter.valueOfCode(dsiVehicleInfo.getUseCharacter()));
//老库此字段值会出现null
if (dsiVehicleInfo.getUseCharacter() != null) {
vehicleInfo.setUseCharacter(VehicleUseCharacter.valueOfCode(dsiVehicleInfo.getUseCharacter()));
}
vehicleInfo.setCustomerType(dsiVehicleInfo.getVehicleCustomerType());
vehicleInfo.setVin(dsiVehicleInfo.getVIN());
vehicleInfo.setEngineNum(dsiVehicleInfo.getEngineNum());
@@ -127,7 +130,6 @@ public abstract class IssueCommManagerImpl {
vehicleInfo.setFileNum(dsiVehicleInfo.getFileNum());
vehicleInfo.setRegisteredTime(LocalDateTime.parse(dsiVehicleInfo.getRegisteredTime(), DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")));
vehicleInfo.setOwnerTel(dsiVehicleInfo.getOwnerTel());
vehicleInfo.setUseCharacter(VehicleUseCharacter.valueOfCode(dsiVehicleInfo.getUseCharacter()));
vehicleInfo.setRegisterDate(dsiVehicleInfo.getRegisterDate());
vehicleInfo.setAxleDistance(dsiVehicleInfo.getAxleDistance());
// vehicleInfo.setVehicleFeatureVersion(dsiVehicleInfo.getVehicleFeatureVersion());

Carregando…
Cancelar
Salvar