From af51ca8da452358fbff3d2a1af6bb3581551f456 Mon Sep 17 00:00:00 2001 From: liangzhou <594755172@qq.com> Date: Sun, 23 Feb 2025 08:04:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=B9=E9=87=8F=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi/web/controller/app/AppLocationController.java | 2 ++ .../src/main/resources/mapper/app/AppLocationMapper.xml | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/app/AppLocationController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/app/AppLocationController.java index 09f5b4dc..4f11ce5c 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/app/AppLocationController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/app/AppLocationController.java @@ -154,6 +154,7 @@ public class AppLocationController extends BaseController appLocation.setLocationType(1); // appLocation.setOuterId(""); // appLocation.setVehicleId(""); + appLocation.setIsWorking(0); newLocationListA.add(appLocation); } } @@ -194,6 +195,7 @@ public class AppLocationController extends BaseController appLocation.setIsLock(0); appLocation.setLocationStatus(0); appLocation.setLocationType(1); + appLocation.setIsWorking(0); newLocationListB.add(appLocation); } } diff --git a/ruoyi-system/src/main/resources/mapper/app/AppLocationMapper.xml b/ruoyi-system/src/main/resources/mapper/app/AppLocationMapper.xml index e48569dd..aed4b117 100644 --- a/ruoyi-system/src/main/resources/mapper/app/AppLocationMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/app/AppLocationMapper.xml @@ -104,10 +104,10 @@ - insert into app_location - + + insert into app_location ( - + location_id, location_type, location_status, @@ -127,7 +127,7 @@ ) values ( - + #{location.locationId}, #{location.locationType}, #{location.locationStatus},