From 5b207a55bdd10f1516031f629217daac069b64fd Mon Sep 17 00:00:00 2001
From: 刘小明 <liuxm_a@163.com>
Date: 星期五, 30 八月 2024 11:40:31 +0800
Subject: [PATCH] 添加免登录查询所有排班接口;

---
 pms-parent/pms-global/src/main/resources/mapper/OthFileMapper.xml |   36 ++++++++++++++++++------------------
 1 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/pms-parent/pms-global/src/main/resources/mapper/OthFileMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/OthFileMapper.xml
index 9442d62..894444d 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/OthFileMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/OthFileMapper.xml
@@ -45,22 +45,22 @@
       <if test="id != null">
         id,
       </if>
-      <if test="orgName != null">
+      <if test="orgName!= null and orgName !=''">
         org_name,
       </if>
-      <if test="extName != null">
+      <if test="extName!= null and extName !=''">
         ext_name,
       </if>
-      <if test="newName != null">
+      <if test="newName!= null and newName !=''">
         new_name,
       </if>
-      <if test="hash != null">
+      <if test="hash!= null">
         hash,
       </if>
-      <if test="filePath != null">
+      <if test="filePath!= null and filePath !=''">
         file_path,
       </if>
-      <if test="dt != null">
+      <if test="dt != null and dt !=''">
         dt,
       </if>
     </trim>
@@ -68,22 +68,22 @@
       <if test="id != null">
         #{id},
       </if>
-      <if test="orgName != null">
+      <if test="orgName!= null and orgName !=''">
         #{orgName},
       </if>
-      <if test="extName != null">
+      <if test="extName!= null and extName !=''">
         #{extName},
       </if>
-      <if test="newName != null">
+      <if test="newName!= null and newName !=''">
         #{newName},
       </if>
-      <if test="hash != null">
+      <if test="hash!= null">
         #{hash},
       </if>
-      <if test="filePath != null">
+      <if test="filePath!= null and filePath !=''">
         #{filePath},
       </if>
-      <if test="dt != null">
+      <if test="dt != null and dt !=''">
         #{dt},
       </if>
     </trim>
@@ -92,22 +92,22 @@
     <!--@mbg.generated-->
     update oth_file
     <set>
-      <if test="orgName != null">
+      <if test="orgName!= null and orgName !=''">
         org_name = #{orgName},
       </if>
-      <if test="extName != null">
+      <if test="extName!= null and extName !=''">
         ext_name = #{extName},
       </if>
-      <if test="newName != null">
+      <if test="newName!= null and newName !=''">
         new_name = #{newName},
       </if>
-      <if test="hash != null">
+      <if test="hash!= null">
         hash = #{hash},
       </if>
-      <if test="filePath != null">
+      <if test="filePath!= null and filePath !=''">
         file_path = #{filePath},
       </if>
-      <if test="dt != null">
+      <if test="dt != null and dt !=''">
         dt = #{dt},
       </if>
     </set>

--
Gitblit v1.8.0