|
|
@ -23,6 +23,7 @@ import org.springblade.core.tool.api.R; |
|
|
|
import org.springblade.core.tool.utils.StringUtil; |
|
|
|
import org.springblade.core.tool.utils.StringUtil; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
import java.util.Objects; |
|
|
|
import java.util.Objects; |
|
|
|
|
|
|
|
|
|
|
|
@RestController |
|
|
|
@RestController |
|
|
@ -37,7 +38,7 @@ public class BusinessPreOrderApi { |
|
|
|
@PostMapping("/list") |
|
|
|
@PostMapping("/list") |
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
@ApiOperation(value = "模糊查询", notes = "传入trayTypeDTO") |
|
|
|
@ApiOperation(value = "模糊查询", notes = "传入trayTypeDTO") |
|
|
|
public R list(@RequestBody BusinessPreListDTO queryrderDTO){ |
|
|
|
public R list(@RequestBody BusinessPreListDTO queryrderDTO) { |
|
|
|
|
|
|
|
|
|
|
|
DistributionBusinessPreOrderListVO data = distributionIBusinessPreOrderService.list(queryrderDTO); |
|
|
|
DistributionBusinessPreOrderListVO data = distributionIBusinessPreOrderService.list(queryrderDTO); |
|
|
|
|
|
|
|
|
|
|
@ -47,7 +48,7 @@ public class BusinessPreOrderApi { |
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/scanOrderPackageCode") |
|
|
|
@PostMapping("/scanOrderPackageCode") |
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
public R scanOrderPackageCode(@RequestBody BusinessSanDTO businessSanDTO){ |
|
|
|
public R scanOrderPackageCode(@RequestBody BusinessSanDTO businessSanDTO) { |
|
|
|
|
|
|
|
|
|
|
|
Resp resp = null; |
|
|
|
Resp resp = null; |
|
|
|
try { |
|
|
|
try { |
|
|
@ -59,14 +60,28 @@ public class BusinessPreOrderApi { |
|
|
|
return resp; |
|
|
|
return resp; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/inputZeroOrderData") |
|
|
|
|
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
|
|
|
|
public R inputZeroOrderData(@RequestBody List<BusinessSanDTO> businessSanDTOincentices) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
log.info(" >> 请求参数 {}", businessSanDTOincentices); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 传入的集合对象 中获取
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return R.success("操作成功"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("/listCarNum") |
|
|
|
@GetMapping("/listCarNum") |
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
@ApiOperation(value = "条件查询", notes = "传入trayTypeDTO") |
|
|
|
@ApiOperation(value = "条件查询", notes = "传入trayTypeDTO") |
|
|
|
public R listCarNum(DistributionBusinessPreCarNumerPageQueryVO distributionBusinessPreCarNumerPageQueryVO, Query query){ |
|
|
|
public R listCarNum(DistributionBusinessPreCarNumerPageQueryVO distributionBusinessPreCarNumerPageQueryVO, Query query) { |
|
|
|
|
|
|
|
|
|
|
|
IPage<DistributionBusinessPreCarNumerPageVO> data = distributionIBusinessPreOrderService.listCarNum(Condition.getPage(query),distributionBusinessPreCarNumerPageQueryVO); |
|
|
|
IPage<DistributionBusinessPreCarNumerPageVO> data = distributionIBusinessPreOrderService.listCarNum(Condition.getPage(query), distributionBusinessPreCarNumerPageQueryVO); |
|
|
|
|
|
|
|
|
|
|
|
return R.data(data); |
|
|
|
return R.data(data); |
|
|
|
} |
|
|
|
} |
|
|
@ -74,7 +89,7 @@ public class BusinessPreOrderApi { |
|
|
|
@GetMapping("/preCarInfoDetailByCarNum") |
|
|
|
@GetMapping("/preCarInfoDetailByCarNum") |
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
@ApiOperation(value = "条件查询", notes = "传入trayTypeDTO") |
|
|
|
@ApiOperation(value = "条件查询", notes = "传入trayTypeDTO") |
|
|
|
public R preCarInfoDetailByCarNum(DistributionBusinessPreCarNumerPageQueryVO distributionBusinessPreCarNumerPageQueryVO){ |
|
|
|
public R preCarInfoDetailByCarNum(DistributionBusinessPreCarNumerPageQueryVO distributionBusinessPreCarNumerPageQueryVO) { |
|
|
|
|
|
|
|
|
|
|
|
DistributionBusinessPreCarDetalVO distributionBusinessPreCarDetalVO = distributionIBusinessPreOrderService.preCarInfoDetailByCarNumber(distributionBusinessPreCarNumerPageQueryVO); |
|
|
|
DistributionBusinessPreCarDetalVO distributionBusinessPreCarDetalVO = distributionIBusinessPreOrderService.preCarInfoDetailByCarNumber(distributionBusinessPreCarNumerPageQueryVO); |
|
|
|
|
|
|
|
|
|
|
@ -82,5 +97,4 @@ public class BusinessPreOrderApi { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|