Commit f5d84a20 authored by hezhen's avatar hezhen

123

parent 515e49d5
......@@ -35,5 +35,7 @@ public class UserCommentFindDTO extends PageParam{
private Integer isShow;
private Integer commentId;
private Integer isDesc;
}
package com.xxfc.platform.vehicle.rest;
import com.github.wxiaoqi.security.common.msg.ObjectRestResponse;
import com.github.wxiaoqi.security.common.util.BeanUtils;
import com.xxfc.platform.vehicle.biz.VehicleApplyBiz;
import com.xxfc.platform.vehicle.entity.Vehicle;
import com.xxfc.platform.vehicle.entity.VehicleApply;
import com.xxfc.platform.vehicle.pojo.dto.VehicleApplyFindDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
......@@ -50,6 +52,23 @@ public class AppVehicleApplyController extends BaseController<VehicleApplyBiz> {
}
@GetMapping("apply/detail/{id}")
@ApiModelProperty("商品审核详情")
public ObjectRestResponse detail(@PathVariable Integer id) {
List<Integer> companyIds = getBusinessUserCompanyIds();
if (companyIds == null && companyIds.size() == 0){
return ObjectRestResponse.succ();
}
VehicleApply vehicleApply = baseBiz.selectById(id);
Vehicle vehicle=new Vehicle();
BeanUtils.copyProperties(vehicleApply,vehicle);
vehicle.setId(vehicleApply.getVehicleId());
vehicle.setVehicleApplyId(vehicleApply.getId());
vehicle.setIsDel(0);
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