From 63447fec93e8e562833db30bc848884001b808c4 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期四, 28 十二月 2023 12:13:06 +0800
Subject: [PATCH] 修改

---
 core/src/main/resources/mapper/sys/SysOssConfigDao.xml |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/core/src/main/resources/mapper/sys/SysOssConfigDao.xml b/core/src/main/resources/mapper/sys/SysOssConfigDao.xml
index 322d7a1..49d7b36 100644
--- a/core/src/main/resources/mapper/sys/SysOssConfigDao.xml
+++ b/core/src/main/resources/mapper/sys/SysOssConfigDao.xml
@@ -6,7 +6,7 @@
 
     <select id="getList" resultType="com.zt.life.sys.model.SysOssConfig">
         select a.*
-        from SYS_OSS_CONFIG a
+        from sys_oss_config a
         <where>
             a.is_delete = 0
             <if test="whereSql!=null">
@@ -17,21 +17,21 @@
     </select>
     <select id="existsSameTypeAndFiledGroup" resultType="java.lang.Integer">
         SELECT
-        case when exists(select 1 FROM `sys_oss_config` where is_delete=0 and BUSI_FIELD_GROUP=#{busiFieldGroup} and BUSI_TYPE
+        case when exists(select 1 FROM `sys_oss_config` where is_delete=0 and busi_field_group=#{busiFieldGroup} and busi_type
         &lt;&gt; #{busiType}  and id  &lt;&gt; #{id})
         then 1
-        when exists(select 1 FROM `sys_oss_config` where is_delete=0 and BUSI_FIELD_GROUP=#{busiFieldGroup} and BUSI_TYPE = #{busiType} and id
+        when exists(select 1 FROM `sys_oss_config` where is_delete=0 and busi_field_group=#{busiFieldGroup} and busi_type = #{busiType} and id
          &lt;&gt; #{id})
         then 2
         else 0 end
     </select>
     <select id="existsSameGroupById" resultType="java.lang.Integer">
-        select count(1) FROM `sys_oss_config` where is_delete=0 and  BUSI_FIELD_GROUP = #{busiFiledGroup}
+        select count(1) FROM `sys_oss_config` where is_delete=0 and  busi_field_group = #{busiFiledGroup}
         <if test="id!=null">
             and busi_type &lt;&gt; #{id}
         </if>
     </select>
     <update id="updateByBusiType">
-        update  sys_oss_config set IS_DELETE=1,UPDATE_DATE = CURRENT_TIMESTAMP where BUSI_TYPE=#{busiType}
+        update  sys_oss_config set is_delete=1,update_date = CURRENT_TIMESTAMP where busi_type=#{busiType}
     </update>
 </mapper>

--
Gitblit v1.9.1