Commit 67d0265c by zhangjing

expectTime转bidExpectInstallTime接收

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@23858 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent c2fd270e
...@@ -5,24 +5,6 @@ ...@@ -5,24 +5,6 @@
*/ */
package com.glsx.ordercenter.controller; package com.glsx.ordercenter.controller;
import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.BindingResult;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.alibaba.druid.util.StringUtils; import com.alibaba.druid.util.StringUtils;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.glsx.common.annotation.AuthCheck; import com.glsx.common.annotation.AuthCheck;
...@@ -39,6 +21,14 @@ import com.glsx.ordercenter.pojo.SysOrderBiddingRecords; ...@@ -39,6 +21,14 @@ import com.glsx.ordercenter.pojo.SysOrderBiddingRecords;
import com.glsx.ordercenter.service.IOrderBiddingService; import com.glsx.ordercenter.service.IOrderBiddingService;
import com.glsx.ordercenter.service.IOrderService; import com.glsx.ordercenter.service.IOrderService;
import com.glsx.ordercenter.utils.OrderUtil; import com.glsx.ordercenter.utils.OrderUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.BindingResult;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import java.math.BigDecimal;
import java.util.*;
/** /**
* @author Zheng Xiajun * @author Zheng Xiajun
...@@ -121,6 +111,7 @@ public class OrderBiddingController extends BaseController { ...@@ -121,6 +111,7 @@ public class OrderBiddingController extends BaseController {
Integer userId = UserUtils.getUserId(request); Integer userId = UserUtils.getUserId(request);
order.setUpdateBy(userId); order.setUpdateBy(userId);
order.setUpdateTime(new Date()); order.setUpdateTime(new Date());
order.setExpectInstallTime(order.getBidExpectInstallTime());
orderBiddingService.updateOrder(order); orderBiddingService.updateOrder(order);
return new ResultObject(ResultCodeEnum.SUCCESS.getCode(), ResultCodeEnum.SUCCESS.getMsg(), null); return new ResultObject(ResultCodeEnum.SUCCESS.getCode(), ResultCodeEnum.SUCCESS.getMsg(), null);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!