|
|
@ -39,7 +39,7 @@ public class QcCheckReportInventoryController extends BaseController {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 查询来料检验列表
|
|
|
|
* 查询来料检验列表
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@RequiresPermissions("quality:incomeReport:list")
|
|
|
|
@RequiresPermissions("quality:inventoryReport:list")
|
|
|
|
@GetMapping("/list")
|
|
|
|
@GetMapping("/list")
|
|
|
|
public TableDataInfo list(QcCheckReportIncome qcCheckReportIncome) {
|
|
|
|
public TableDataInfo list(QcCheckReportIncome qcCheckReportIncome) {
|
|
|
|
|
|
|
|
|
|
|
@ -66,7 +66,7 @@ public class QcCheckReportInventoryController extends BaseController {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 导出来料检验列表
|
|
|
|
* 导出来料检验列表
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@RequiresPermissions("quality:incomeReport:export")
|
|
|
|
@RequiresPermissions("quality:inventoryReport:export")
|
|
|
|
@Log(title = "来料检验", businessType = BusinessType.EXPORT)
|
|
|
|
@Log(title = "来料检验", businessType = BusinessType.EXPORT)
|
|
|
|
@PostMapping("/export")
|
|
|
|
@PostMapping("/export")
|
|
|
|
public void export(HttpServletResponse response, QcCheckReportIncome qcCheckReportIncome) {
|
|
|
|
public void export(HttpServletResponse response, QcCheckReportIncome qcCheckReportIncome) {
|
|
|
@ -94,7 +94,7 @@ public class QcCheckReportInventoryController extends BaseController {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 获取来料检验详细信息
|
|
|
|
* 获取来料检验详细信息
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@RequiresPermissions("quality:incomeReport:query")
|
|
|
|
@RequiresPermissions("quality:inventoryReport:query")
|
|
|
|
@GetMapping(value = "/{recordId}")
|
|
|
|
@GetMapping(value = "/{recordId}")
|
|
|
|
public AjaxResult getInfo(@PathVariable("recordId") String recordId) {
|
|
|
|
public AjaxResult getInfo(@PathVariable("recordId") String recordId) {
|
|
|
|
return success(qcCheckReportInventoryService.selectQcCheckReportIncomeByRecordId(recordId));
|
|
|
|
return success(qcCheckReportInventoryService.selectQcCheckReportIncomeByRecordId(recordId));
|
|
|
@ -103,7 +103,6 @@ public class QcCheckReportInventoryController extends BaseController {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 新增来料检验
|
|
|
|
* 新增来料检验
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@RequiresPermissions("quality:incomeReport:add")
|
|
|
|
|
|
|
|
@Log(title = "来料检验", businessType = BusinessType.INSERT)
|
|
|
|
@Log(title = "来料检验", businessType = BusinessType.INSERT)
|
|
|
|
@PostMapping
|
|
|
|
@PostMapping
|
|
|
|
public AjaxResult add(@RequestBody QcCheckReportIncome qcCheckReportIncome) {
|
|
|
|
public AjaxResult add(@RequestBody QcCheckReportIncome qcCheckReportIncome) {
|
|
|
@ -117,7 +116,6 @@ public class QcCheckReportInventoryController extends BaseController {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 修改来料检验
|
|
|
|
* 修改来料检验
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@RequiresPermissions("quality:incomeReport:edit")
|
|
|
|
|
|
|
|
@Log(title = "来料检验", businessType = BusinessType.UPDATE)
|
|
|
|
@Log(title = "来料检验", businessType = BusinessType.UPDATE)
|
|
|
|
@PutMapping
|
|
|
|
@PutMapping
|
|
|
|
public AjaxResult edit(@RequestBody QcCheckReportIncome qcCheckReportIncome) {
|
|
|
|
public AjaxResult edit(@RequestBody QcCheckReportIncome qcCheckReportIncome) {
|
|
|
@ -127,7 +125,6 @@ public class QcCheckReportInventoryController extends BaseController {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 删除来料检验
|
|
|
|
* 删除来料检验
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@RequiresPermissions("quality:incomeReport:remove")
|
|
|
|
|
|
|
|
@Log(title = "来料检验", businessType = BusinessType.DELETE)
|
|
|
|
@Log(title = "来料检验", businessType = BusinessType.DELETE)
|
|
|
|
@DeleteMapping("/{recordIds}")
|
|
|
|
@DeleteMapping("/{recordIds}")
|
|
|
|
public AjaxResult remove(@PathVariable String[] recordIds) {
|
|
|
|
public AjaxResult remove(@PathVariable String[] recordIds) {
|
|
|
|