|
|
@ -103,7 +103,11 @@ public class WmsAllocateOrderDetailController extends BaseController {
|
|
|
|
@PathVariable Long[] aoDIds) {
|
|
|
|
@PathVariable Long[] aoDIds) {
|
|
|
|
return toAjax(wmsAllocateOrderDetailService.deleteWithValidByIds(List.of(aoDIds), true));
|
|
|
|
return toAjax(wmsAllocateOrderDetailService.deleteWithValidByIds(List.of(aoDIds), true));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 根据主键删除调拨子
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* @param aoDId 主键串
|
|
|
|
|
|
|
|
*/
|
|
|
|
@SaCheckPermission("system:allocateOrderDetail:remove")
|
|
|
|
@SaCheckPermission("system:allocateOrderDetail:remove")
|
|
|
|
@Log(title = "调拨子", businessType = BusinessType.DELETE)
|
|
|
|
@Log(title = "调拨子", businessType = BusinessType.DELETE)
|
|
|
|
@DeleteMapping("removeDetail/{aoDId}")
|
|
|
|
@DeleteMapping("removeDetail/{aoDId}")
|
|
|
@ -111,7 +115,11 @@ public class WmsAllocateOrderDetailController extends BaseController {
|
|
|
|
@PathVariable Long aoDId) {
|
|
|
|
@PathVariable Long aoDId) {
|
|
|
|
return toAjax(wmsAllocateOrderDetailService.deleteById(aoDId));
|
|
|
|
return toAjax(wmsAllocateOrderDetailService.deleteById(aoDId));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 根据调拨单主键查询调拨单明细
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* @param aoDId 主键串
|
|
|
|
|
|
|
|
*/
|
|
|
|
@GetMapping("selectAllocateDetails")
|
|
|
|
@GetMapping("selectAllocateDetails")
|
|
|
|
public R<List<WmsAllocateOrderDetailVo>> selectAllocateDetails(Long aoDId){
|
|
|
|
public R<List<WmsAllocateOrderDetailVo>> selectAllocateDetails(Long aoDId){
|
|
|
|
return R.ok(wmsAllocateOrderDetailService.selectAllocateDetails());
|
|
|
|
return R.ok(wmsAllocateOrderDetailService.selectAllocateDetails());
|
|
|
|