From 5d103d166b79567d2c08ea2ffbe06706f912ced1 Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期三, 04 六月 2025 14:26:04 +0800
Subject: [PATCH] 编辑修改投入使用时间

---
 src/main/java/com/whyc/service/BattInfService.java |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/whyc/service/BattInfService.java b/src/main/java/com/whyc/service/BattInfService.java
index 9ce4310..74a6954 100644
--- a/src/main/java/com/whyc/service/BattInfService.java
+++ b/src/main/java/com/whyc/service/BattInfService.java
@@ -220,6 +220,9 @@
         if(pinf.getPowerType()!=null){
             wrapper2.set("power_type",pinf.getPowerType());
         }
+        if(pinf.getPowerInuseTime()!=null){
+            wrapper2.set("power_inuse_time",pinf.getPowerInuseTime());
+        }
         /*if(pinf.getPowerName()!=null){
             //妫�娴嬭鏈烘埧涓嬭淇敼鐨勭數婧愬悕鏄惁瀛樺湪
             QueryWrapper queryWrapper1=new QueryWrapper();
@@ -290,6 +293,9 @@
             if (binf.getBattModel() != null) {
                 wrapper4.set("batt_model", binf.getBattModel());
             }
+            if (binf.getInuseTime() != null) {
+                wrapper4.set("inuse_time", binf.getInuseTime());
+            }
             wrapper4.eq("battgroup_id", binf.getBattgroupId());
             mapper.update((BattInf) ActionUtil.objeNull,wrapper3);
             mapper.update((BattInf) ActionUtil.objeNull,wrapper4);

--
Gitblit v1.9.1