|
|
|
@ -126,7 +126,6 @@ public class ProProcessController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 查询设备管理列表
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("mes:pro:process:equipmentList")
|
|
|
|
|
@GetMapping("/selectEquipmentList")
|
|
|
|
|
public TableDataInfo selectEquipmentList(Equipment equipment) {
|
|
|
|
|
if("1".equals(equipment.getEquipmentTypeCode())){
|
|
|
|
@ -142,7 +141,6 @@ public class ProProcessController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 获取设备管理详细信息
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("mes:pro:process:queryEquipment")
|
|
|
|
|
@GetMapping(value = "/e/{equipmentId}")
|
|
|
|
|
public AjaxResult selectEquipmentByEquipmentId(@PathVariable("equipmentId") Long equipmentId) {
|
|
|
|
|
return success(proProcessService.selectEquipmentByEquipmentId(equipmentId));
|
|
|
|
@ -151,7 +149,6 @@ public class ProProcessController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 查询BOM物料管理列表
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("mes:pro:process:bomComponentList")
|
|
|
|
|
@GetMapping("/bomComponentList")
|
|
|
|
|
public TableDataInfo selectBaseBomComponentList(BomComponent bomComponent) {
|
|
|
|
|
startPage();
|
|
|
|
@ -172,7 +169,6 @@ public class ProProcessController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 查询设工作中心
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("mes:pro:process:getWorkCenterList")
|
|
|
|
|
@GetMapping("/getWorkCenterList")
|
|
|
|
|
public TableDataInfo getWorkCenterList(SysFactory sysFactory) {
|
|
|
|
|
startPage();
|
|
|
|
@ -183,7 +179,7 @@ public class ProProcessController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 查询设工作中心
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("mes:pro:process:getEquipmentTypeList")
|
|
|
|
|
|
|
|
|
|
@GetMapping("/getEquipmentTypeList")
|
|
|
|
|
public TableDataInfo getEquipmentTypeList(Equipment equipment) {
|
|
|
|
|
startPage();
|
|
|
|
|