系统权限修改

This commit is contained in:
yinjinlu-pc\尹金路 2023-11-07 22:37:00 +08:00
parent 75e0345335
commit 8e4d1190db
12 changed files with 58 additions and 58 deletions

View File

@ -37,7 +37,7 @@ public class DvRepairLineController extends BaseController
/**
* 查询设备维修单行列表
*/
@PreAuthorize("@ss.hasPermi('mes:dv:repairline:list')")
@PreAuthorize("@ss.hasPermi('mes:dv:repair:list')")
@GetMapping("/list")
public TableDataInfo list(DvRepairLine dvRepairLine)
{
@ -49,7 +49,7 @@ public class DvRepairLineController extends BaseController
/**
* 导出设备维修单行列表
*/
@PreAuthorize("@ss.hasPermi('mes:dv:repairline:export')")
@PreAuthorize("@ss.hasPermi('mes:dv:repair:export')")
@Log(title = "设备维修单行", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, DvRepairLine dvRepairLine)
@ -62,7 +62,7 @@ public class DvRepairLineController extends BaseController
/**
* 获取设备维修单行详细信息
*/
@PreAuthorize("@ss.hasPermi('mes:dv:repairline:query')")
@PreAuthorize("@ss.hasPermi('mes:dv:repair:query')")
@GetMapping(value = "/{lineId}")
public AjaxResult getInfo(@PathVariable("lineId") Long lineId)
{
@ -72,7 +72,7 @@ public class DvRepairLineController extends BaseController
/**
* 新增设备维修单行
*/
@PreAuthorize("@ss.hasPermi('mes:dv:repairline:add')")
@PreAuthorize("@ss.hasPermi('mes:dv:repair:add')")
@Log(title = "设备维修单行", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody DvRepairLine dvRepairLine)
@ -83,7 +83,7 @@ public class DvRepairLineController extends BaseController
/**
* 修改设备维修单行
*/
@PreAuthorize("@ss.hasPermi('mes:dv:repairline:edit')")
@PreAuthorize("@ss.hasPermi('mes:dv:repair:edit')")
@Log(title = "设备维修单行", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody DvRepairLine dvRepairLine)
@ -94,7 +94,7 @@ public class DvRepairLineController extends BaseController
/**
* 删除设备维修单行
*/
@PreAuthorize("@ss.hasPermi('mes:dv:repairline:remove')")
@PreAuthorize("@ss.hasPermi('mes:dv:repair:remove')")
@Log(title = "设备维修单行", businessType = BusinessType.DELETE)
@DeleteMapping("/{lineIds}")
public AjaxResult remove(@PathVariable Long[] lineIds)

View File

@ -37,7 +37,7 @@ public class QcIpqcLineController extends BaseController
/**
* 查询过程检验单行列表
*/
@PreAuthorize("@ss.hasPermi('mes:qc:ipqcline:list')")
@PreAuthorize("@ss.hasPermi('mes:qc:ipqc:list')")
@GetMapping("/list")
public TableDataInfo list(QcIpqcLine qcIpqcLine)
{
@ -49,7 +49,7 @@ public class QcIpqcLineController extends BaseController
/**
* 导出过程检验单行列表
*/
@PreAuthorize("@ss.hasPermi('mes:qc:ipqcline:export')")
@PreAuthorize("@ss.hasPermi('mes:qc:ipqc:export')")
@Log(title = "过程检验单行", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, QcIpqcLine qcIpqcLine)
@ -62,7 +62,7 @@ public class QcIpqcLineController extends BaseController
/**
* 获取过程检验单行详细信息
*/
@PreAuthorize("@ss.hasPermi('mes:qc:ipqcline:query')")
@PreAuthorize("@ss.hasPermi('mes:qc:ipqc:query')")
@GetMapping(value = "/{lineId}")
public AjaxResult getInfo(@PathVariable("lineId") Long lineId)
{
@ -72,7 +72,7 @@ public class QcIpqcLineController extends BaseController
/**
* 新增过程检验单行
*/
@PreAuthorize("@ss.hasPermi('mes:qc:ipqcline:add')")
@PreAuthorize("@ss.hasPermi('mes:qc:ipqc:add')")
@Log(title = "过程检验单行", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody QcIpqcLine qcIpqcLine)
@ -83,7 +83,7 @@ public class QcIpqcLineController extends BaseController
/**
* 修改过程检验单行
*/
@PreAuthorize("@ss.hasPermi('mes:qc:ipqcline:edit')")
@PreAuthorize("@ss.hasPermi('mes:qc:ipqc:edit')")
@Log(title = "过程检验单行", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody QcIpqcLine qcIpqcLine)
@ -94,7 +94,7 @@ public class QcIpqcLineController extends BaseController
/**
* 删除过程检验单行
*/
@PreAuthorize("@ss.hasPermi('mes:qc:ipqcline:remove')")
@PreAuthorize("@ss.hasPermi('mes:qc:ipqc:remove')")
@Log(title = "过程检验单行", businessType = BusinessType.DELETE)
@DeleteMapping("/{lineIds}")
public AjaxResult remove(@PathVariable Long[] lineIds)

View File

@ -37,7 +37,7 @@ public class QcIqcLineController extends BaseController
/**
* 查询来料检验单行列表
*/
@PreAuthorize("@ss.hasPermi('mes:qc:iqcline:list')")
@PreAuthorize("@ss.hasPermi('mes:qc:iqc:list')")
@GetMapping("/list")
public TableDataInfo list(QcIqcLine qcIqcLine)
{
@ -49,7 +49,7 @@ public class QcIqcLineController extends BaseController
/**
* 导出来料检验单行列表
*/
@PreAuthorize("@ss.hasPermi('mes:qc:iqcline:export')")
@PreAuthorize("@ss.hasPermi('mes:qc:iqc:export')")
@Log(title = "来料检验单行", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, QcIqcLine qcIqcLine)
@ -62,7 +62,7 @@ public class QcIqcLineController extends BaseController
/**
* 获取来料检验单行详细信息
*/
@PreAuthorize("@ss.hasPermi('mes:qc:iqcline:query')")
@PreAuthorize("@ss.hasPermi('mes:qc:iqc:query')")
@GetMapping(value = "/{lineId}")
public AjaxResult getInfo(@PathVariable("lineId") Long lineId)
{
@ -72,7 +72,7 @@ public class QcIqcLineController extends BaseController
/**
* 新增来料检验单行
*/
@PreAuthorize("@ss.hasPermi('mes:qc:iqcline:add')")
@PreAuthorize("@ss.hasPermi('mes:qc:iqc:add')")
@Log(title = "来料检验单行", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody QcIqcLine qcIqcLine)
@ -83,7 +83,7 @@ public class QcIqcLineController extends BaseController
/**
* 修改来料检验单行
*/
@PreAuthorize("@ss.hasPermi('mes:qc:iqcline:edit')")
@PreAuthorize("@ss.hasPermi('mes:qc:iqc:edit')")
@Log(title = "来料检验单行", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody QcIqcLine qcIqcLine)
@ -94,7 +94,7 @@ public class QcIqcLineController extends BaseController
/**
* 删除来料检验单行
*/
@PreAuthorize("@ss.hasPermi('mes:qc:iqcline:remove')")
@PreAuthorize("@ss.hasPermi('mes:qc:iqc:remove')")
@Log(title = "来料检验单行", businessType = BusinessType.DELETE)
@DeleteMapping("/{lineIds}")
public AjaxResult remove(@PathVariable Long[] lineIds)

View File

@ -37,7 +37,7 @@ public class QcOqcLineController extends BaseController
/**
* 查询出货检验单行列表
*/
@PreAuthorize("@ss.hasPermi('mes:qc:oqcline:list')")
@PreAuthorize("@ss.hasPermi('mes:qc:oqc:list')")
@GetMapping("/list")
public TableDataInfo list(QcOqcLine qcOqcLine)
{
@ -49,7 +49,7 @@ public class QcOqcLineController extends BaseController
/**
* 导出出货检验单行列表
*/
@PreAuthorize("@ss.hasPermi('mes:qc:oqcline:export')")
@PreAuthorize("@ss.hasPermi('mes:qc:oqc:export')")
@Log(title = "出货检验单行", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, QcOqcLine qcOqcLine)
@ -62,7 +62,7 @@ public class QcOqcLineController extends BaseController
/**
* 获取出货检验单行详细信息
*/
@PreAuthorize("@ss.hasPermi('mes:qc:oqcline:query')")
@PreAuthorize("@ss.hasPermi('mes:qc:oqc:query')")
@GetMapping(value = "/{lineId}")
public AjaxResult getInfo(@PathVariable("lineId") Long lineId)
{
@ -72,7 +72,7 @@ public class QcOqcLineController extends BaseController
/**
* 新增出货检验单行
*/
@PreAuthorize("@ss.hasPermi('mes:qc:oqcline:add')")
@PreAuthorize("@ss.hasPermi('mes:qc:oqc:add')")
@Log(title = "出货检验单行", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody QcOqcLine qcOqcLine)
@ -83,7 +83,7 @@ public class QcOqcLineController extends BaseController
/**
* 修改出货检验单行
*/
@PreAuthorize("@ss.hasPermi('mes:qc:oqcline:edit')")
@PreAuthorize("@ss.hasPermi('mes:qc:oqc:edit')")
@Log(title = "出货检验单行", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody QcOqcLine qcOqcLine)
@ -94,7 +94,7 @@ public class QcOqcLineController extends BaseController
/**
* 删除出货检验单行
*/
@PreAuthorize("@ss.hasPermi('mes:qc:oqcline:remove')")
@PreAuthorize("@ss.hasPermi('mes:qc:oqc:remove')")
@Log(title = "出货检验单行", businessType = BusinessType.DELETE)
@DeleteMapping("/{lineIds}")
public AjaxResult remove(@PathVariable Long[] lineIds)

View File

@ -23,7 +23,7 @@ public class QcPendingInspectController extends BaseController {
/**
* 获取待检验任务
*/
@PreAuthorize("@ss.hasPermi('mes:qc:oqcline:list')")
@PreAuthorize("@ss.hasPermi('mes:qc:pending:list')")
@GetMapping("/list")
public TableDataInfo list(QcPendingInspect qcPendingInspect)
{

View File

@ -43,7 +43,7 @@ public class QcTemplateIndexController extends BaseController
/**
* 查询检测模板-检测项列表
*/
@PreAuthorize("@ss.hasPermi('mes:qc:templateindex:list')")
@PreAuthorize("@ss.hasPermi('mes:qc:qctemplate:list')")
@GetMapping("/list")
public TableDataInfo list(QcTemplateIndex qcTemplateIndex)
{
@ -55,7 +55,7 @@ public class QcTemplateIndexController extends BaseController
/**
* 导出检测模板-检测项列表
*/
@PreAuthorize("@ss.hasPermi('mes:qc:templateindex:export')")
@PreAuthorize("@ss.hasPermi('mes:qc:qctemplate:export')")
@Log(title = "检测模板-检测项", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, QcTemplateIndex qcTemplateIndex)
@ -68,7 +68,7 @@ public class QcTemplateIndexController extends BaseController
/**
* 获取检测模板-检测项详细信息
*/
@PreAuthorize("@ss.hasPermi('mes:qc:templateindex:query')")
@PreAuthorize("@ss.hasPermi('mes:qc:qctemplate:query')")
@GetMapping(value = "/{recordId}")
public AjaxResult getInfo(@PathVariable("recordId") Long recordId)
{
@ -78,7 +78,7 @@ public class QcTemplateIndexController extends BaseController
/**
* 新增检测模板-检测项
*/
@PreAuthorize("@ss.hasPermi('mes:qc:templateindex:add')")
@PreAuthorize("@ss.hasPermi('mes:qc:qctemplate:add')")
@Log(title = "检测模板-检测项", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody QcTemplateIndex qcTemplateIndex)
@ -94,7 +94,7 @@ public class QcTemplateIndexController extends BaseController
/**
* 修改检测模板-检测项
*/
@PreAuthorize("@ss.hasPermi('mes:qc:templateindex:edit')")
@PreAuthorize("@ss.hasPermi('mes:qc:qctemplate:edit')")
@Log(title = "检测模板-检测项", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody QcTemplateIndex qcTemplateIndex)
@ -110,7 +110,7 @@ public class QcTemplateIndexController extends BaseController
/**
* 删除检测模板-检测项
*/
@PreAuthorize("@ss.hasPermi('mes:qc:templateindex:remove')")
@PreAuthorize("@ss.hasPermi('mes:qc:qctemplate:remove')")
@Log(title = "检测模板-检测项", businessType = BusinessType.DELETE)
@DeleteMapping("/{recordIds}")
public AjaxResult remove(@PathVariable Long[] recordIds)

View File

@ -39,7 +39,7 @@ public class QcTemplateProductController extends BaseController
/**
* 查询检测模板-产品列表
*/
@PreAuthorize("@ss.hasPermi('mes:qc:templateproduct:list')")
@PreAuthorize("@ss.hasPermi('mes:qc:qctemplate:list')")
@GetMapping("/list")
public TableDataInfo list(QcTemplateProduct qcTemplateProduct)
{
@ -51,7 +51,7 @@ public class QcTemplateProductController extends BaseController
/**
* 导出检测模板-产品列表
*/
@PreAuthorize("@ss.hasPermi('mes:qc:templateproduct:export')")
@PreAuthorize("@ss.hasPermi('mes:qc:qctemplate:export')")
@Log(title = "检测模板-产品", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, QcTemplateProduct qcTemplateProduct)
@ -64,7 +64,7 @@ public class QcTemplateProductController extends BaseController
/**
* 获取检测模板-产品详细信息
*/
@PreAuthorize("@ss.hasPermi('mes:qc:templateproduct:query')")
@PreAuthorize("@ss.hasPermi('mes:qc:qctemplate:query')")
@GetMapping(value = "/{recordId}")
public AjaxResult getInfo(@PathVariable("recordId") Long recordId)
{
@ -74,7 +74,7 @@ public class QcTemplateProductController extends BaseController
/**
* 新增检测模板-产品
*/
@PreAuthorize("@ss.hasPermi('mes:qc:templateproduct:add')")
@PreAuthorize("@ss.hasPermi('mes:qc:qctemplate:add')")
@Log(title = "检测模板-产品", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody QcTemplateProduct qcTemplateProduct)
@ -88,7 +88,7 @@ public class QcTemplateProductController extends BaseController
/**
* 修改检测模板-产品
*/
@PreAuthorize("@ss.hasPermi('mes:qc:templateproduct:edit')")
@PreAuthorize("@ss.hasPermi('mes:qc:qctemplate:edit')")
@Log(title = "检测模板-产品", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody QcTemplateProduct qcTemplateProduct)
@ -102,7 +102,7 @@ public class QcTemplateProductController extends BaseController
/**
* 删除检测模板-产品
*/
@PreAuthorize("@ss.hasPermi('mes:qc:templateproduct:remove')")
@PreAuthorize("@ss.hasPermi('mes:qc:qctemplate:remove')")
@Log(title = "检测模板-产品", businessType = BusinessType.DELETE)
@DeleteMapping("/{recordIds}")
public AjaxResult remove(@PathVariable Long[] recordIds)

View File

@ -1,4 +1,4 @@
package com.ktg.mes.qc.controller;
package com.ktg.mes.qc.controller.mobile;
import com.ktg.common.core.domain.AjaxResult;
import com.ktg.common.utils.StringUtils;

View File

@ -37,7 +37,7 @@ public class WmPackageLineController extends BaseController
/**
* 查询装箱明细列表
*/
@PreAuthorize("@ss.hasPermi('mes:wm:packageline:list')")
@PreAuthorize("@ss.hasPermi('mes:wm:package:list')")
@GetMapping("/list")
public TableDataInfo list(WmPackageLine wmPackageLine)
{
@ -49,7 +49,7 @@ public class WmPackageLineController extends BaseController
/**
* 导出装箱明细列表
*/
@PreAuthorize("@ss.hasPermi('mes:wm:packageline:export')")
@PreAuthorize("@ss.hasPermi('mes:wm:package:export')")
@Log(title = "装箱明细", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, WmPackageLine wmPackageLine)
@ -62,7 +62,7 @@ public class WmPackageLineController extends BaseController
/**
* 获取装箱明细详细信息
*/
@PreAuthorize("@ss.hasPermi('mes:wm:packageline:query')")
@PreAuthorize("@ss.hasPermi('mes:wm:package:query')")
@GetMapping(value = "/{lineId}")
public AjaxResult getInfo(@PathVariable("lineId") Long lineId)
{
@ -72,7 +72,7 @@ public class WmPackageLineController extends BaseController
/**
* 新增装箱明细
*/
@PreAuthorize("@ss.hasPermi('mes:wm:packageline:add')")
@PreAuthorize("@ss.hasPermi('mes:wm:package:add')")
@Log(title = "装箱明细", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody WmPackageLine wmPackageLine)
@ -83,7 +83,7 @@ public class WmPackageLineController extends BaseController
/**
* 修改装箱明细
*/
@PreAuthorize("@ss.hasPermi('mes:wm:packageline:edit')")
@PreAuthorize("@ss.hasPermi('mes:wm:package:edit')")
@Log(title = "装箱明细", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody WmPackageLine wmPackageLine)
@ -94,7 +94,7 @@ public class WmPackageLineController extends BaseController
/**
* 删除装箱明细
*/
@PreAuthorize("@ss.hasPermi('mes:wm:packageline:remove')")
@PreAuthorize("@ss.hasPermi('mes:wm:package:remove')")
@Log(title = "装箱明细", businessType = BusinessType.DELETE)
@DeleteMapping("/{lineIds}")
public AjaxResult remove(@PathVariable Long[] lineIds)

View File

@ -46,7 +46,7 @@ public class WmStockTakingController extends BaseController {
/**
* 查询库存盘点记录列表
*/
@PreAuthorize("@ss.hasPermi('wm:stocktaking:list')")
@PreAuthorize("@ss.hasPermi('mes:wm:stocktaking:list')")
@GetMapping("/list")
public TableDataInfo list(WmStockTaking wmStockTaking)
{
@ -58,7 +58,7 @@ public class WmStockTakingController extends BaseController {
/**
* 获取库存盘点记录详细信息
*/
@PreAuthorize("@ss.hasPermi('wm:stocktaking:query')")
@PreAuthorize("@ss.hasPermi('mes:wm:stocktaking:query')")
@GetMapping(value = "/{takingId}")
public AjaxResult getInfo(@PathVariable("takingId") Long takingId)
{
@ -68,7 +68,7 @@ public class WmStockTakingController extends BaseController {
/**
* 新增库存盘点记录
*/
@PreAuthorize("@ss.hasPermi('wm:stocktaking:add')")
@PreAuthorize("@ss.hasPermi('mes:wm:stocktaking:add')")
@Log(title = "库存盘点记录", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody WmStockTaking wmStockTaking)
@ -95,7 +95,7 @@ public class WmStockTakingController extends BaseController {
/**
* 修改库存盘点记录
*/
@PreAuthorize("@ss.hasPermi('wm:stocktaking:edit')")
@PreAuthorize("@ss.hasPermi('mes:wm:stocktaking:edit')")
@Log(title = "库存盘点记录", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody WmStockTaking wmStockTaking)
@ -111,7 +111,7 @@ public class WmStockTakingController extends BaseController {
/**
* 删除库存盘点记录
*/
@PreAuthorize("@ss.hasPermi('wm:stocktaking:remove')")
@PreAuthorize("@ss.hasPermi('mes:wm:stocktaking:remove')")
@Log(title = "库存盘点记录", businessType = BusinessType.DELETE)
@DeleteMapping("/{takingIds}")
public AjaxResult remove(@PathVariable Long[] takingIds)

View File

@ -24,7 +24,7 @@ public class WmStockTakingLineController extends BaseController {
/**
* 查询库存盘点明细列表
*/
@PreAuthorize("@ss.hasPermi('wm:stocktakingline:list')")
@PreAuthorize("@ss.hasPermi('mes:wm:stocktaking:list')")
@GetMapping("/list")
public TableDataInfo list(WmStockTakingLine wmStockTakingLine)
{
@ -36,7 +36,7 @@ public class WmStockTakingLineController extends BaseController {
/**
* 导出库存盘点明细列表
*/
@PreAuthorize("@ss.hasPermi('wm:stocktakingline:export')")
@PreAuthorize("@ss.hasPermi('mes:wm:stocktaking:export')")
@Log(title = "库存盘点明细", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, WmStockTakingLine wmStockTakingLine)
@ -49,7 +49,7 @@ public class WmStockTakingLineController extends BaseController {
/**
* 获取库存盘点明细详细信息
*/
@PreAuthorize("@ss.hasPermi('wm:stocktakingline:query')")
@PreAuthorize("@ss.hasPermi('mes:wm:stocktaking:query')")
@GetMapping(value = "/{lineId}")
public AjaxResult getInfo(@PathVariable("lineId") Long lineId)
{

View File

@ -37,7 +37,7 @@ public class WmStockTakingResultController extends BaseController
/**
* 查询库存盘点结果列表
*/
@PreAuthorize("@ss.hasPermi('wm:stocktakingresult:list')")
@PreAuthorize("@ss.hasPermi('mes:wm:stocktaking:list')")
@GetMapping("/list")
public TableDataInfo list(WmStockTakingResult wmStockTakingResult)
{
@ -49,7 +49,7 @@ public class WmStockTakingResultController extends BaseController
/**
* 导出库存盘点结果列表
*/
@PreAuthorize("@ss.hasPermi('wm:stocktakingresult:export')")
@PreAuthorize("@ss.hasPermi('mes:wm:stocktaking:export')")
@Log(title = "库存盘点结果", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, WmStockTakingResult wmStockTakingResult)
@ -62,7 +62,7 @@ public class WmStockTakingResultController extends BaseController
/**
* 获取库存盘点结果详细信息
*/
@PreAuthorize("@ss.hasPermi('wm:stocktakingresult:query')")
@PreAuthorize("@ss.hasPermi('mes:wm:stocktaking:query')")
@GetMapping(value = "/{resultId}")
public AjaxResult getInfo(@PathVariable("resultId") Long resultId)
{
@ -72,7 +72,7 @@ public class WmStockTakingResultController extends BaseController
/**
* 新增库存盘点结果
*/
@PreAuthorize("@ss.hasPermi('wm:stocktakingresult:add')")
@PreAuthorize("@ss.hasPermi('mes:wm:stocktaking:add')")
@Log(title = "库存盘点结果", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody WmStockTakingResult wmStockTakingResult)
@ -83,7 +83,7 @@ public class WmStockTakingResultController extends BaseController
/**
* 修改库存盘点结果
*/
@PreAuthorize("@ss.hasPermi('wm:stocktakingresult:edit')")
@PreAuthorize("@ss.hasPermi('mes:wm:stocktaking:edit')")
@Log(title = "库存盘点结果", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody WmStockTakingResult wmStockTakingResult)
@ -94,7 +94,7 @@ public class WmStockTakingResultController extends BaseController
/**
* 删除库存盘点结果
*/
@PreAuthorize("@ss.hasPermi('wm:stocktakingresult:remove')")
@PreAuthorize("@ss.hasPermi('mes:wm:stocktaking:remove')")
@Log(title = "库存盘点结果", businessType = BusinessType.DELETE)
@DeleteMapping("/{resultIds}")
public AjaxResult remove(@PathVariable Long[] resultIds)