|
|
|
@ -104,6 +104,14 @@ public class WmsAllocateOrderDetailController extends BaseController {
|
|
|
|
|
return toAjax(wmsAllocateOrderDetailService.deleteWithValidByIds(List.of(aoDIds), true));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@SaCheckPermission("system:allocateOrderDetail:remove")
|
|
|
|
|
@Log(title = "调拨子", businessType = BusinessType.DELETE)
|
|
|
|
|
@DeleteMapping("removeDetail/{aoDId}")
|
|
|
|
|
public R<Void> removeDetail(@NotEmpty(message = "主键不能为空")
|
|
|
|
|
@PathVariable Long aoDId) {
|
|
|
|
|
return toAjax(wmsAllocateOrderDetailService.deleteById(aoDId));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GetMapping("selectAllocateDetails")
|
|
|
|
|
public R<List<WmsAllocateOrderDetailVo>> selectAllocateDetails(Long aoDId){
|
|
|
|
|
return R.ok(wmsAllocateOrderDetailService.selectAllocateDetails());
|
|
|
|
|