|
|
|
@ -47,7 +47,7 @@ public class MesPrepareDetailController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 查询mes备料单明细列表
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("mes:prepareDetail:list")
|
|
|
|
|
// @RequiresPermissions("mes:prepareDetail:list")
|
|
|
|
|
@GetMapping("/list")
|
|
|
|
|
public TableDataInfo list(MesPrepareDetail mesPrepareDetail) {
|
|
|
|
|
startPage();
|
|
|
|
@ -58,7 +58,7 @@ public class MesPrepareDetailController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 导出mes备料单明细列表
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("mes:prepareDetail:export")
|
|
|
|
|
// @RequiresPermissions("mes:prepareDetail:export")
|
|
|
|
|
@Log(title = "mes备料单明细", businessType = BusinessType.EXPORT)
|
|
|
|
|
@PostMapping("/export")
|
|
|
|
|
public void export(HttpServletResponse response, MesPrepareDetail mesPrepareDetail) {
|
|
|
|
@ -70,7 +70,7 @@ public class MesPrepareDetailController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 获取mes备料单明细详细信息
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("mes:prepareDetail:query")
|
|
|
|
|
// @RequiresPermissions("mes:prepareDetail:query")
|
|
|
|
|
@GetMapping(value = "/{recordId}")
|
|
|
|
|
public AjaxResult getInfo(@PathVariable("recordId") String recordId) {
|
|
|
|
|
return success(mesPrepareDetailService.selectMesPrepareDetailByRecordId(recordId));
|
|
|
|
@ -79,7 +79,7 @@ public class MesPrepareDetailController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 新增mes备料单明细
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("mes:prepareDetail:add")
|
|
|
|
|
// @RequiresPermissions("mes:prepareDetail:add")
|
|
|
|
|
@Log(title = "mes备料单明细", businessType = BusinessType.INSERT)
|
|
|
|
|
@PostMapping
|
|
|
|
|
public AjaxResult add(@RequestBody MesPrepareDetail mesPrepareDetail) {
|
|
|
|
@ -89,7 +89,7 @@ public class MesPrepareDetailController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 修改mes备料单明细
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("mes:prepareDetail:edit")
|
|
|
|
|
// @RequiresPermissions("mes:prepareDetail:edit")
|
|
|
|
|
@Log(title = "mes备料单明细", businessType = BusinessType.UPDATE)
|
|
|
|
|
@PutMapping
|
|
|
|
|
public AjaxResult edit(@RequestBody MesPrepareDetail mesPrepareDetail) {
|
|
|
|
@ -99,7 +99,7 @@ public class MesPrepareDetailController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 删除mes备料单明细
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("mes:prepareDetail:remove")
|
|
|
|
|
// @RequiresPermissions("mes:prepareDetail:remove")
|
|
|
|
|
@Log(title = "mes备料单明细", businessType = BusinessType.DELETE)
|
|
|
|
|
@DeleteMapping("/{recordIds}")
|
|
|
|
|
public AjaxResult remove(@PathVariable String[] recordIds) {
|
|
|
|
|