|
|
@ -100,4 +100,15 @@ public class BaseEquipmentController extends BaseController {
|
|
|
|
public AjaxResult remove(@PathVariable Long[] equipmentIds) {
|
|
|
|
public AjaxResult remove(@PathVariable Long[] equipmentIds) {
|
|
|
|
return toAjax(baseEquipmentService.deleteBaseEquipmentByEquipmentIds(equipmentIds));
|
|
|
|
return toAjax(baseEquipmentService.deleteBaseEquipmentByEquipmentIds(equipmentIds));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 查询设备类型
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@RequiresPermissions("wms:equipment:getEquipmentTypeList")
|
|
|
|
|
|
|
|
@GetMapping("/getEquipmentTypeList")
|
|
|
|
|
|
|
|
public TableDataInfo getEquipmentTypeList(BaseEquipment baseEquipment) {
|
|
|
|
|
|
|
|
List<BaseEquipment> list = baseEquipmentService.getEquipmentTypeList(baseEquipment);
|
|
|
|
|
|
|
|
return getDataTable(list);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|