|
|
|
@ -28,7 +28,7 @@ import com.op.common.core.web.page.TableDataInfo;
|
|
|
|
|
* @date 2023-08-18
|
|
|
|
|
*/
|
|
|
|
|
@RestController
|
|
|
|
|
@RequestMapping("/detail")
|
|
|
|
|
@RequestMapping("/rfidProcess")
|
|
|
|
|
public class ProRfidProcessDetailController extends BaseController {
|
|
|
|
|
@Autowired
|
|
|
|
|
private IProRfidProcessDetailService proRfidProcessDetailService;
|
|
|
|
@ -36,7 +36,7 @@ public class ProRfidProcessDetailController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 查询生产rfid流程列表
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("system:detail:list")
|
|
|
|
|
@RequiresPermissions("mes:detail:list")
|
|
|
|
|
@GetMapping("/list")
|
|
|
|
|
public TableDataInfo list(ProRfidProcessDetail proRfidProcessDetail) {
|
|
|
|
|
startPage();
|
|
|
|
@ -47,7 +47,7 @@ public class ProRfidProcessDetailController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 导出生产rfid流程列表
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("system:detail:export")
|
|
|
|
|
@RequiresPermissions("mes:detail:export")
|
|
|
|
|
@Log(title = "生产rfid流程", businessType = BusinessType.EXPORT)
|
|
|
|
|
@PostMapping("/export")
|
|
|
|
|
public void export(HttpServletResponse response, ProRfidProcessDetail proRfidProcessDetail) {
|
|
|
|
@ -59,7 +59,7 @@ public class ProRfidProcessDetailController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 获取生产rfid流程详细信息
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("system:detail:query")
|
|
|
|
|
@RequiresPermissions("mes:detail:query")
|
|
|
|
|
@GetMapping(value = "/{recordId}")
|
|
|
|
|
public AjaxResult getInfo(@PathVariable("recordId") String recordId) {
|
|
|
|
|
return success(proRfidProcessDetailService.selectProRfidProcessDetailByRecordId(recordId));
|
|
|
|
@ -68,7 +68,7 @@ public class ProRfidProcessDetailController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 新增生产rfid流程
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("system:detail:add")
|
|
|
|
|
@RequiresPermissions("mes:detail:add")
|
|
|
|
|
@Log(title = "生产rfid流程", businessType = BusinessType.INSERT)
|
|
|
|
|
@PostMapping
|
|
|
|
|
public AjaxResult add(@RequestBody ProRfidProcessDetail proRfidProcessDetail) {
|
|
|
|
@ -78,7 +78,7 @@ public class ProRfidProcessDetailController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 修改生产rfid流程
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("system:detail:edit")
|
|
|
|
|
@RequiresPermissions("mes:detail:edit")
|
|
|
|
|
@Log(title = "生产rfid流程", businessType = BusinessType.UPDATE)
|
|
|
|
|
@PutMapping
|
|
|
|
|
public AjaxResult edit(@RequestBody ProRfidProcessDetail proRfidProcessDetail) {
|
|
|
|
@ -88,7 +88,7 @@ public class ProRfidProcessDetailController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 删除生产rfid流程
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("system:detail:remove")
|
|
|
|
|
@RequiresPermissions("mes:detail:remove")
|
|
|
|
|
@Log(title = "生产rfid流程", businessType = BusinessType.DELETE)
|
|
|
|
|
@DeleteMapping("/{recordIds}")
|
|
|
|
|
public AjaxResult remove(@PathVariable String[] recordIds) {
|
|
|
|
|