Commit beab0f83 authored by hezhen's avatar hezhen

Merge branch 'master-chw' into dev-chw

parents ffc8696e df01fb7e
......@@ -11,6 +11,7 @@ import com.xxfc.platform.vehicle.pojo.dto.VehicleApplyFindDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframework.web.bind.annotation.*;
import java.util.List;
......@@ -62,8 +63,9 @@ public class AppVehicleApplyController extends BaseController<VehicleApplyBiz> {
BeanUtils.copyProperties(vehicleApply,vehicle);
vehicle.setId(vehicleApply.getVehicleId());
vehicle.setVehicleApplyId(vehicleApply.getId());
vehicle.setJson(JSONObject.parseObject("changeJson"));
vehicle.setIsDel(0);
if (StringUtils.isNotBlank(vehicleApply.getChangeJson()))
vehicle.setJson(JSONObject.parseObject(vehicleApply.getChangeJson()));
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