|
|
@ -105,12 +105,22 @@ public class QcCheckTaskInventoryController extends BaseController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 删除库存检验任务
|
|
|
|
* 批量删除库存检验任务
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
// @RequiresPermissions("quality:qcInventory:remove")
|
|
|
|
|
|
|
|
//// @Log(title = "库存检验任务", businessType = BusinessType.DELETE)
|
|
|
|
|
|
|
|
//// @DeleteMapping("/{recordIds}")
|
|
|
|
|
|
|
|
//// public AjaxResult remove(@PathVariable String[] recordIds) {
|
|
|
|
|
|
|
|
//// return toAjax(qcCheckTaskInventoryService.deleteQcCheckTaskInventoryByRecordIds(recordIds));
|
|
|
|
|
|
|
|
//// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 单个删除库存检验任务
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@RequiresPermissions("quality:qcInventory:remove")
|
|
|
|
@RequiresPermissions("quality:qcInventory:remove")
|
|
|
|
@Log(title = "库存检验任务", businessType = BusinessType.DELETE)
|
|
|
|
@Log(title = "库存检验任务", businessType = BusinessType.DELETE)
|
|
|
|
@DeleteMapping("/{recordIds}")
|
|
|
|
@DeleteMapping("/{recordId}")
|
|
|
|
public AjaxResult remove(@PathVariable String[] recordIds) {
|
|
|
|
public AjaxResult remove(@PathVariable String recordId) {
|
|
|
|
return toAjax(qcCheckTaskInventoryService.deleteQcCheckTaskInventoryByRecordIds(recordIds));
|
|
|
|
return toAjax(qcCheckTaskInventoryService.deleteQcCheckTaskInventoryByRecordId(recordId));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|