diff --git a/mes/hd/nladmin-system/src/main/java/org/nl/wms/product_manage/controller/device/PdmBiDeviceController.java b/mes/hd/nladmin-system/src/main/java/org/nl/wms/product_manage/controller/device/PdmBiDeviceController.java
index decc1cc0..c9ca3d46 100644
--- a/mes/hd/nladmin-system/src/main/java/org/nl/wms/product_manage/controller/device/PdmBiDeviceController.java
+++ b/mes/hd/nladmin-system/src/main/java/org/nl/wms/product_manage/controller/device/PdmBiDeviceController.java
@@ -1,21 +1,97 @@
package org.nl.wms.product_manage.controller.device;
+import cn.hutool.core.date.DateUtil;
+import com.alibaba.fastjson.JSONObject;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import lombok.RequiredArgsConstructor;
+import lombok.extern.slf4j.Slf4j;
+import org.nl.common.anno.Log;
+import org.nl.common.utils.SecurityUtils;
+import org.nl.wms.product_manage.service.device.IPdmBiDeviceService;
+import org.nl.wms.product_manage.service.device.dao.PdmBiDevice;
+import org.nl.wms.product_manage.备份pdm.service.DeviceService;
+import org.nl.wms.product_manage.备份pdm.service.dto.DeviceDto;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.data.domain.Pageable;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.ResponseEntity;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
+import java.util.Map;
/**
- *
- * 生产设备基础信息表 前端控制器
- *
- *
- * @author generator
- * @since 2023-04-26
- */
+ * @author lyd
+ * @date 2023-03-15
+ **/
@RestController
-@RequestMapping("/pdmBiDevice")
+@Api(tags = "生产设备管理")
+@RequestMapping("/api/device")
+@Slf4j
public class PdmBiDeviceController {
+ @Autowired
+ private DeviceService deviceService;
+ @Autowired
+ private IPdmBiDeviceService iDeviceService;
+
+ @GetMapping
+ @Log("查询生产设备")
+ @ApiOperation("查询生产设备")
+ //@PreAuthorize("@el.check('device:list')")
+ public ResponseEntity