From 4ed47bfce9b3edd78ea447ecffc0babebdbea10b Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期二, 31 十二月 2024 14:14:12 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10105/r/YiWuProject
---
hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/controller/HollowBigStorageCageDetailsController.java | 34 ++++++++++++++++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/controller/HollowBigStorageCageDetailsController.java b/hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/controller/HollowBigStorageCageDetailsController.java
index 3d9218d..5742e75 100644
--- a/hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/controller/HollowBigStorageCageDetailsController.java
+++ b/hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/controller/HollowBigStorageCageDetailsController.java
@@ -1,9 +1,19 @@
package com.mes.hollow.controller;
+import com.mes.hollow.entity.HollowBigStorageCageDetails;
+import com.mes.hollow.entity.dto.HollowBigStorageAndDetailsDTO;
+import com.mes.hollow.service.HollowBigStorageCageDetailsService;
+import com.mes.utils.Result;
import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
+
+import java.util.List;
/**
* (HollowBigStorageCageDetails)琛ㄦ帶鍒跺眰
@@ -16,5 +26,29 @@
@RequestMapping("hollowBigStorageCageDetails")
public class HollowBigStorageCageDetailsController {
+ @Autowired
+ private HollowBigStorageCageDetailsService hollowBigStorageCageDetailsService;
+
+ @ApiOperation("鐞嗙墖绗艰鎯呮坊鍔�")
+ @PostMapping("/insertHollowBigStorageCageDetails")
+ public Result<List<HollowBigStorageAndDetailsDTO>> insertHollowBigStorageCageDetails(@RequestBody HollowBigStorageCageDetails details) {
+ hollowBigStorageCageDetailsService.insertHollowBigStorageCageDetails(details);
+ return Result.build(200, "娣诲姞鎴愬姛", null);
+ }
+
+ @ApiOperation("鐞嗙墖绗艰鎯呭垹闄�")
+ @PostMapping("/deleteHollowBigStorageCageDetails")
+ public Result<List<HollowBigStorageAndDetailsDTO>> deleteHollowBigStorageCageDetails(String glassId, Integer deviceId, Integer slot) {
+ hollowBigStorageCageDetailsService.deleteHollowBigStorageCageDetails(glassId, deviceId, slot);
+ return Result.build(200, "鍒犻櫎鎴愬姛", null);
+ }
+
+ @ApiOperation("鐞嗙墖绗肩鍐呯幓鐠冪牬鎹�0/鎷胯蛋1")
+ @PostMapping("/damageHollowBigStorageCageDetails")
+ public Result<List<HollowBigStorageAndDetailsDTO>> damageHollowBigStorageCageDetails(String glassId, Integer deviceId, Integer slot, int state) {
+ hollowBigStorageCageDetailsService.damageHollowBigStorageCageDetails(glassId, deviceId, slot, state);
+ return Result.build(200, "鐮存崯/鎷胯蛋鎴愬姛", null);
+ }
+
}
--
Gitblit v1.8.0