From e9a28062b899087b341514702efe370b3c6df3d4 Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期三, 16 十月 2024 17:22:02 +0800
Subject: [PATCH] statistic workload change

---
 pms-parent/pms-global/src/main/resources/mapper/OthFileMapper.xml |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 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 a29bce5..b0309e6 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/OthFileMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/OthFileMapper.xml
@@ -42,7 +42,7 @@
     <!--@mbg.generated-->
     insert into oth_file
     <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="id != null and id !=''">
+      <if test="id != null">
         id,
       </if>
       <if test="orgName!= null and orgName !=''">
@@ -54,18 +54,18 @@
       <if test="newName!= null and newName !=''">
         new_name,
       </if>
-      <if test="hash!= null and hash !=''">
+      <if test="hash!= null">
         hash,
       </if>
       <if test="filePath!= null and filePath !=''">
         file_path,
       </if>
-      <if test="dt != null and dt !=''">
+      <if test="dt != null">
         dt,
       </if>
     </trim>
     <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="id != null and id !=''">
+      <if test="id != null">
         #{id},
       </if>
       <if test="orgName!= null and orgName !=''">
@@ -77,13 +77,13 @@
       <if test="newName!= null and newName !=''">
         #{newName},
       </if>
-      <if test="hash!= null and hash !=''">
+      <if test="hash!= null">
         #{hash},
       </if>
       <if test="filePath!= null and filePath !=''">
         #{filePath},
       </if>
-      <if test="dt != null and dt !=''">
+      <if test="dt != null">
         #{dt},
       </if>
     </trim>
@@ -101,13 +101,13 @@
       <if test="newName!= null and newName !=''">
         new_name = #{newName},
       </if>
-      <if test="hash!= null and hash !=''">
+      <if test="hash!= null">
         hash = #{hash},
       </if>
       <if test="filePath!= null and filePath !=''">
         file_path = #{filePath},
       </if>
-      <if test="dt != null and dt !=''">
+      <if test="dt != null">
         dt = #{dt},
       </if>
     </set>

--
Gitblit v1.8.0