Commit df01fb7e authored by hezhen's avatar hezhen

123

parent 62b6414c
...@@ -11,6 +11,7 @@ import com.xxfc.platform.vehicle.pojo.dto.VehicleApplyFindDTO; ...@@ -11,6 +11,7 @@ import com.xxfc.platform.vehicle.pojo.dto.VehicleApplyFindDTO;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import java.util.List; import java.util.List;
...@@ -62,8 +63,9 @@ public class AppVehicleApplyController extends BaseController<VehicleApplyBiz> { ...@@ -62,8 +63,9 @@ public class AppVehicleApplyController extends BaseController<VehicleApplyBiz> {
BeanUtils.copyProperties(vehicleApply,vehicle); BeanUtils.copyProperties(vehicleApply,vehicle);
vehicle.setId(vehicleApply.getVehicleId()); vehicle.setId(vehicleApply.getVehicleId());
vehicle.setVehicleApplyId(vehicleApply.getId()); vehicle.setVehicleApplyId(vehicleApply.getId());
vehicle.setJson(JSONObject.parseObject("changeJson"));
vehicle.setIsDel(0); vehicle.setIsDel(0);
if (StringUtils.isNotBlank(vehicleApply.getChangeJson()))
vehicle.setJson(JSONObject.parseObject(vehicleApply.getChangeJson()));
return ObjectRestResponse.succ(vehicle); return ObjectRestResponse.succ(vehicle);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment