|
|
|
@ -17,7 +17,9 @@ import org.springblade.core.tool.api.R;
|
|
|
|
|
import org.springblade.core.tool.utils.StringUtil; |
|
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest; |
|
|
|
|
import java.math.BigDecimal; |
|
|
|
|
import java.util.Enumeration; |
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.Objects; |
|
|
|
|
|
|
|
|
@ -35,11 +37,13 @@ public class CarsLoadController {
|
|
|
|
|
@PostMapping("/loadCarsPageList") |
|
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
|
@ApiOperation(value = "配载计划分页列表", notes = "传入loadCarsDTO") |
|
|
|
|
public R loadCarsPageList(@RequestBody LoadCarsDTO loadCarsDTO) { |
|
|
|
|
public R loadCarsPageList(@RequestBody LoadCarsDTO loadCarsDTO, HttpServletRequest request) { |
|
|
|
|
String method = "############loadCarsPageList: "; |
|
|
|
|
log.info(method+"请求参数{}",loadCarsDTO); |
|
|
|
|
try{ |
|
|
|
|
|
|
|
|
|
Enumeration<String> headerNames = request.getHeaderNames(); |
|
|
|
|
|
|
|
|
|
//当前登录人选择的仓库
|
|
|
|
|
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient.getMyCurrentWarehouse(); |
|
|
|
|
if(!Objects.isNull(myCurrentWarehouse)){ |
|
|
|
|