系统权限主要功能测试
This commit is contained in:
@@ -39,7 +39,6 @@ public class MdUnitMeasureController extends BaseController
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
@PreAuthorize("@ss.hasPermi('mes:md:unitmeasure:list')")
|
||||
@GetMapping("/listprimary")
|
||||
public AjaxResult listPrimary(){
|
||||
MdUnitMeasure mdUnitMeasure = new MdUnitMeasure();
|
||||
|
||||
@@ -52,7 +52,6 @@ public class ProProcessController extends BaseController
|
||||
* 查询所有可用工序的清单
|
||||
* @return
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('mes:pro:process:list')")
|
||||
@GetMapping("/listAll")
|
||||
public AjaxResult listAll(){
|
||||
ProProcess process = new ProProcess();
|
||||
|
||||
@@ -65,7 +65,6 @@ public class ProRouteProcessController extends BaseController
|
||||
* 查询指定产品的工艺组成
|
||||
* @return
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('mes:pro:proroute:list')")
|
||||
@GetMapping("/listProductProcess/{productId}")
|
||||
public AjaxResult listProductProcess(@PathVariable("productId") Long productId){
|
||||
ProRouteProduct proRouteProduct = new ProRouteProduct();
|
||||
|
||||
@@ -89,7 +89,6 @@ public class ProWorkorderController extends BaseController
|
||||
/**
|
||||
* 获取生产工单详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('mes:pro:workorder:query')")
|
||||
@GetMapping(value = "/{workorderId}")
|
||||
public AjaxResult getInfo(@PathVariable("workorderId") Long workorderId)
|
||||
{
|
||||
@@ -251,7 +250,7 @@ public class ProWorkorderController extends BaseController
|
||||
* @param workorderId
|
||||
* @return
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('mes:wm:rtissue:edit')")
|
||||
@PreAuthorize("@ss.hasPermi('mes:pro:workorder:edit')")
|
||||
@Log(title = "生产工单", businessType = BusinessType.UPDATE)
|
||||
@Transactional
|
||||
@PutMapping("/{workorderId}")
|
||||
|
||||
@@ -87,7 +87,6 @@ public class QcDefectRecordController extends BaseController
|
||||
/**
|
||||
* 获取检验单缺陷记录详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('mes:qc:defectrecord:query')")
|
||||
@GetMapping(value = "/{recordId}")
|
||||
public AjaxResult getInfo(@PathVariable("recordId") Long recordId)
|
||||
{
|
||||
@@ -97,7 +96,6 @@ public class QcDefectRecordController extends BaseController
|
||||
/**
|
||||
* 新增检验单缺陷记录
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('mes:qc:defectrecord:add')")
|
||||
@Log(title = "检验单缺陷记录", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody QcDefectRecord qcDefectRecord)
|
||||
@@ -116,7 +114,6 @@ public class QcDefectRecordController extends BaseController
|
||||
/**
|
||||
* 修改来料检验单缺陷记录
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('mes:qc:defectrecord:edit')")
|
||||
@Log(title = "检验单缺陷记录", businessType = BusinessType.UPDATE)
|
||||
@Transactional
|
||||
@PutMapping
|
||||
@@ -170,7 +167,6 @@ public class QcDefectRecordController extends BaseController
|
||||
/**
|
||||
* 删除检验单缺陷记录
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('mes:qc:defectrecord:remove')")
|
||||
@Log(title = "检验单缺陷记录", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{recordIds}")
|
||||
public AjaxResult remove(@PathVariable Long[] recordIds)
|
||||
|
||||
Reference in New Issue
Block a user