Commit 091ba0bc by 黄小葱

优化

1 parent 4a862689
......@@ -149,6 +149,8 @@ public class VehicleController {
String chanle = vehicleBo.getChanle();
if (StringUtils.isNotBlank(chanle) && Constants.SYNC_CHANNEL_TIMED_TASK.equals(chanle)) {
errorMess = vehicleService.syncVehicleInfoFromBhg(vehicleBo);
} else {
errorMess = "同步渠道不正确。chanle:" + chanle;
}
} catch (Exception e) {
log.info("包活干同步车辆信息 异常:message:" + e.getMessage());
......
......@@ -13,12 +13,6 @@ import java.util.List;
*/
public class SyncVehicleBo implements Serializable {
// /**
// * 加密的sign
// */
// @NotNull(message = "sign不能为空", groups = {ValidateGroups.Update.class,ValidateGroups.Delete.class})
// private String sign;
/**
* e盾的工单编号
*/
......@@ -38,7 +32,7 @@ public class SyncVehicleBo implements Serializable {
/**
* 车主姓名
*/
@NotNull(message = "vin不能为空", groups = {ValidateGroups.Update.class,ValidateGroups.Delete.class})
@NotNull(message = "ownerName不能为空", groups = {ValidateGroups.Update.class,ValidateGroups.Delete.class})
private String ownerName;
/**
* 车主性别
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!