From 99968f83982943669af3829ea6bc3bbe745cada4 Mon Sep 17 00:00:00 2001
From: zhangfeng <1603559716@qq.com>
Date: 星期一, 21 十一月 2022 08:41:48 +0800
Subject: [PATCH] 安全物资和设备管理相关rpc接口

---
 equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/controller/SafeMaterialDetailController.java |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/controller/SafeMaterialDetailController.java b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/controller/SafeMaterialDetailController.java
index 0250924..2f399c1 100644
--- a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/controller/SafeMaterialDetailController.java
+++ b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/controller/SafeMaterialDetailController.java
@@ -1,6 +1,7 @@
 package com.gkhy.safePlatform.equipment.controller;
 
 import com.alibaba.fastjson.JSONObject;
+import com.gkhy.safePlatform.commons.enums.ResultCodes;
 import com.gkhy.safePlatform.commons.query.PageQuery;
 import com.gkhy.safePlatform.commons.vo.ResultVO;
 import com.gkhy.safePlatform.commons.vo.SearchResultVO;
@@ -144,5 +145,23 @@
         Long id = jsonObject.getLong("id");
         return safeMaterialDetailService.queryById(id);
     }
-
+    /**
+     * 特殊作业批量出库接口
+     * @param authentication
+     * @return
+     */
+    @PostMapping(value = "/deliveryBatchSpw")
+    public ResultVO deliveryBatchSpw(Authentication authentication, @Validated @RequestBody MaterialSpwReq req){
+        safeMaterialDetailService.deliveryBatchSpw(req);
+        return new ResultVO<>(ResultCodes.OK);
+    }
+ /*   *//**
+     * 根据rfid获去数据
+     * @param authentication
+     * @return
+     *//*
+    @PostMapping(value = "/rfid/list")
+    public ResultVO getListByRfid(Authentication authentication, @RequestBody String[] rfids){
+        return new ResultVO(ResultCodes.OK,safeMaterialDetailService.getListByRfids(rfids));
+    }*/
 }

--
Gitblit v1.9.2