From e50d8c30b43dd30daa77da27101ce21d8ef2fcef Mon Sep 17 00:00:00 2001 From: whycxzp <glperry@163.com> Date: 星期一, 17 三月 2025 17:20:10 +0800 Subject: [PATCH] 锂电设备相关代码更新 --- src/main/java/com/whyc/controller/DevLithiumInfController.java | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/whyc/controller/DevInfController.java b/src/main/java/com/whyc/controller/DevLithiumInfController.java similarity index 86% rename from src/main/java/com/whyc/controller/DevInfController.java rename to src/main/java/com/whyc/controller/DevLithiumInfController.java index 6bba5f6..cbe9747 100644 --- a/src/main/java/com/whyc/controller/DevInfController.java +++ b/src/main/java/com/whyc/controller/DevLithiumInfController.java @@ -2,8 +2,8 @@ import com.whyc.dto.DevInfDto; import com.whyc.dto.Response; -import com.whyc.pojo.db_lithium_ram_db.DevInf; -import com.whyc.service.DevInfService; +import com.whyc.pojo.db_lithium_ram_db.DevLithiumInf; +import com.whyc.service.DevLithiumInfService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; @@ -13,17 +13,17 @@ import java.util.Map; @RestController -@Api(tags = "璁惧") +@Api(tags = "閿傜數璁惧淇℃伅") @RequestMapping("devInf") -public class DevInfController { +public class DevLithiumInfController { @Autowired - private DevInfService service; + private DevLithiumInfService service; @ApiOperation(value = "娣诲姞璁惧") @PostMapping("addDev") - public Response addDev(@RequestBody DevInf devInf){ + public Response addDev(@RequestBody DevLithiumInf devInf){ return service.addDev(devInf); } @@ -59,7 +59,7 @@ @ApiOperation(value = "缂栬緫璁惧淇℃伅") @PostMapping("updateInf") - public Response updateInf(@RequestBody DevInf dinf){ + public Response updateInf(@RequestBody DevLithiumInf dinf){ return service.updateInf(dinf); } -- Gitblit v1.9.1