From 8000dd179e5a1eef3113cbd75dddb32bbb805d1c Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期二, 07 一月 2025 11:58:12 +0800
Subject: [PATCH] edit
---
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