From d82642e04f2dd9f2dc04dd7196a1e83fcfc95913 Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期二, 27 八月 2024 11:31:40 +0800
Subject: [PATCH] order status

---
 pms-parent/pms-global/src/main/resources/mapper/BaSysSetMapper.xml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pms-parent/pms-global/src/main/resources/mapper/BaSysSetMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/BaSysSetMapper.xml
index 6297087..2490834 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/BaSysSetMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/BaSysSetMapper.xml
@@ -27,18 +27,18 @@
     <!--@mbg.generated-->
     insert into ba_sys_set
     <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="id != null">
+      <if test="id != null and id !=''">
         id,
       </if>
-      <if test="sysName != null">
+      <if test="sysName != null and sysName !=''">
         sys_name,
       </if>
     </trim>
     <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="id != null">
+      <if test="id != null and id !=''">
         #{id},
       </if>
-      <if test="sysName != null">
+      <if test="sysName != null and sysName !=''">
         #{sysName},
       </if>
     </trim>

--
Gitblit v1.8.0