检验报告优化

master
shaoyong 1 year ago
parent a3d8664eb2
commit ecc7b5494a

@ -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) {

Loading…
Cancel
Save