From c8332186836b3dfe1fbd32d7bec7cd29a57e1888 Mon Sep 17 00:00:00 2001
From: whycrzh <ruanzhigang@whycst.com>
Date: 星期四, 28 一月 2021 10:06:22 +0800
Subject: [PATCH] update swagger online API

---
 src/main/java/com/fgkj/controller/Batt_devalarm_data_historyController.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/fgkj/controller/Batt_devalarm_data_historyController.java b/src/main/java/com/fgkj/controller/Batt_devalarm_data_historyController.java
index 1bf244a..7a77196 100644
--- a/src/main/java/com/fgkj/controller/Batt_devalarm_data_historyController.java
+++ b/src/main/java/com/fgkj/controller/Batt_devalarm_data_historyController.java
@@ -7,6 +7,7 @@
 import com.fgkj.services.Batt_devalarm_data_historyService;
 import com.fgkj.util.ActionUtil;
 import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
 import org.springframework.web.bind.annotation.*;
 
 import javax.annotation.Resource;
@@ -14,7 +15,7 @@
 
 @RequestMapping("battDevAlarmDataHistory")
 @RestController
-@Api
+@Api(tags = "battDevAlarmDataHistory鎺ュ彛")
 public class Batt_devalarm_data_historyController{
 
 	@Resource
@@ -22,6 +23,7 @@
 
 	//3.4璁惧鍛婅鍘嗗彶璁板綍鏌ヨ
 	@GetMapping("byCondition")
+	@ApiOperation(notes = "",value="璁惧鍛婅鍘嗗彶璁板綍鏌ヨ")
 	public ServiceModel serchByCondition(@RequestBody Batt_Maint_Dealarm bmd) {
 		// Batt_Maint_Dealarm bmd = getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, Batt_Maint_Dealarm.class);
 		User_inf uinf=(User_inf) ActionUtil.getUser();
@@ -33,6 +35,7 @@
 
 	//3.4璁惧鍘嗗彶鍛婅(鍒犻櫎鍛婅)<澶氭暟鎹垹闄�>
 	@DeleteMapping("/")
+	@ApiOperation(notes = "",value="璁惧鍘嗗彶鍛婅(鍒犻櫎鍛婅)<澶氭暟鎹垹闄�>")
 	public ServiceModel deletePro(@RequestBody List<Batt_devalarm_data_history> list) {
 		// List<Batt_devalarm_data_history> list = getGson().fromJson(json,new TypeToken<List<Batt_devalarm_data_history>>(){}.getType());
 		ServiceModel model = service.deletePro(list);

--
Gitblit v1.9.1