Commit 8eb73db4 by wubh

包活干V1.7.0-恢复导出功能的校验

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@27585 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 28124356
...@@ -13,6 +13,7 @@ import java.util.List; ...@@ -13,6 +13,7 @@ import java.util.List;
import java.util.Map; import java.util.Map;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.glsx.common.annotation.AuthCheck;
import com.glsx.common.feign.client.UserClient; import com.glsx.common.feign.client.UserClient;
import com.glsx.common.pojo.PagedResp; import com.glsx.common.pojo.PagedResp;
import com.glsx.common.utils.StringUtils; import com.glsx.common.utils.StringUtils;
...@@ -66,7 +67,7 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -66,7 +67,7 @@ import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.context.request.RequestContextHolder; import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes; import org.springframework.web.context.request.ServletRequestAttributes;
//@AuthCheck @AuthCheck
@RestController @RestController
@RequestMapping(value = "/report") @RequestMapping(value = "/report")
public class ReportController extends BaseReportController { public class ReportController extends BaseReportController {
......
...@@ -3279,8 +3279,11 @@ public class OrderServiceImpl implements IOrderService { ...@@ -3279,8 +3279,11 @@ public class OrderServiceImpl implements IOrderService {
orderId, BizConstants.BIDDING_INSTALL_PICTURE)); orderId, BizConstants.BIDDING_INSTALL_PICTURE));
} }
// 设置车辆信息 // 不超过导出数量则存储车辆信息
orderUtil.setCarInfo(orderList); if (orderList.size() <= 10000) {
// 设置车辆信息
orderUtil.setCarInfo(orderList);
}
} }
return orderList; return orderList;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!