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