|
|
|
@ -3,15 +3,10 @@ package com.op.plan.controller;
|
|
|
|
|
import java.io.IOException;
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import javax.servlet.ServletOutputStream;
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
|
|
|
|
import com.baomidou.dynamic.datasource.toolkit.DynamicDataSourceContextHolder;
|
|
|
|
|
import com.op.common.core.domain.R;
|
|
|
|
|
import com.op.common.core.utils.DateUtils;
|
|
|
|
|
import com.op.plan.domain.ProLine;
|
|
|
|
|
import com.op.plan.domain.ProRoute;
|
|
|
|
|
import com.op.plan.domain.ProShift;
|
|
|
|
|
import com.op.plan.domain.dto.SplitOrderDTO;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
@ -32,7 +27,6 @@ import com.op.common.core.web.domain.AjaxResult;
|
|
|
|
|
import com.op.common.core.utils.poi.ExcelUtil;
|
|
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
|
|
|
|
import static com.op.common.security.utils.SecurityUtils.getUsername;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 订单Controller
|
|
|
|
@ -46,6 +40,16 @@ public class ProOrderController extends BaseController {
|
|
|
|
|
@Autowired
|
|
|
|
|
private IProOrderService proOrderService;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 通过订单Code查询级联订单信息并封装返回
|
|
|
|
|
* @param orderCode
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping("/getCascadeProOrder/{orderCode}")
|
|
|
|
|
public AjaxResult getCascadeProOrder(@PathVariable("orderCode") String orderCode) {
|
|
|
|
|
return proOrderService.getCascadeProOrder(orderCode);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 导入订单信息接口
|
|
|
|
|
*
|
|
|
|
|